|
Home > Online Product Documentation > Table of Contents > Creating XML Schema from a DTD Creating XML Schema from a DTDStylus Studio has two document wizards you can use to create an XML Schema from a DTD. One uses a built-in processor; the other uses the Trang schema converter from Thai Open Source Software Center ( www.thaiopensource.com). Using the Trang converter gives you more control over both the input file and output characteristics (such as whether or not you want to indent the XML Schema). Using the DTD to XML Schema Document WizardTo use the DTD to XML Schema wizard:
1. From the Stylus Studio menu bar, select
File >
Document Wizards.
The Document Wizards dialog box appears.
2. In the
XML Editor tab, click
DTD to XML Schema, and click
OK.
The Convert DTD to XML Schema dialog box appears.
3. In the
DTD URL field, type or select the absolute path for the DTD from which you want to create an XML Schema.
4. If you want, select the
Use a Target Namespace check box and type a target namespace.
5. Click
OK.
Stylus Studio displays the new XML Schema in the XML Schema Editor. Using the DTD to XML (Trang) Document WizardThe following table describes the fields in the DTD to XML (Trang) dialog box, which is displayed when you run the DTD to XML (Trang) document wizard. This documet wizard was created using Stylus Studio Custom Document Wizard (see Custom Document Wizards for more information).
To use the DTD to XML Schema (Trang) wizard:
1. From the Stylus Studio menu bar, select
File >
Document Wizards.
The Document Wizards dialog box appears.
2. In the
XML Editor tab, click
DTD to XML Schema (Trang) and click
OK.
The DTD to XML Schema (Trang) dialog box appears.
3. Enter the absolute path of the DTD from which you want to create an XML Schema. The DTD must be encoded in UTF-8. You can type the file path, or use the browse button (which appears when you place the cursor in the
Input file (required) field. This is the only required field.
4. Optionally, complete any of the remaining fields.
5. Click
OK.
Stylus Studio displays the new XML Schema in the XML Schema Editor. |
An Introduction to XQuery Development
An Introduction to XQuery demonstrates how easy it is to use Stylus Studio's many tools for editing, testing and deploying XQuery applications. Learn how to write your first XQuery application in just minutes by watching this online tutorial.
Building DataDirect XQuery Applications
Stylus Studio further simplifies relational and XML data integration by providing advanced XQuery tools support for building XQuery applications which use DataDirect XQuery.
Stylus Studio Lends a Helping Hand to the New Orleans Reconstruction Efforts
Read how Stylus Studio is helping with the on-going hurricane Katrina reconstruction efforts in New Orleans.
XQuery Integration
Learn how new XQuery technologies can simplify legacy data integration by leveraging industry standards, proven open-source XML processing components, and Stylus Studio's integrated XQuery & XML tools.


