Seems a bit outdated, because now it rewrites and auticloses the tag with XML and HTML settings as well.<div>Нow it'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"> 'HTML' - Alias for 'XHTML'</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"> 'XHTML' - 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"> 'XML' - 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 => 'HTML' | 'XHTML' | 'XML' (default: '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">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"> 'HTML' - 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"> 'XHTML' - Alias for 'HTML'</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"> 'XML' - 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"><<a href="mailto:chris@webarchitects.co.uk">chris@webarchitects.co.uk</a>></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>
><br>
> <atom:link.... something ...></atom:link><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>