RE: html fragments

Subject: RE: html fragments
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 24 Jul 2000 09:34:35 +0100
> Can I do this?
> <xsl:template name="header">
> <html>
> <body>
> </xsl:template>
> <xsl:template name="footer">
> </body>
> </html>
> </xsl:template>
No way! XSLT is about generating trees, not about generating tags.
Generating an element such as a <body> element is an atomic operation, it
can't be split into two halves.

Mike Kay

 XSL-List info and archive:

Current Thread