Am 13.05.2022 um 15:08 schrieb Markus Elfring:

Can such an XQuery script variant be adapted also for the handling of items
from a subtree instead of the shown number array?


Can you show us the input structure? A sequence of arrays with a string
literal as the first array item but an element or document node as the
second array item?

I don't see any problem using e.g.


$values := ?2//foo/data() return $values !

instead of

$values := ?2?* return $values !

Reply via email to