Subject: RE: not wellformed contents of xsl:template
From: "Oleg Tkachenko" <olegt@xxxxxxxxxxxxx>
Date: Mon, 6 Aug 2001 23:10:43 +0200
|
Hello Lisa !
Yes, you can do it by CDATA sections, but I believe it's not good to operate on tag level in xslt at all.
xslt processor doesn't generate </blabla> tags, it outputs nodes to result tree.
---
Oleg Tkachenko,
Multiconn International
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Lisa Rupe
> Sent: Monday, August 06, 2001 9:07 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: not wellformed contents of xsl:template
>
>
>
> Is it possible to put HTML tags that are not well-formed into
> xsl:template?
> I would like to be able to end a table, insert a new table, then restart
> the first table--
>
> <xsl:template match='line'>
> </td><td width="2%"></td></tr></table>
> <table border='{$table-border}' width='{$table-width}%' cellpadding="4
> ">
> <xsl:call-template name='line'/>
> </table>
> <table width="100%" cellpadding="4" border="0"><td width="2%"></td><td
> width="96%">
> </xsl:template>
>
> I tried using variables for the end and start fragments, but had lots of
> trouble with the '<' in whatever I tried to do.
>
> Thanks,
> Lisa
>
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|