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

Building Workflow Applications with XML

Learn how to design custom XML workflow applications - from modeling your data and information processes, to capturing input from users in XML, and finally, generating useful queries and reports from the XML data -- using XSLT & XQuery technologies.

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.

Generate XSD

Stylus Studio® can generate an industry standard W3C XSD (or DTD) by correctly inferring an XML data model from an XML instance document.

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.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member