[Home] [By Thread] [By Date] [Recent Entries]

  • From: Mary Holstege <holstege@m...>
  • To: xml-dev@l...
  • Date: Thu, 11 Jan 2001 14:51:44 -0800


I am attaching an updated version of the Perl script that is available on the
W3C site [1]. 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 [2].

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.

        -- Mary
           Holstege@m...

[1] http://www.w3.org/2000/04/schema_hack/
[2] http://www.mathling.com/xmlschema/

dtd2xsd.pl


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member