RE: XT and SAXON treats //ccc and /descendant::ccc differently

Subject: RE: XT and SAXON treats //ccc and /descendant::ccc differently
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 26 May 2000 10:04:10 +0100
> By now I thought that //foo is an abbrev form of /descendant::foo

No, it's an abbreviation for /descendant-or-self::node()/foo

See XPath section 2.5, the paragraphs above production rule 10, which
explain why numeric predicates in this case behave the way they do.

Mike K


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread