Print

Print


Hello!

There are rather fundamental differences between the way DTD's and XML 
Schemas (xsd) are designed. One to one lossless conversions are seldom 
possible.

Mary Holstege wrote a perl script converting DTD's to XML Schemas. It is 
available at:

http://www.mathling.com/xmlschema/

Notice though that an XML Schema converted this way will probably require 
to be fine-tuned "by hand"; I consider that this fact should not be used 
to belittle Mary Holstege's work. Indeed, DTD's and XML Schemas (xsd) 
cannot be one to one losslessly converted and Mary Holstege did a great 
work!

Also, it is important to consider the differences between XML Schema 
version 1.0 and version 1.1. The latter one is not yet widely implemented, 
but it is promising!

Regards!

SaaĊĦha,