SYNOPSIS

ElementTree addHeading( ElementTree parent, Int headinglevel, String initialtext=createString(0) )

ARGUMENTS

parent The parent element

headinglevel The level of heading (1-6)

initialtext Optionally, any initial text the element should contain

DESCRIPTION

Add a heading to the end of the specified element. Heading levels go from 1 to 6, and form a document outline - there should generally be one level 1 heading in the document, with level 2 headings below that, level 3 headings below the level 2 headings, and so on. In practice, headings less important than level 4 are very rarely used.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/

LICENSE

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.