SYNOPSIS

Void addDataAt( ElementTree parent, String cdata, Int index )

ARGUMENTS

parent The parent element

cdata The text to add

index The index to add at

DESCRIPTION

Adds the text to the specified position in the parent element. If the preceding block is also a text block, they will be merged.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/

LICENSE

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.

RELATED

ElementTree.addElementAt (3kaya)

ElementTree.addGeneratorAt (3kaya)

ElementTree.pushData (3kaya)

ElementTree.unshiftData (3kaya)