1HTMLDocument.addString(3kaya)Kaya module referenceHTMLDocument.addString(3kaya)
2
3
4
6 HTMLDocument::addString - Append text to an element
7
9 Void addString( ElementTree block, String text )
10
12 block The element to add text to
13
14 text The text to add
15
17 Append text directly to an element.
18
19
20 p = addParagraph(p,"This is a ");
21 addString(p,"paragraph.");
22 // <p>This is a paragraph.</p>
23
25 Kaya standard library by Edwin Brady, Chris Morris and others
26 (kaya@kayalang.org). For further information see http://kayalang.org/
27
29 The Kaya standard library is free software; you can redistribute it
30 and/or modify it under the terms of the GNU Lesser General Public
31 License (version 2.1 or any later version) as published by the Free
32 Software Foundation.
33
35 HTMLDocument.appendInlineElement (3kaya) is used to add text within a
36 containing element.
37
38
39
40Kaya December 2010 HTMLDocument.addString(3kaya)