Add text to an element
Void addDataAt( ElementTree parent, String cdata, Int index )
parent The parent element
cdata The text to add
index The index to add at
Adds the text to the specified position in the parent element. If the preceding block is also a text block, they will be merged.
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.
ElementTree.addElementAt (3kaya)
ElementTree.addGeneratorAt (3kaya)
ElementTree.pushData (3kaya)
ElementTree.unshiftData (3kaya)