io7m
io7m-jstructural 2.0.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.
2
Each element of the list is assigned the class st200_document_contents_item in addition to one of st200_document_contents_item1, st200_document_contents_item2 or st200_document_contents_item3 depending on the depth of the item in the list.
3
The root document element of the list is assigned the class st200_document_contents_document and all part and section elements appearing in the list are assigned the classes st200_document_contents_part and st200_document_contents_section, respectively.