Skip to main content

 PSML

A complete reference of PageSeeder's markup language PSML

Universal Processed Format

Universal Processed Format is the result of processing Universal Portable Format, in the following ways:

  • Stripping metadata
  • Processing XRefs
  • Generating numbering
  • Processing image references
  • Custom pre/post formatting

Processing

The processing is not isomorphic (i.e. after processing it might not be possible to reverse the transformation to produce the original source)

Universal Process Format

It is not possible to import or upload the processed format into PageSeeder.

PageSeeder provides the Task process to generate the processed format from the portable format.

Difference with portable format

It has the same file structure and PSML as the Universal Portable Format, except for the following:

  • Attribute @level="portable"must be changed to @level="processed" in all PSML documents, @level="metadata" remains unchanged.
  • Processed <xref> and <blockxref> can contain <document>, <locator>,<fragment>, <media-pragment>, <xref-fragment> or <properties-fragment> elements.
  • If generating table of contents:
    • The top <toc> element contains content for all <heading> elements in the processed document (including embedded or transcluded content), for example:
      <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>
      
    • <heading> elements have an @id="[x]-[x]-[x]-[x]" attribute.
Created on , last edited on