768 Chapter 12: ActionScript Dictionary
XML.parentNode
Availability
Flash Player 5.
Usage
my_xml.parentNode
Description
Property (read-only); references the parent node of the specified XML object, or returns null if
the node has no parent. This is a read-only property and cannot be used to manipulate child
nodes; use
appendChild(), insertBefore(), and removeNode() to manipulate children.
XML.parseXML()
Availability
Flash Player 5.
Usage
my_xml.parseXML(source)
Parameters
source
The XML text to be parsed and passed to the specified XML object.
Returns
Nothing.
Description
Method; parses the XML text specified in the source parameter, and populates the specified
XML object with the resulting XML tree. Any existing trees in the XML object are discarded.
XML.previousSibling
Availability
Flash Player 5.
Usage
my_xml.previousSibling
Description
Property (read-only); returns a reference to the previous sibling in the parent node’s child list. The
property has a value of
null if the node does not have a previous sibling 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.