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

XML-DEV Blog

Join the XML Development discussion at XML-Dev - the hottest place to talk about XML technologies, trends, systems architecture and all the latest buzz. Bookmark this RSS and ATOM feed now!

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.

Apache XML Project

The Apache XML Project provides standards-based, open-source XML solutions for working with W3C XML technologies including XML, XSL, XSLT, XSL:FO XPath, Web services and more. Learn how Stylus Studio provides support for all Apache XML projects.

XML Differencing

Stylus Studio's integrated XML Differencing tool visually computes and analyzes any changes made to files or folders in a highly configurable, XML-aware fashion. Display text or tree views, with changes displayed in a merged view or side-by-side!

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member