Real solutions for your organization and end users built with best of breed offerings, configured to be flexible and scalable with you.
Software products and services for federal government, defense and public sector.
XMLNode.prefix as String
Return the namespace prefix of this node.
const node = fn.head(xdmp.unquote( '<ns:parent xmlns:ns="/my/ns"><ns:child>some content</ns:child></ns:parent>')) .root; node.firstChild.prefix // returns 'ns'
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.