PSML

A complete reference of PageSeeder's markup language PSML

<toc>

Summary

The <toc> element is used as a placeholder for the table of content.

It is used to indicate to a PSML processor where to generate the table of content for the document.

Usage context

Element categorystructure
PSML levelportable
Permitted contentnone *
Permitted parent<document>
HTML equivalentno equivalent
OpenXML equivalent
PSStandard equivalent<toc>

Note

* In PSML processed format, the content can be <toc-tree>.

Attributes

No attributes.

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">
   <xs:complexType/>
</xs:element>

Relax Schema

element toc {}

Compatibility

This element was introduced in the first draft of PSML and is well-supported from PageSeeder 5.1.

PS Standard XML

In PS Standard XML, the <toc> element was a child of <section> elements. It has been moved to <document> in PSML.

See also

Elements:

Created on , last edited on