Next: 3 Package style Up: RichDoc Framework XML Format Specification Previous: 1 Package core
This is the root element of RichDoc document file. It primarily contains single section child, representing the body of the document. It may optionally contain other structures, such as custom styles, index, or bibliography, or list of embedded files. Occurrence of these auxiliary children depends on the serialization mode as follows:
Attributes: class language id level
Content: embeddedFiles? viewStyles? documentStyles? bibliography? userIndex? (section | note)
List of embedded files, such as raster image data, that are stored externally to the containing XML document, if multiple-file serialization mode has been used. This element is not used in single-file serialization mode.
Parents: document
Content: file(embeddedFiles)+
Parents: embeddedFiles
Attributes: name(file)
Sections usually use title element to both to display their title as a block material, AND use this title for various bookkeeping operations, such as building the table of contents. If you want the displayed title to be different from the logical title, or in particular, you do not want to display any title but still want to provide logical title, you may use the explicitTitle attribute to define the logical title.
Parents: section
Mixed Content: (inline | paragraphFragment)*
Specifies document-specific view styles, that override the view styles inherited from the default context. They may be used for example for changing various visual aspects, or for adding document-specific class definitions.
Parents: document
Content: styles*
Parents: document
Content: styles*
In multiple-file multiple-section serialization mode, the level attribute is used to specify how deep is the enclosing document element from the global document root. For instance, for a parted book, the root element has level 0, and thus omits the level attribute, parts have level 1, and chapters have level 2.
Next: 3 Package style Up: RichDoc Framework XML Format Specification Previous: 1 Package core