DTD to W3C XML Schema conversion tool
08:20, 12 Jan 2001 UTC | Edd Dumbill

Mary Holstege has released an updated version of a Perl DTD to W3C XML Schema conversion Perl script, which provides a quick start way to create schemas from DTDs.

The main update to the script is that it now uses the Candidate Recommendation syntax rather than the April draft. Other changes include:

  • 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 for treating lead PCDATA as string or other aliased simple type instead of as mixed content
  • Support for simplistic subsitution groups

Holstege notes that the script "does not produce terribly high quality schemas, but it is a decent starting point if you have existing DTDs."

xmlhack: developer news from the XML community

Front page | Search | Find XML jobs

Related categories