DTD Schema Editor Text Tab

To display the DTD schema editor in Stylus Studio, select File > New > DTD Schema from the Stylus Studio menu bar.

Alternative: In Stylus Studio, open a file with .dtd as the file name extension. Stylus Studio automatically opens the file in the DTD schema editor.

Use the Text tab of the DTD editor to enter the text for a DTD schema. You must know DTD syntax and keywords.

Buttons

Indent XML Tags indents the XML. This action cannot be undone.

Check well-formed checks whether the DTD consists of well-formed XML.

Validate Document validates the DTD using the XML parser you select.

IE Preview displays the document in the Internet Explorer Web browser.

Change Font changes the font of the text display in Stylus Studio. This change affects only the Stylus Studio display. Beyond personal preference, this is useful for localization. The fonts that are available are the fonts that can display the characters in your XML file.

Open Schema allows you to open an external DTD, if the DTD has one. This feature is not yet supported.

Indent and Validate are not active when you are viewing the text for a DTD.

For More Information

Chapter 8Defining Document Type Definitions

What Is a DTD?

Defining Elements in DTDs

About Modifiers in Element Definitions in DTDs

Defining General Entities and Parameter Entities in DTDs

Adding Comments to DTDs

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.

Flat File to XML Mapper

Convert any flat file to XML in 3 clicks or less using the Stylus Studio Flat File to XML Mapper. Supports tons of different file encodings: UTF-8, UTF-16, US-ASCII, ISO-8859-1, and more.

Updating Relational Data Using Stylus Studio

Updating Relational Data Using Stylus Studio

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.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member