Re: Closing single tag problem.
"Gleb T." <bozman-Fs6u64wME+tWk0Htik3J/[email protected]> Thu, 21 May 2009 14:18:08 +0400
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
--000e0cd25b64dbbdb2046a6975ca Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Seems a bit outdated, because now it rewrites and auticloses the tag with XML and HTML settings as well.=EEow it's written in documentation: Defines the format of the template files. Recognised values are: 'HTML' - Alias for 'XHTML' 'XHTML' - Petal will use Petal::Parser to parse the template 'XML' - Petal will use Petal::Parser to parse the template It seems, that Petal use only Petal::Parser in any case. output =3D> 'HTML' | 'XHTML' | 'XML' (default: 'XML') Defines the format of the data generated as a result of processing the template files. Recognised values are: 'HTML' - Petal will output XHTML, self-closing certain tags 'XHTML' - Alias for 'HTML' 'XML' - Petal will output generic XML I tried to set both XML and HTML, no success. Maybe, there is another way t= o set up parser? 2009/5/21 Chris Croome <chris-u/[email protected]> > Hi > > On Thu 21-May-2009 at 12:43:20PM +0400, Gleb T. wrote: > > > > <atom:link.... something ...></atom:link> > > This issue came up with (X)HTML, see the thread: > > https://lists.webarch.co.uk/pipermail/petal/2002-August/000070.html > > I hope this helps... > > Chris > --=20 =EB=C1=D2=CD=C9=DE=C5=D3=CB=D5=C0 =DA=C1=D3=CC=D5=C7=D5, =D3=CF=DA=C4=C1=CE= =CE=D5=C0 =D0=CF=D3=D9=CC=CB=CF=CA =DC=D4=CF=C7=CF =D0=C9=D3=D8=CD=C1 =D1 = =D0=CF=D3=D7=D1=DD=C1=C0 =D7=D3=C5=CD =D6=C9=D7=D9=CD =D3=D5=DD=C5=D3=D4=D7=C1=CD =C2=CC=C9=D6=CE=C5=C7=CF =CB=CF=D3=CD=CF=D3=C1.= =E9 =CB=CF=D3=CD=CF=CE=C1=D7=D4=C1=CD. --000e0cd25b64dbbdb2046a6975ca Content-Type: text/html; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Seems a bit outdated, because now it rewrites and auticloses the tag with X= ML and HTML settings as well.<div>=EEow it's=9Awritten=9Ain documentati= on:</div><div><br></div><div><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; f= ont: 12.0px Lucida Grande"> Defines the format of the template files. Recognised values are:</p> <p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">= =9A 'HTML'=9A - Alias for 'XHTML'</p> <p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">= =9A 'XHTML' - Petal will use Petal::Parser to parse the template</p= > <p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">= =9A 'XML' =9A - Petal will use Petal::Parser to parse the template<= /p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"= ><br> </p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande= ">=9AIt seems, that Petal use only Petal::Parser in any case.</p><p style= =3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"><br></p> <p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">ou= tput =3D> 'HTML' | 'XHTML' | 'XML' (default: = 9;XML')</p><p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lu= cida Grande"> <br></p> <p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">De= fines the format of the data generated as a result of processing the templa= te files. Recognised values are:</p> <p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">= =9A 'HTML'=9A - Petal will output XHTML, self-closing certain tags= =9A</p> <p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">= =9A 'XHTML' - Alias for 'HTML'</p> <p style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">= =9A 'XML' =9A - Petal will output generic XML=9A</p><p style=3D"mar= gin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"><br></p><p style= =3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"> I=9Atried=9Ato set both XML and HTML, no success. Maybe, there is another w= ay to set up parser?</p></div><div><br><br><div class=3D"gmail_quote">2009/= 5/21 Chris Croome <span dir=3D"ltr"><<a href=3D"mailto:chris@webarchitec= ts.co.uk">chris-u/[email protected]</a>></span><br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Hi<br> <div class=3D"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> =9A<a href=3D"https://lists.webarch.co.uk/pipermail/petal/2002-August/0000= 70.html" target=3D"_blank">https://lists.webarch.co.uk/pipermail/petal/2002= -August/000070.html</a><br> <br> I hope this helps...<br> <font color=3D"#888888"><br> Chris<br> </font></blockquote></div><br><br clear=3D"all"><br>-- <br>=EB=C1=D2=CD=C9= =DE=C5=D3=CB=D5=C0 =DA=C1=D3=CC=D5=C7=D5, =D3=CF=DA=C4=C1=CE=CE=D5=C0 =D0= =CF=D3=D9=CC=CB=CF=CA =DC=D4=CF=C7=CF =D0=C9=D3=D8=CD=C1 =D1 =D0=CF=D3=D7= =D1=DD=C1=C0 =D7=D3=C5=CD =D6=C9=D7=D9=CD =D3=D5=DD=C5=D3=D4=D7=C1=CD =C2= =CC=C9=D6=CE=C5=C7=CF =CB=CF=D3=CD=CF=D3=C1. =E9 =CB=CF=D3=CD=CF=CE=C1=D7= =D4=C1=CD.<br> </div> --000e0cd25b64dbbdb2046a6975ca--