ProcessingInstruction.namespaceURI as String
This is inherited from the XMLNode object.
Return the namespace URI of this node.const node = fn.head(xdmp.unquote( '<ns:parent xmlns:ns="/my/ns"><ns:child>content</ns:child></ns:parent>')).root; node.firstChild.namespaceURI; // Returns: '/my/ns'