Accessibility
 
Home > Products > Flash > Support > ActionScript Dictionary
Flash Icon Macromedia Flash Support Center - ActionScript dictionary
XML.hasChildNodes

Availability
Flash Player 5.

Usage

 myXML  .hasChildNodes() 

Parameters
None.

Returns
A Boolean value.

Description
Method; returns true if the specified XML object has child nodes; otherwise, returns false .

Example
The following example uses the information from the XML object in a user-defined function.

if (rootNode.hasChildNodes()) {
	myfunc (rootNode.firstChild);
}

To Table of Contents Back to Previous document Forward to next document