This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XT and SAXON treats //ccc and /descendant::ccc differently
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: XT and SAXON treats //ccc and /descendant::ccc differently
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 26 May 2000 10:04:10 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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