summaryrefslogtreecommitdiff
path: root/tests/REC/test-5.2-22.xsl
blob: 5c1f1f7ede843d5854781d3f2f076bdd470aec31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:template match="doc">
        <xsl:copy>
            <xsl:apply-templates select="*"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template match="doc[last()][last()]/elem">
        <xsl:text>success</xsl:text>
    </xsl:template>

</xsl:stylesheet>