Choose Root Element (DTD)

To generate a skeleton XML document from a DTD, you must specify the element that you want to be the root element in the Choose Root Element dialog box.

To display the Choose Root Element dialog box, select File > Document Wizards from the Stylus Studio menu bar. In the Document Wizards dialog box that appears, click XML from DTD, and click OK. After you specify a DTD, click Next. Stylus Studio prompts you to specify the element that you want to be the root element in the new XML document.

After you specify the root element, click Finish. Stylus Studio displays a new XML document. It is a skeleton based on the DTD you selected. That is, it contains the defined elements, and it contains the word content where contents are allowed.

Fields

Choose Root Element

Click the down arrow to display a drop-down list of elements in the DTD. Click the element that you want to be the root element for the new XML document.

For More Information

Using Schemas with XML Documents

Transforming Non-XML Documents with XML Tools

This pages has audio from the Stylus Studio Presentation at Exchange 2005.

Stylus Studio is a Real Cost-Saver in Novell Implementations

Learn how TriVir, a leading consulting group used Stylus Studio to implement a Novell based solutions using DirXML, eDirectory, and the exteNd suite for their government customers.

Microsoft .NET XML Tools for System.XML 1.0 and System.XML 2.0

Stylus Studio features integrated XML validation, XSLT transformation and XSLT debugging using the official Microsoft .NET XML processing components: System.XML 1.0 and System.XML 2.0.

Generate XSD

Stylus Studio® can generate an industry standard W3C XSD (or DTD) by correctly inferring an XML data model from an XML instance document.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member