Loading TOC...

NamedNodeMap.getNamedItemNS

NamedNodeMap.getNamedItemNS(
   $uri as String?,
   $localname as String
) as XMLNode

Summary

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.

Usage Notes

If the first argument is null, it will match a node with no namespace.

Example

cts.doc("example.xml").root.
   attributes.getNamedItemNS("http://www.w3.org/XML/1998/namespace","lang");

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy