|
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 to specify a target namespace for the resulting XML Schema, select the Use a Target Namespace check box and type a target namespace URL.
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 document 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. |
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.
WYSIWYG XSLT Designer
Stylus Studio's powerful and easy-to-use WYSIWYG ("What you see is what you get") XSLT Designer lets you create XSLT stylesheets without writing any code! Go from a blank slate to solid, robust XSLT in minutes, using simple drag-and-drop operations.
XQuery Profiler
Stylus Studio's XQuery Profiler allows you to benchmark any XQuery expression, and it helps you locate and eliminate performance bottlenecks for maximum XQuery performance.
XML Videos
Stylus Studio online XML video demonstrations illustrate how easy it is to learn advanced XML editing techniques. Now playing: Java Code Generation, Convert to XML, Grid View, and many other informative video demonstrations.




