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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com