summaryrefslogtreecommitdiff
path: root/tests/auto/xmlpatterns/stylesheets/namedAndRootTemplate.xsl
blob: 3e8f93d245608f6297baf12b6f15c5b62aeb3335 (plain)
1
2
3
4
5
<xsl:stylesheet xmlns:ex="http://example.com/NS" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
    <xsl:template match="/">root-template</xsl:template>
    <xsl:template name="main">named-template</xsl:template>
    <xsl:template name="ex:main">namespaced-template</xsl:template>
</xsl:stylesheet>