blob: 9fe7f56fac93334a9a3eec496a4f62361bb69cb1 [file] [log] [blame]
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- FileName: conflictres28 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 5.5 -->
<!-- Creator: Santiago Pericas-Geertsen -->
<!-- Purpose: Test explicit priority for "node()", higher than default of -0.5 -->
<xsl:output method="xml" indent="no" encoding="UTF-8"/>
<xsl:template match="/">
<out>
<xsl:apply-templates/>
</out>
</xsl:template>
<xsl:template match="a">
<xsl:text>a: </xsl:text>
</xsl:template>
<xsl:template match="node()" priority="0.1">
<xsl:text>Matched node() on </xsl:text>
<xsl:value-of select="name(.)"/>
<xsl:text>;&#10;</xsl:text>
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>