Hi,
I do not fully understand. XQuery is not about parsing but it
involves parsing of the XML it works upon. In the example you
provide elements ‘a’ may contain other ‘a’ elements. You can,
for example, search for any a’s via ‘input()//a’. What however
is impossible without a user-defined recursive function is
to lateron find out on which level the current ‘a’ element
actually is located.
Regards,
Juliane.
#webMethods#API-Management#Tamino