nsIDOMNodeList

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

Properties

readonly PRUint32 length


Methods

nsIDOMNode item ( PRUint32 index )

nsIDOMNode item ( PRUint32 index )

The nsIDOMNodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. The items in the list are accessible via an integral index, starting from 0.

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

Arguments:
index

References

This interface is the type of the following properties:

nsIDOMNode.childNodes, nsIDOMXULMultiSelectControlElement.selectedItems

This interface is returned from the following methods:

nsIDOMDocument.getElementsByTagName, nsIDOMDocument.getElementsByTagNameNS, nsIDOMDocumentXBL.getAnonymousNodes, nsIDOMElement.getElementsByTagName, nsIDOMElement.getElementsByTagNameNS, nsIDOMHTMLDocument.getElementsByName, nsIDOMSVGSVGElement.getEnclosureList, nsIDOMSVGSVGElement.getIntersectionList, nsIDOMXULDocument.getElementsByAttribute, nsIDOMXULElement.getElementsByAttribute

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com