I'd like to use 'xsd.exe' to generate a set of classes so that I can serialize XML for a
given DTD

However, I don't believe 'xsd.exe' reads DTD's. So is there an easy way to conver
a DTD to an XML schema, or go directly from a DTD to a .NET code base that ca
be serialized

Thanks

Re: DTD to xml by Eric

Eric
Fri Feb 20 10:03:37 CST 2004

Andrew wrote:

> I'd like to use 'xsd.exe' to generate a set of classes so that I can
> serialize XML for a given DTD.
>
> However, I don't believe 'xsd.exe' reads DTD's. So is there an easy
> way to convert a DTD to an XML schema, or go directly from a DTD to
> a .NET code base that can be serialized?
>
> Thanks

XMLSPY can do this, but it's not free.