Not in a single XPath expression but what about writing a recursive function that takes the sequence and inspects the depth through the ancestor axis for every node? — Martin Probst EMC xDB developer Am 22.10.2010 um 15:20 schrieb trubliphone : Hello. I have an XML structure like this: I have some XPath to get the name of all children: “//child/@name” This returns the sequence “1.1, 1.1.1 , 1.1.2, 1.2″
Here is the original post:
query to return value _and_ depth
