Re: [xsl] Difference in priority of node() and *

Subject: Re: [xsl] Difference in priority of node() and *
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 15 Feb 2008 18:12:51 +0100
Mukul Gandhi wrote:

I am curious, why these two templates rules are ambiguous. The XSLT
2.0 spec says, "In many cases this means that highly selective
patterns have higher priority than less selective patterns."

Well see <URL:http://www.w3.org/TR/xslt20/#conflict>, the priority for '*' is -0.5, and for any other node test like 'node()' it is -0.5 too.


--

	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread