Section 25.96. Element.getAttributeNodeNS( ): return the Attr node for an attribute with a namespace


25.96. Element.getAttributeNodeNS( ): return the Attr node for an attribute with a namespace

DOM Level 2 Core:

25.96.1. Synopsis

 Attr getAttributeNodeNS(String namespaceURI,                         String localName); 

25.96.1.1. Arguments

namespaceURI

The URI that uniquely identifies the namespace of this attribute, or null for no namespace.


localName

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

25.96.1.2. Returns

The Attr node that represents the value of the specified attribute, or null if this element has no such attribute.

25.96.2. Description

This method works like getAttributeNode( ), except that the attribute is specified by the 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.96.3. See Also

Element.getAttributeNode( ), Element.getAttributeNS( )




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