|
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 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. |
DTD Validator
This page talks about Stylus Studio's DTD Validator it has the ability to specify any third-party XML parsers and validators, real-time syntax checking and DTD validation error reporting, backmapping, integrating third-party DTD validators and more!
EAI - Enterprise Application Integration
Using EAI tools included with Stylus Studio it's easy to unlock silos of enterprise data and seamlessly integrate it into your IT applications.
XML Notepad
XML Notepad simplifies building of XML applications, allowing authors to rapidly build and edit their XML files. With XML Notepad, you can create XML document prototypes quickly, easily, using an intuitive graphical interface.
Saxon XSLT Processor
Stylus Studio® has partnered with Saxonica, a leading provider of Java-based XSLT and XQuery processing components to offer a robust XSLT 1.0 and 2.0 development environment, featuring development and deployment using the Saxon XSLT processor.


