XML.childNodes

Availability

Flash Player 5.

Usage

my_xml.childNodes

Parameters

None.

Returns

An array.

Description

Property (read-only); an array of the specified XML object's children. Each element in the array is a reference to an XML object that represents a child node. This is a read-only property and cannot be used to manipulate child nodes. Use XML.appendChild(), XML.insertBefore(), and XML.removeNode() to manipulate child nodes.

This property is undefined for text nodes (nodeType == 3).

See also

XML.nodeType