Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

17 Converting to DocBook XML > 17.2 Setting up a DocBook XML project > 17.2.3 Specifying DocBook output options > 17.2.3.2 Specifying content model and root element


17.2.3.2 Specifying content model and root element

By default, Mif2Go 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 §32 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 §32.2.2 Generating a content model from a DTD.



17 Converting to DocBook XML > 17.2 Setting up a DocBook XML project > 17.2.3 Specifying DocBook output options > 17.2.3.2 Specifying content model and root element