On 22.03.2022 21:48, Patrick Durusau wrote:
I'm anticipating incorporation of JSON sources with anonymous nodes and if they all appear with the element name _, how do I distinguish one from another, structurally speaking?
Are you not able to use XPath/XQuery 3.1 map/array lookup operators directly on your JSON e.g.
?parties[exists(?*[?name = 'name1' and ?role = 'CN'])]