Append an existing element
Void appendExisting( ElementTree dest, ElementTree block )
dest The element to add to
block The element to append
Append an existing element as the final child of the specified element.
p = addParagraph(parent,"Hello world!"); // is equivalent to p = addParagraph(anonymousBlock(),"Hello world!"); appendExisting(parent,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.anonymousBlock (3kaya)
HTMLDocument.appendGenerator (3kaya)
HTMLDocument.prependExisting (3kaya)