The XMLSpy DTD editor supports intelligent editing and schema validation of DTDs in both Text and Grid View. Both views provide context-sensitive entry helpers and other editing guidance as you type.
If you prefer to work in a graphical view, Grid View displays the DTD in an easily recognizable tree structure that can be edited just like the hierarchical element structure of any regular XML document. In addition, attribute lists represented in a table view, which is ideally suited for this structure.
The XMLSpy DTD editor includes an XML to DTD converter that invers a valid DTD based on one or more XML instance documents. You can also generate a sample XML document based on your DTD.
It's also easy to convert between DTD and XML Schema formats as your application evolves. Convert DTD to XML Schema 1.0 or 1.1 with just a few clicks.
“"DTD support in XMLSpy has been a lifesaver!"”
Kurt Cagle, Architect at Avalon Consulting & Managing Editor, XMLToday.org