xsl-list
[Top] [All Lists]

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

2008-02-15 10:13:17
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--