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.
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 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.
xref-config.xml– can be used to configure cross references across a whole project to make it easy for users to create them consistently for different purposes.
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.
Internal files specific to a document types are located in:
Or for files which must be able to the website (CSS and images):
For further information, see Folders and Files.
Created on , last edited on