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

<xsl:output method = "text" /> 

<xsl:template match = "/" > 
        <xsl:apply-templates select = "//BBB" /> 
</xsl:template> 

<xsl:template match = "BBB" > 
        <xsl:text>
         BBB[</xsl:text> 
                                                                                   
<xsl:value-of select = "position()" /> 
                                                                                   
<xsl:text >]: </xsl:text> 
                                                                                   
<xsl:value-of select = "." /> 
</xsl:template> 

</xsl:stylesheet>