addText

addText(data: String): JadeXMLText updating;

The addText method of the JadeXMLElement class creates and adds a text node with the value specified in the data parameter and returns a reference to the created JadeXMLText node instance.