# XML.createElement()

#### Availability

Flash Player 5.

#### Usage

`my_xml``.createElement(``name``)`

#### Parameters

`name` The tag name of the XML element being created.

#### Returns

An XML element.

#### Description

Method; creates a new XML element with the name specified in the parameter. The new element initially has no parent, no children, and no siblings. 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.