Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

16 Producing DocBook XML > 16.2 Setting up a DocBook XML project > 16.2.3 Specifying DocBook output options > 16.2.3.2 Specifying content model and root element


16.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 §30 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 §30.2.2 Generating a content model from a DTD.



16 Producing DocBook XML > 16.2 Setting up a DocBook XML project > 16.2.3 Specifying DocBook output options > 16.2.3.2 Specifying content model and root element