30.2.2 Generating a content model from a DTD
Utility program dtd2ini produces, from a valid DTD, a content-model configuration file to use with Mif2Go for DITA or DocBook XML output.
To generate a content-model configuration file:
1. Download dtd2iniNNwin.zip from:
http://www.omsys.com/dcl/download.htm
where NN is the dtd2ini version number.
2. Extract from the archive the following files:
dtd2ditatopic.ini (for a DITA specialization), or
dtd2docbook.ini (for a DocBook DTD).
3. Edit the dtd2*.ini file you extracted, and save it as dtd2ini.ini.
4. Copy dtd2ini.exe to your system folder (for example, to C:\WINDOWS\system32).
5. Follow the instructions in dtd2ini.txt to produce a content-model configuration file:
• for 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
• for DocBook: contentmodel.ini, where contentmodel is any name you choose.
> 30 Working with content models > 30.2 Modifying or replacing a content model > 30.2.2 Generating a content model from a DTD
