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.

For More Information

Using Schemas with XML Documents

ADO to XML

The Stylus Studio ADO to XML data coversion wizard simplifies extracting of relational data into any XML format.

DTD Parser

Learn about the powerful DTD parser technologies that are supported in Stylus Studio's DTD tools, including DOM and SAX based DTD parsing components.

XSD Documentation Generator

Stylus Studio®'s XSD Editor includes an integrated XSD documentation generator, allowing you to easily publish XML content models defined in XSD in a convenient, HTML format.

XPath Query Editor

Stylus Studio's XML Editor has an XPath Query Editor that allows you to easily roubleshoot, test, and debug any XPath expression.

Stylus Most Wanted

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.