Moving an Internal DTD to an External File

To move an internal DTD to an external file:
1. In the Text tab of the DTD editor, in the DOCTYPE element, select only the text inside the brackets [ ].
2. Cut the text.
3. Select File > New > DTD Schema from the menu bar.
4. Paste the text in the new DTD schema file that Stylus Studio displays.
5. Save the file. You might want to save the DTD in the same directory as the XML document that uses it.
6. In your XML document in the Text tab of the DTD editor, remove the brackets and insert the following in their place:
SYSTEM "schema_file_path"
               

            

The path you specify can be the relative or absolute path of the DTD file you just saved. This path must be in quotation marks.

Stylus Studio's Advanced XQuery Mapper Features

Learn how to create an advanced XQuery expression in the XQuery mapper, specifying operations, constants, and ports, for use in conditional blocks and FLWR expressions. Free online video demonstration!

Stylus Studio API Documentation

Java API reference materials providing detailed information about Stylus Studio and other industry leading XML processing components.

Learn XSLT and XQuery Profiling

Stylus Studio's Profiler can help you evaluate the performance of your XQuery and XSLT. Automatically generated, customizable, easy-to-read HTML reports provide insight into performance bottlenecks.

Xerces - Parsing and Validating XML with the Apache Xerces Parser

The Xerces Parser supports the XML 1.0 recommendation and W3C's XML Schema recommendation version 1.0, DOM and SAX. Learn how easy it is to use Apache Xerces directly in Stylus Studio to parse and validate XML with ease.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member