tests/auto/xmlpatterns/stylesheets/namedAndRootTemplate.xsl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 21:20:32 +0300
changeset 34 a33bf25e6f72
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201033 Kit: 201035

<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>