OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] DTD to XSD converter

[ Lists Home | Date Index | Thread Index ]

"Balazs Somogyi" <balazs.somogyi@FATHOMTECHNOLOGY.com> wrote:

> I'm looking for an DTD to XSD converter tool written in Java and being able to be invoked from command line; I would like to execute it from an Ant task.

I tried various DTD to XSD converter tools, and the most preferred one
for me is a combination of DTDinst [1] and Trang [2], which converts
DTD to RELAX NG and then RELAX NG to XML Schema.  Both written in Java.
If you want to preserve the structure of DTD, this looks like the most
promising one.

dtdtoxsd as part of xsdvalid distribution [3] also generates reasonable 
XML Schema, though it doesn't preserve the structure of DTD.  Also
written in Java.

[1] http://www.thaiopensource.com/dtdinst/
[2] http://www.thaiopensource.com/relaxng/trang.html
[3] http://www.xmlmind.com/xsdvalid.html

Masayasu Ishikawa


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS