![]() |
DTD2Schema
The purpose of the DTD2Schema tool is to simplify the transition from Document Type Definitions files (DTDs) to XML-Data schema. DTD2Schema is a command-line tool which takes the filename of a DTD file and outputs an XML-Data schema which is roughly equivalent to the DTD. Currently XML-Data does not support either entities or notations. Also, the converter does not properly convert DTDs which use namespaces. It does have limited support for converting datatype attributes to a default datatype in the schema, but the datatype attribute must use the prefix 'dt', and any attribute whose name is 'dt:dt' is assumed to be a datatype attributes. Usage
Options include:
For example, to convert the file cds.dtd into an XML schema contained in the file cdschema.xml:
RequirementsThis tool requires the version of the Microsoft XML parser (msxml.dll) that shipped with Internet Explorer 5.0.
|
|
© 1999 Microsoft Corporation. All rights reserved. Terms of Use. |