WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDOMNamedNodeMap

IID:a6cf907b-15b3-11d2-932e-00805f8add32
Inherits From:nsISupports

Properties

readonly PRUint32 length


Methods

nsIDOMNode getNamedItem ( DOMString name ) nsIDOMNode getNamedItemNS ( DOMString namespaceURI , DOMString localName ) nsIDOMNode item ( PRUint32 index ) nsIDOMNode removeNamedItem ( DOMString name ) nsIDOMNode removeNamedItemNS ( DOMString namespaceURI , DOMString localName ) nsIDOMNode setNamedItem ( nsIDOMNode arg ) nsIDOMNode setNamedItemNS ( nsIDOMNode arg )

nsIDOMNode getNamedItem ( DOMString name )

Objects implementing the nsIDOMNamedNodeMap interface are used to represent collections of nodes that can be accessed by name.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Core/

Arguments:
name

nsIDOMNode getNamedItemNS ( DOMString namespaceURI , DOMString localName )

Arguments:
namespaceURI
localName

nsIDOMNode item ( PRUint32 index )

Arguments:
index

nsIDOMNode removeNamedItem ( DOMString name )

Arguments:
name

nsIDOMNode removeNamedItemNS ( DOMString namespaceURI , DOMString localName )

Arguments:
namespaceURI
localName

nsIDOMNode setNamedItem ( nsIDOMNode arg )

Arguments:
arg

nsIDOMNode setNamedItemNS ( nsIDOMNode arg )

Arguments:
arg

References

This interface is the type of the following properties:

nsIDOMDocumentType.entities, nsIDOMDocumentType.notations, nsIDOMNode.attributes

Reference documentation is generated from Mozilla's source.