PSML

A complete reference of PageSeeder's markup language PSML

<toc-tree>

Summary

Generated table of contents.

Introduced in v0.12 of the PSML schema, in PageSeeder v5.96.

Usage context

Element category
PSML levelprocessed
Permitted content<toc-part>
Permitted parent<toc>
HTML equivalentno equivalent
OpenXML equivalentno equivalent
PSStandard equivalentno equivalent

Attributes

This element does not have any attribute.

Examples

<toc>
  <toc-tree title="Specification">
              <toc-part level="1"
             title="Introduction" 
                idref="123-1-1-1">

              <toc-part level="2"
                 title="Overview"
                idref="123-1-2-1"
                      prefix="1."
                 canonical="0.1." />
                     </toc-part>
                 </toc-tree>
              </toc>

Schema

XML Schema

     <xs:element name="toc-tree">
 <xs:complexType>
    <xs:sequence>
      <xs:element ref="toc-part"
           maxOccurs="unbounded"/>
    </xs:sequence>
 </xs:complexType>
</xs:element>

Relax Schema

element toc-tree {
   element toc-part+
}

Compatibility

This element was introduced in the beat 12 of PSML and is supported from PageSeeder 5.96.

See also

Created on , last edited on