#### 41.2.2 Generating a content model from a DTD

Utility program dtd2ini can produce, from a valid DTD, a content-model configuration file to use with DITA2Go for DITA or DocBook XML output.

Because dtd2ini is GPL software (GNU General Public License), this utility cannot be packaged with any non-GPL software. Therefore dtd2ini is not included in your DITA2Go distribution. However, you can download dtd2iniNNwin.zip from the Omni Systems Web site:

http://www.dita2go.com

where NN is the dtd2ini version number.

To generate a content-model configuration file:

1. Extract the following files from archive dtd2iniNNwin.zip:

       dtd2ini.exe       (program)
       dtd2ini.txt       (instructions)
       dtd2ditatopic.ini (for a DITA specialization), or
       dtd2docbook.ini   (for a DocBook DTD).

2. Edit the dtd2*.ini file you extracted, and save it as dtd2ini.ini.
3. Copy dtd2ini.exe to %OMSYSHOME%\common\bin.
4. Follow the instructions in dtd2ini.txt to produce a content-model configuration file, one of the following:

   DITA | DITAtopictype.ini, where topictype is the name of the topic type you are adding or replacing; this is also the name of the content model
   DocBook | contentmodel.ini, where contentmodel is any name you choose.

Previous Topic: 41.2.1 Obtaining a copy of a built-in content-model

Next Topic: 41.3 Preparing a content model for use with DITA2Go

Parent Topic: 41.2 Modifying or replacing a content model

Sibling Topics:

41.2.1 Obtaining a copy of a built-in content-model

Table of Contents • Index