X-Z > XML.createElement

XML.createElement

Syntax

myXML.createElement(name);

Arguments

name The tag name of the XML element being created.

Description

Method; creates a new XML element with the name specified in the argument. The new element initially has no parent and no children. The method returns a reference to the newly created XML object representing the element. This method and createTextNode are the constructor methods for creating nodes for an XML object.

Player

Flash 5 or later.