dtd2xsd - XML Schema generator from XML document that contains DTD.
dtd2xsd [options] instance-xmlfile optional-xsdfile
dtd2xsd generates an XML schema document from a document type definition (DTD). Right now you have to specify instance XML file that references or contains DTD. DTD itself is not readable with this tiny tool.
By default, it outputs resulting XML schema to console. If optional-xsdfile parameter is specified, it outputs the result to the specified file.
Atsushi Enomoto <atsushi@ximian.com>