summaryrefslogtreecommitdiff
path: root/tests/REC/test-6.1.xsl
blob: 1be9d973aababf1ef7bafc601d94160e247877d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- reject this XSLT named templates should have unique template name + nameURI combinations -->

<xsl:template match="doc">
    <xsl:call-template name="duplicateTemplateName"/>
</xsl:template>
<xsl:template name="duplicateTemplateName">
<xsl:text>XSLT should be rejected</xsl:text>
</xsl:template>
<xsl:template name="duplicateTemplateName">
<xsl:text>XSLT should be rejected</xsl:text>
</xsl:template>
</xsl:stylesheet>