Skip to main content

 PSML

A complete reference of PageSeeder's markup language PSML

PageSeeder Markup Language (PSML)

PSML is a markup language used by PageSeeder to represent documents. It can also represent metadata against non-PSML documents such as images.

The following is a simple PSML example:

<document>
  <section id="title">
    <fragment id="1">
      <heading level="1">PSML</heading>
    </fragment>
  </section>
  <section id="content">
    <fragment id="2">
      <para>PageSeeder's default markup language</para>
    <fragment>
  </section>
</document>

As PSML is natively supported, PageSeeder has tools to convert documents into PSML and to export PSML into other document formats.

In PageSeeder, PSML is represented as follows:

iconPSML icon
file extension.psml
mediatypeapplication/vnd.pagaseeder.psml+xml

Element reference

The PSML schema defines several types including:

  • Structural elements like <section> and <fragment> are used to organize the various parts of the document.
  • Presentation elements, such as <para> and <heading>, are similar to HTML and used for content markup. They are categorized into block-level and inline-level elements.
  • Metadata elements such as <note> and <reversexrefs> are used for annotations, references, versioning, and other document-related information, which are not intended to be displayed in the main presentation.

The element reference provides an A-Z reference for every element used in PSML.

Datatypes

Some elements and attributes have specific data types. The datatypes section offers an overview of the types used in PSML.

Universal format

The universal format is a combination of conventions, file organization and packaging that allows an entire collection of linked PSML files to be safely moved from one server to another.

Further reading

For further technical information about PSML concepts and modeling, start with these articles.

Also see restrictions on PSML document size and content.

Created on , last edited on