Skip to main content

 Configuration

Configuration manual for PageSeeder

PSML editor config

The editor-config.xml contains configurations for editors used to edit the document.

The config has the following format:

<editor-configs>
  <editor-config name="[editor name]">
    // config options for editor
  </editor-config>
  <editor-config name="[editor name]">
    // config options for editor
  </editor-config>
</editor-configs>

where editor name can be one of the following: 

  • PSMLXRefs – for options see PSML XRefs editor.
  • PSMLProperties – for options see PSML properties editor.
  • PSMLMetadata – same options as PSML properties editor but used for document metadata properties.
  • PSMLCreation – same options as PSML properties editor but used for document and fragment creation. Requires PageSeeder v5.98 or higher.
  • PSMLLabelValues – same options as PSML properties editor except it supports type “richtext” and the PSML document must use inline/block labels instead of properties as shown in this example:
    <fragment id="8" type="details">
      <para>Title <inline label="title">Alice's Adventures in
            Wonderland</inline></para>
      <para>ISBN<inline label="isbn">9783161484100</inline></para>
      <para>Author <inline label="author">Lewis Caroll</inline></para>
      <para>Language <inline label="language">English</inline>
                    <inline label="language">Spanish</inline></para>
      <para>Available Date <inline label="available-date">2012-01-01
                    </inline>
      </para>
      <para>Related <inline label="related">
            <xref .../><xref .../></inline>
      </para>
      <block label="richtext">Description
        <block label="description">
          <para>When <bold>Alice</bold> sees a white rabbit ...</para>
        </block>
      </block>
    </fragment>
    

The following text is for legacy reference only.

PageSeeder no longer uses the editor-config.json JSON format to configure the editor. All systems newer than version 5.96 use the edtor-config.xml XML file described above.

The config has the following format:

{
  "EditorA": {
    // config options for editor A
  },
  "EditorB": {
    // config options for editor B
  }
}

where Editor can be one of the following: 

Created on , last edited on