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.

Berkeley DB XML and Stylus Studio

Develop XML applications for Berkeley DBXML with Stylus Studio integrated tools support for SleepyCat Software's DBXML. Open, Query and Save XML to and from Berkeley DB XML directly from within the Stylus Studio XML IDE.

Java XML Parser

Stylus Studio's support for Java XML Parser is able to Validate XML Using any Java XML Parser, Edit, Debug, Profile and Map XSLT using any Java XSLT Processor, Create PDF files Using Apache FOP, hand have Support for Microsoft XML Parsers as well.

DTD vs. Schema

Stylus Studio provides tools for working with both W3C XML Schema and DTD's - this tutorial explains what the differences are between the two, providing a technical comparison of DTD vs Schema.

Using OASIS XML Catalogs in Stylus Studio

Learn about Stylus Studio's XML catalog support and how to work with XML catalogs in your Stylus Studio XML projects.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member