Element.hasAttributeNS( uri as String?, localname as String ) as Boolean
Whether this element has an attribute the given localname and namespace URI.
Parameters | |
---|---|
uri | Namespace URI of the attribute. |
localname | Local name of the attribute. |
cts.doc("example.xml").getElementById("ex1"). hasAttributeNS("http://www.w3.org/XML/1998/namespace","lang");