This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: not wellformed contents of xsl:template
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] not wellformed contents of xsl:template
- From: "Oleg Tkachenko" <olegt at multiconn dot com>
- Date: Mon, 6 Aug 2001 23:10:43 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Lisa Rupe
> Sent: Monday, August 06, 2001 9:07 PM
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] 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