4.1.3 Specifying a DITA XML DTD

You need to tell DITA2Go where to find the DTD for your document only if you are not using catalogs, and your document includes specializations. If the SystemID in the doctype declaration for your DITA XML document does not designate an accessible local “file:” URL, you must specify a local path to the DTD.

To tell DITA2Go where to find the DTD for your project:

[Setup]
; DTDPath = local path to use for DITA DTDs if the SystemID in the
; doctype declaration is not an accessible local "file:" URL
DTDPath=%OMSYSHOME%\d2g\dtds\dita1.1

A copy of the Oasis DITA 1.1 DTD is included in your DITA2Go distribution, in directory %omsyshome%\common\dtds\dita1.1. If you have specializations, you must use your own DTDs instead. Or if you already have your own copies of the Oasis DTDs elsewhere for use with other applications, you can use those instead.

See also:

§4.1.1 Connecting to XML catalogs

Previous Topic:  4.1.2 Accommodating specializations

Next Topic:  4.1.4 Generating a map from a DITA topic file

Parent Topic:  4.1 Specifying operating settings

Sibling Topics:

4.1.1 Connecting to XML catalogs

4.1.2 Accommodating specializations

4.1.4 Generating a map from a DITA topic file

4.1.5 Accommodating paths to network drives

4.1.6 Checking output type and file extension

4.1.7 Producing print output selectively

4.1.8 Including element tags and paths in output

4.1.9 Reusing or discarding ASCII DCL files

4.1.10 Specifying how to treat cases, spaces, and wildcards