io7m
io7m-jstructural 4.1.0
5.1
Overview
5.1.1
Namespace URI
1
All structural elements are in the http://schemas.io7m.com/structural/2.1.0 namespace.
5.1.2
Attributes
1
All elements may have the standard xml:lang and xml:base attributes.
2
The following elements may have a type attribute and an xml:id attribute:

- document
- formal-item
- image
- list-item
- list-ordered
- list-unordered
- paragraph
- part
- section
- subsection
- term
- verbatim

3
The contents of the type attribute are appended to the resulting CSS class attribute of the element in the XHTML output.
4
Elements with an xml:id attribute can be linked to using the link element.
5
When the XSLT stylesheet encounters an xml:id attribute on an element, it generates an XHTML anchor with an id attribute consisting of the original xml:id attribute contents prefixed with "ref_". This allows linking to specific elements in the resulting XHTML documents from external locations. As an example, given an element:

    <s:term s:type="something" xml:id="a_term">Hello</s:term>

The XHTML output will be similar to:

    <a id="ref_a_term"></a>
    <span class="st200_term something">Hello</span>

5.1.3
CSS
1
The XHTML elements resulting from each structural element are assigned specific CSS classes for easy styling of the output. The CSS classes are documented with each element.
5.1.4
Navigation Bar
1
A navigation bar is placed at the top and bottom each generated page.
2
For pages generated from section or part elements, the navigation bar contains links to the previous and next pages, and the enclosing section or part. The navigation bar also displays the titles of the destination pages above each link. For pages generated from document elements, only a link to the first section or part element is generated.
3
The navigation bar itself is assigned the CSS class st200_navbar in addition to the class st200_navbar_top or st200_navbar_bottom depending on where the bar in question appears on the page.
4
The bar is a table structure with each cell being assigned one of the following CSS classes:

- st200_navbar_prev_file_cell
- st200_navbar_up_file_cell
- st200_navbar_next_file_cell
- st200_navbar_prev_title_cell
- st200_navbar_up_title_cell
- st200_navbar_next_title_cell