Subject: RE: [xsl] xslt performance issue position() function used in predicate very slow From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sat, 26 Aug 2006 18:58:22 +0100 |
> When is the context item not redundant in a path expression? > Some examples: > > ./a/b/c > a/b/c/. > a/b/./c > a/b/././c > It's redundant in all those cases. It's not redundant in: ./(a,b) (:because it causes sorting into document order:) .[@a]/@b a/.[1]/b (:useless; but not the same as a[1]/b :) It's hard to come up with an XPath 1.0 example, though. Other than "." on its own, which is technically a path expression (but then so is "3"). Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xslt performance issue po, Florent Georges | Thread | Re: [xsl] xslt performance issue po, Florent Georges |
Re: [xsl] make recursive call, Mukul Gandhi | Date | Re: [xsl] xslt performance issue po, Florent Georges |
Month |