Hello @nto,
I suspect that the namespace declaration is missing in the Query Prolog of the XQuery expression.
Add something like this as the first line of the XQuery:
declare namespace tns="urn:ietf:params:xml:ns:cpim-pidf"
I hope that helps,
Trevor.
#API-Management#webMethods#Tamino