### 32.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 Mif2Go 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 Mif2Go distribution. However, you can download dtd2ini NN win.zip from the Omni Systems Web site:

http://mif2go.com

where NN is the dtd2ini version number.

To generate a content-model configuration file:

1. Extract the following files from archive dtd2ini NN win.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 | DITA topictype.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.

| 32.2.1 Obtaining a copy of a built-in content-model |  | 32.3 Preparing a content model for use with Mif2Go |