JavaScript: The Definitive Guide
25.99. Element.getElementsByTagNameNS( ): return descendant elements with the specified name and namespace
DOM Level 2 Core:
25.99.1. Synopsis
Node[] getElementsByTagNameNS(String namespaceURI, String localName);
25.99.1.1. Arguments
25.99.1.2. Returns
A read-only array (technically, a NodeList) of Element objects that are descendants of this element and have the specified name and namespace. 25.99.2. Description
This method works like getElementsByTagName( ), except that the tag name of the desired elements is specified as a combination of a namespace URI and a local name defined within that namespace. This method is useful only with XML documents that use namespaces. 25.99.3. See Also
Document.getElementsByTagNameNS( ), Element.getElementsByTagName( ) |
Категории