io7m
io7m-jstructural 4.2.0
5.3
document-contents
5.3.1
Description
1
The document-contents element specifies that a table of contents should be generated for the given document.
2
Iff the document in question contains part elements, subsection elements are omitted from the list.
5.3.2
Processing
1
The table of contents appears at the start of the parent document and contains references to all the children of that element.
5.3.3
CSS
1
In addition to any classes specified by the type attribute, the main XHTML structure is assigned the class st200_document_contents in addition to st200_contents.
2
Each element of the list is assigned the class st200_contents_item in addition to one of st200_contents_item1, st200_contents_item2 or st200_contents_item3 depending on the depth of the item in the list.
3
All part and section elements appearing in the list are assigned the classes st200_contents_part and st200_contents_section, respectively.