Seems a bit outdated, because now it rewrites and auticloses the tag with XML and HTML settings as well.<div>Нow it&#39;s written in documentation:</div><div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">
Defines the format of the template files. Recognised values are:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">  &#39;HTML&#39;  - Alias for &#39;XHTML&#39;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">  &#39;XHTML&#39; - Petal will use Petal::Parser to parse the template</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">  &#39;XML&#39;   - Petal will use Petal::Parser to parse the template</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"><br>
</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"> It seems, that Petal use only Petal::Parser in any case.</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">output =&gt; &#39;HTML&#39; | &#39;XHTML&#39; | &#39;XML&#39; (default: &#39;XML&#39;)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">
<br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">Defines the format of the data generated as a result of processing the template files. Recognised values are:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">  &#39;HTML&#39;  - Petal will output XHTML, self-closing certain tags </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">  &#39;XHTML&#39; - Alias for &#39;HTML&#39;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">  &#39;XML&#39;   - Petal will output generic XML </p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">
I tried to set both XML and HTML, no success. Maybe, there is another way to set up parser?</p></div><div><br><br><div class="gmail_quote">2009/5/21 Chris Croome <span dir="ltr">&lt;<a href="mailto:chris@webarchitects.co.uk">chris@webarchitects.co.uk</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi<br>
<div class="im"><br>
On Thu 21-May-2009 at 12:43:20PM +0400, Gleb T. wrote:<br>
&gt;<br>
&gt; &lt;atom:link.... something ...&gt;&lt;/atom:link&gt;<br>
<br>
</div>This issue came up with (X)HTML, see the thread:<br>
<br>
  <a href="https://lists.webarch.co.uk/pipermail/petal/2002-August/000070.html" target="_blank">https://lists.webarch.co.uk/pipermail/petal/2002-August/000070.html</a><br>
<br>
I hope this helps...<br>
<font color="#888888"><br>
Chris<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Кармическую заслугу, созданную посылкой этого письма я посвящаю всем живым существам ближнего космоса. И космонавтам.<br>
</div>