X-Z > XML.createTextNode

XML.createTextNode

Syntax

myXML.createTextNode(text);

Arguments

text The text used to create the new text node.

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. 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.

Player

Flash 5 or later.