Append text to an element
Void addString( ElementTree block, String text )
block The element to add text to
text The text to add
Append text directly to an element.
p = addParagraph(p,"This is a "); addString(p,"paragraph."); // <p>This is a paragraph.</p>
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.
HTMLDocument.appendInlineElement (3kaya) is used to add text within a containing element.