MarkLogic 10 Product Documentation
XMLNode.localNameXMLNode.localName as String
Summary
Return the local name of this node.
Usage Notes
This property is defined for element and attribute nodes.
Example
const node = fn.head(xdmp.unquote(
'<ns:parent xmlns:ns="/my/ns"><ns:child>content</ns:child></ns:parent>')).root;
node.localName;
// returns 'parent'
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.