This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]