Re: Transitive closure for XPath
Christian Nentwich wrote: > > I think this calls for new syntax, either a new keyword or operator. > [...] > From a logical point of view, perhaps a new axis (e.g. > /root/node/closure::id(./@child)) would make sense, It wouldn't work as an axis either; axis names have to be followed by a node test and optional predicates, so again there's nowhere to put the starting set (first parameter) or iteration expression (second parameter). > but a new function is > a lot easier to implement.. This depends on the host XSLT engine I imagine... Do other engines use call-by-name internally? --Joe English jenglish@f...
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