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

XML Validator

Stylus Studio has a built-in XML validator that supports industry-standard DTD and XML Schema validators including MSXML 4.0 SAX, MSXML 4.0 DOM, Microsoft .NET XML Parser (System.XML), Xerces-J 2.5.1, XSV 2.6, etc. Validate XML with Stylus Studio.

XQuery API for Java (XQJ)

DataDirect XQuery is an embeddable software product based on the XQuery and XQJ standards that enables Java developers to access both relational and XML data sources using a single XQuery query. Runs on Oracle, SQL Server, DB2, and more!

MySQL XML Tools

The MySQL tools in Stylus Studio simplify XML related development tasks for working with MySQL and XML.

Single Source Publishing

Single source publishing is the ability to use one source of information for generating multiple types of output. Stylus Studio XML Publishing enables Single Source Publishing - publish PDF or HTML documents from Relational, XML or Legacy files.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member