
NamedNodeMap.getNamedItemNS( uri as String?, localname as String ) as XMLNode
Return the node with the given localname and namespace URI, if it exists in the map.
| Parameters | |
|---|---|
| uri | Namespace URI of the node to return. |
| localname | Local name of the node to return. |
If the first argument is null, it will match a node with no namespace.
cts.doc("example.xml").root.
attributes.getNamedItemNS("http://www.w3.org/XML/1998/namespace","lang");
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.