This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: html fragments
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: html fragments
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 24 Jul 2000 09:34:35 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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: http://www.mulberrytech.com/xsl/xsl-list