Lists Home |
Date 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  and Trang , 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
dtdtoxsd as part of xsdvalid distribution  also generates reasonable
XML Schema, though it doesn't preserve the structure of DTD. Also
written in Java.