HTMLDocument.appendInlineElement3kaya
Append an inline element
Usage
ElementTree appendInlineElement( ElementTree block, InlineElement inline, String initialtext )
Arguments
block The element to add to
inline The inline element to add
initialtext The initial text content of the inline element
Overview
Adds a new inline element containing some text to the end of a block.
-
p = addParagraph(parent,"This is ");
em = appendInlineElement(p,Emphasis,"important");
// <p>This is <em>important</em></p>
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.