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

Industry DTD Standards Support (OASIS)

Stylus Studio provides integrated support OASIS catalogs, including thousands of industry-standard DTDs like DocBook, FIXML, and more!

XML Helps Uncork Innovative Winery Web Sites

Learn how Freerun Technologies, Inc., a leading Internet services provider used Stylus Studio and XML technologies to develop a framework for Web-based eCommerce applications for the wine industry, reducing development cycles.

Key Benefits of DataDirect XML Converters

Learn how DataDirect XML Converters were created to maximize XML developer productivity, push innovation, and provide unquestioned value.

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

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.