Re: XT and SAXON treats //ccc and /descendant::ccc different
> By now I thought that //foo is an abbrev form of /descendant::foo > Am I missing something or is there some shared bug ? Thanks. The former. xpath spec says As in location paths, // is short for /descendant-or-self::node()/. > <xsl:value-of select="//ccc"/> gives no hit > <xsl:value-of select="/descendant::ccc"/> gives c22 and one assumes <xsl:value-of select="/descendant-or-self::node()/ccc"/> does the same as // "//ccc" selects ccc elements that are 5th ccc children of their parents. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format