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.

NamedNodeMap

This is a scriptable interface corresponding to the nsIDOMNamedNodeMap XPCOM interface.

Properties

readonly int length


Methods

Node getNamedItem ( String name ) Node getNamedItemNS ( String namespaceURI , String localName ) Node item ( int index ) Node removeNamedItem ( String name ) Node removeNamedItemNS ( String namespaceURI , String localName ) Node setNamedItem ( Node arg ) Node setNamedItemNS ( Node arg )

Node getNamedItem ( String 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

Node getNamedItemNS ( String namespaceURI , String localName )

Arguments:
namespaceURI
localName

Node item ( int index )

Arguments:
index

Node removeNamedItem ( String name )

Arguments:
name

Node removeNamedItemNS ( String namespaceURI , String localName )

Arguments:
namespaceURI
localName

Node setNamedItem ( Node arg )

Arguments:
arg

Node setNamedItemNS ( Node arg )

Arguments:
arg

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com