Configuration

Configuration manual for PageSeeder

PSML

In PSML, document types are controlled by a collection of configuration files. These files control not only custom document types but can be used to add style or validation rules to the native PSML document types – default and references.

Purpose

The configuration files have the following roles:

  • document-template.psml – defines the dynamic and proforma content, the document hierarchy, options and semantics for the document type.
  • document-config.xml – defines the naming scheme, location and folder structure for the documents, which editing interfaces to use, labels and publishing options.
  • editor-config.json – can override the default settings with customizations for the editing interface. 
  • default.sch – binds validation to the content via XPath and ISO Schematron. For further information see Schematron sample code or Validating documents.
  • document.css – modify the default display.
  • template-icon.png – associates a graphical icon with the document type in the PageSeeder interface.

Creation and maintenance

The simplest way to manage the customization process is with the Document config page located under the Dev tab in the Developer perspective, however, developers used to working in their own environment (editor, code repository and so on) should not have any trouble integrating PageSeeder with external tools.

Location

Internal files specific to a document types are located in:

/WEB-INF/template/[project]/psml/[documenttype]/

Or for files which must be able to the website (CSS and images):

/woconfig/[project]/psml/[documenttype]/

For further information, see Folders and Files.

Created on , last edited on