xsl-list
[Top] [All Lists]

RE: Problem using Position() in .NET environment.

2004-10-15 01:40:20

XPath 2.0 has some new rules, but I don't think it should affect this.


In XSLT 2.0 the pattern "x" will match any element named x, while //x will
match any element named x provided that the root of the tree containing the
x element is a document node. This definitely makes //x less efficient,
since you have to find out what kind of node you have at the top of the
tree.

(Saxon doesn't yet implement this distinction).

Michael Kay



<Prev in Thread] Current Thread [Next in Thread>