X-Z > XML.haschildNodes

XML.haschildNodes

Syntax

myXML.hasChildNodes();

Arguments

None.

Description

Method; evaluates the specified XML object and returns true if there are child nodes; otherwise, returns false.

Player

Flash 5 or later.

Example

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

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