XMLNode.localName as String
Return the local name of this node.
const node = fn.head(xdmp.unquote( '<ns:parent xmlns:ns="/my/ns"><ns:child>content</ns:child></ns:parent>')).root; node.localName; // returns 'parent'
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.