> > Perhaps you want > > string-join(for $n in ancestor-or-self::* return ('/', name($n), '[', > string(count($n/preceding-sibling::*[name()=name($n)])+1), ']'), '') > > (this is an extension of the [fixed] string-join example in the > Functions and Operators specification) > We didn't put that one in because the preceding-sibling axis wasn't available in XQuery. But we're getting there slowly, it is now an optional feature. Michael KayReceived on Friday, 26 September 2003 10:01:27 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:49 UTC