
Element.getAttributeNodeNS( uri as String?, localname as String ) as Attr
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. |
cts.doc("example.xml").getElementById("ex1").
getAttributeNodeNS("http://www.w3.org/XML/1998/namespace","lang").isSpecified
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.