Skip to main content

 Configuration

Configuration manual for PageSeeder

Document types

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.xml – can override the default settings with customizations for the editing interface. 
  • default.sch – binds validation to the content using XPath and ISO Schematron. For further information, see Schematron sample code or Validating documents.
  • document.css – modify the default UI display.
  • template-icon.png – associates a graphical icon with the document type in the PageSeeder interface.
  • xref-config.xml – can be used to configure xrefs across a whole project to make it uncomplicated for users to create them consistently for different purposes.

Creation and maintenance

The straightforward way to manage the customization process is on the Document types page, available from the following locations:

Administration menuproject [Project] > file-template Template > Document types, OR

In the Document developer panel, click the wrench Manage document types button, OR

Navigation menu > Project > Document types browse page, click the wrench Manage document types button at the top right

However, developers used to working in their own environment such as editor, code or repository won’t have any trouble integrating PageSeeder with external tools.

Location

Internal files specific to document types are located in:

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

For further information, see Folders and Files.

Created on , last edited on