Loading TOC...

Element.getAttributeNodeNS

Element.getAttributeNodeNS(
   $uri as String?,
   $localname as String
) as Attr

Summary

Get the attribute of this element with the given localname and namespace URI, if any.

Parameters
$uri Namespace URI of the attribute.
$localname Local name of the attribute.

Example

cts.doc("example.xml").getElementById("ex1").
  getAttributeNodeNS("http://www.w3.org/XML/1998/namespace","lang").isSpecified

Comments

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