Section 25.99. Element.getElementsByTagNameNS( ): return descendant elements with the specified name and namespace


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

namespaceURI

The URI that uniquely identifies the namespace of the element.


localName

The identifier that specifies the name of the element within its namespace.

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( )




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net