Configuration

Configuration manual for PageSeeder

Document config

When PSML documents of any type are created, the options specified in the document config are applied. Where some or all of the document config has not been specified for a particular document type, any missing values are inherited from the default.

The following articles describe the key XML document config elements and their relationship to PSML documents:

  • <creation> – where are they saved and what conventions are used to name them. 
  • <editing> – which editing interface should be configured to open the content.
  • <labeling> – whether any labels should be applied when the document is created.
  • <publishing> – which publishing options should be available to a particular type.

File Location

The document config is located in the folder for the document type that it describes, and must be named document-config.xml:

/WEB-INF/template/[project]/psml/[document type]/document-config.xml

It can be created in the developer tools using either:

  • via the Document Types page located under the Dev tab in the Developer perspective;
  • or, by upload using the Project files page located under the Dev tab in the Developer perspective.

Note

When editing this config file in PageSeeder pressing ctrl-space will display autocomplete options to make editing easier.

 

File Content

The document config follows the structure below:

<document-config>
  <creation> ... </creation>
  <editing> ... </editing>
  <labeling> ... </labeling>
  <publishing> ... </publishing>
</document-config>

Created on , last edited on