RE: [xsl] Problem using Position() in .NET environment.

Subject: RE: [xsl] Problem using Position() in .NET environment.
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 15 Oct 2004 09:40:20 +0100
> 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

Current Thread