tests/auto/xmlpatterns/stylesheets/namedAndRootTemplate.xsl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 15:50:13 +0300
changeset 18 2f34d5167611
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201011 Kit: 201015

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