summaryrefslogtreecommitdiff
path: root/tests/general/bug-14-.xsl
blob: abfb401ee50b1ade00d3fffd0fe46e88d16250cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version= "1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match = "/" > 
        <xsl:apply-templates select="//processing-instruction()"/> 
        <xsl:apply-templates select="//comment()"/> 
        <!-- xsl:apply-templates/--> 
</xsl:template> 

<xsl:template match = "processing-instruction()" > 
        <xsl:value-of select = "concat(name(),' : ',.)" /> 
</xsl:template> 

<xsl:template match = "comment()" > 
        <xsl:text>#########################
        </xsl:text> 
                <xsl:value-of select = "." /> 
        <xsl:text>
#########################</xsl:text> 
</xsl:template> 

</xsl:stylesheet>