addTextObject

addTextObject(text: JadeXMLText;
              data: String): JadeXMLText updating;

The addTextObject method of the JadeXMLElement class adds a text object with the value specified in the data parameter and returns a reference to the added JadeXMLText object instance.