Free DTD to XSD conversion utility?
XmlXsdDtdXml Problem Overview
I have a DTD that I need to convert to an XSD (XML schema) file. Is there a free utility or simple way to accomplish this?
Xml Solutions
Solution 1 - Xml
If you happen to have Visual Studio, open the DTD file an you should have a button to "Create Schema" out of it.
I haven't checked if it was available on Express edition, though.
Solution 2 - Xml
The W3C offers one. There are also online converters.
Solution 3 - Xml
Try xmlpad from https://download.cnet.com/XmlPad/3000-7241_4-10252051.html to convert DTD to XSD. Really nice tool.
Solution 4 - Xml
http://www.thaiopensource.com/relaxng/trang.html
Trang converts between different schema languages for XML. It supports the following languages:
- RELAX NG (XML syntax)
- RELAX NG compact syntax
- XML 1.0 DTDs
- W3C XML Schema