Create XML Document from DTD

You use the Convert DTD to XML document wizard to create an XML document based on an existing DTD.

To get started, select
File >
Document Wizards from the Stylus Studio menu bar. In the
Document Wizards dialog box that appears, click
DTD to XML, and click
OK.

In the
Create XML Document from DTD dialog box, specify the DTD from which you want to create an XML document in the
DTD File field. Next, specify the element that you want to be the root element in the new XML document, and whether or not you want expand each element only once (this results in a smaller XML document file).

Fields

DTD File

Type or navigate to a DTD from which you want to create an XML document. Click
to display the
Open dialog box, where you can select the DTD you want.

Root Element

Allows you to specify the element that you want to be the root element in the new XML document.

Expand each element only once

Check box that allows you to specify whether or not you want expand each element only once in the final XML document - this results in a smaller XML document file.