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.

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, nsIDOMNSDocument.getElementsByClassName, nsIDOMNSElement.getElementsByClassName, nsIDOMSVGSVGElement.getEnclosureList, nsIDOMSVGSVGElement.getIntersectionList, nsIDOMXULDocument.getElementsByAttribute, nsIDOMXULDocument.getElementsByAttributeNS, nsIDOMXULElement.getElementsByAttribute, nsIDOMXULElement.getElementsByAttributeNS

Reference documentation is generated from Mozilla's source.