DTD-Generator

Author: Michael H. Kay

Documentation: http://saxon.sourceforge.net/dtdgen.html

DTDGenerator takes an XML document as input and produces a Document Type Definition (DTD) as output.

Requirements

You need to install the Java Runtime Environment.

How do I install DTDGenerator on my PC?

To install DTDGenerator on your PC, do the following:

  1. Make sure you have installed the Java Runtime Environment.
  2. Download http://prdownloads.sourceforge.net/saxon/dtdgen7-0.zip.
  3. Unzip "dtdgen7-0.zip".
  4. Copy "dtdgen.jar" to the Java Runtime "lib\ext" directory.

How do I install DTDGenerator in XMLBlueprint?

To install DTDGenerator in XMLBlueprint, do the following:

  1. Start XMLBlueprint XML Editor and click Tools > Customize Tools.
  2. Create a new tool by pressing the New button and fill in the following:

Name

DTDGenerator

Category

Commandline

Program

java DTDGenerator

Parameters

"$(Path)"

Initial Directory

-- empty --

Show Errors

Output Window

Show Output

XML Editor

How do I run DTDGenerator in XMLBlueprint?

Open an XML document. Click Tools > Tools > DTDGenerator or press the DTDGenerator button on the Tools toolbar.