xmlpatterns issues or lack of understanding XQuery?

Printable View