XML.createTextNode()

Availability

Flash Player 5.

Usage

my_xml.createTextNode(text)

Parameters

text The text used to create the new text node.

Returns

Nothing.

Description

Method; creates a new XML text node with the specified text. The new node initially has no parent, and text nodes cannot have children or siblings. This method returns a reference to the XML object representing the new text node. This method and createElement() are the constructor methods for creating nodes for an XML object.