[
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
|