Updated version of DTD to XML Schema tool
Date: Thu, 11 Jan 2001 14:51:44 -0800 From: Mary Holstege <firstname.lastname@example.org> To: email@example.com Subject: [ANN] Updated version of DTD to XML Schema tool
I am attaching an updated version of the Perl script that is available on the W3C site . This new version makes the following changes:
Use the CR syntax instead of the April draft syntax
Add support for an external mapping file for type aliases, simple types, model, attribute, and substitution groups
Map ANY correctly to wildcard rather than element 'ANY'
Support treating lead PCDATA as string or other aliased simple type instead of as mixed content (may be more appropriate for data-oriented DTDs) e.g., <!ELEMENT title (#PCDATA)> => <element name="title" type="string"/>
Support subsitution groups (simplistically).
For the record: this update has no official standing. I am for the present putting this on my own website as well .
It is worth pointing out that this tool does not produce terribly high quality schemas, but it is a decent starting point if you have existing DTDs.
Prepared by Robin Cover for The XML Cover Pages archive.