##### 26.2.2.2 Specifying content model and root element

By default, DITA2Go uses the built-in DocBook version 4.5 content model. To specify a different DocBook content model:

    [DocBookOptions]
    ; ContentModel = name of content-model .ini, without extension,
    ;  with which to replace the built-in DocBook 4.5 content model.
    ContentModel = docbook45

If you specify a different content model, you must generate a configuration file for that model from the DTD. See §41. Working with content models.

To specify the root element:

    [DocBookOptions]
    ; DocBookRoot = element to use at the XMLRoot.
    DocBookRoot = book

Content models for both <article> and <book> are built in. You can use others, such as <set>, by replacing the content model and specifying the root name here. See §41.2.2 Generating a content model from a DTD.

Previous Topic: 26.2.2.1 Changing the DocBook output file extension

Next Topic: 26.2.2.3 Specifying book file options

Parent Topic: 26.2.2 Specifying DocBook output options

Sibling Topics:

26.2.2.1 Changing the DocBook output file extension

26.2.2.3 Specifying book file options