ElementTree appendInlineElement(ElementTree block, InlineElement inline, String initialtext)
Arguments
block: The element to add toinline: The inline element to addinitialtext: The initial text content of the inline element
Usage
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>