tests/auto/xmlpatterns/stylesheets/namedAndRootTemplate.xsl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 00:43:10 +0200
changeset 3 41300fa6a67c
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201003 Kit: 201005

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