views:

2829

answers:

3

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?

+2  A: 

The W3C offers one. There are also online converters.

Martin v. Löwis
I must have been using the wrong Google terms. Thanks a lot!
Jeremy Stein
A: 

I've used http://www.hitsw.com/xml_utilites/ once or twice and it works well. You can also try to use one provided by the wc3.

Peter D
+2  A: 

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

http://www.thaiopensource.com/relaxng/trang-manual.html

Andriy Plokhotnyuk