This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: html fragments


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]