2
<xsl:stylesheet version="1.0"
3
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5
<!-- test a stylesheet that generates a document fragment -->
7
<xsl:template match="/">
8
<element1>some data and <content/> for a test</element1>
9
<element2>Remember, the XSLT processor is going to strip out the literal white space</element2>
10
<element3>some data and <content/> for a <!--test--></element3>
12
<xsl:comment>test</xsl:comment>
13
<xsl:processing-instruction name="test">PIs are not treated as literals in XSLT?</xsl:processing-instruction>