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 may not be possible to reverse the transformation to produce the original source)

Universal Process Format

Note

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"should be changed to @level="processed" in all PSML documents, @level="metadata" remains unchanged.
  • Processed <xref> and <blockxref> may contain <document>, <locator>,<fragment>, <media-pragment>, <xref-fragment> or <properties-fragment> elements.
  • If generating table of contents:
    • Every <toc> element will contain content for all <heading> elements occurring AFTER <toc/> and BEFORE </document> in the same document (including cross referenced content), for example:
      <toc>
        <tocref level="1" idref="toc-0">Master 4</level1>
        <tocref level="2" idref="toc-1"
           canonical="0.1." prefix="1.">Test1</level2>
      </toc>
      
    • <heading> elements will have an @id="toc-[x]" attribute.

Created on , last edited on