9. documentSetFactory
Prev | Chapter 7. Configuration elements | Next

## 9. documentSetFactory

    <documentSetFactory>
      Content: [ class [ property ]* ]?
    </documentSetFactory>

    <class>
      Content: Java class name
    </class>

    <property
      name = NMTOKEN matching [_a-zA-Z][_a-zA-Z0-9]*
      type = (boolean|byte|char|short|int|long|float|double|
              String|URL)
      value = string
    />

Creates a document set factory and registers it with XMLmind XML Editor. More information about document sets in Section 8.1, “What is a document set?” in XMLmind XML Editor - Online Help.

Child elements of `documentSetFactory`:

class

  The fully qualified name of a Java™ class implementing interface `com.xmlmind.xmleditapp.docset.DocumentSetFactory`.

property

  `Property` child elements may be used to parametrize the newly created factory See bean properties.

DocBook v5+ example:

    <documentSetFactory>
      <class>com.xmlmind.xmleditapp.docset.modulardoc.ModularDocumentFactory</class>
      <property name="styleSheetURL" type="URL" value="css/toc.css" />
    </documentSetFactory>

Note that class `com.xmlmind.xmleditapp.docset.modulardoc.ModularDocumentFactory` is not specific to DocBook v5+. It may be used for any kind of modular document which makes use of inclusion schemes supported by XMLmind XML Editor.

However the CSS stylesheet (in the above example, it's "`css/toc.css`") used to render the XML representation of the document set[10] is specific to each document type.

[10] In the case of a modular document, the XML representation of the document set is the modular document itself.

Prev | Up | Next
8. documentResources | Home | 9.1. Bean properties