Element.getElementsByTagNameNS( uri as String?, localname as String ) as NodeList
Return all the elements that are descendants of the current element that have the given localname and namespace URI.
Parameters | |
---|---|
uri | Namespace URI of the elements to return. |
localname | Local name of the elements to return. |
If the first argument is null, it will match elements with no namespace.
See also the Node.xpath method.
cts.doc("example.xml").root. getElementsByTagNameNS("http://example.com/ns1","item");