HTML DTD to XML Schema

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

HTML DTD to XML Schema

Dubuc Jean-Pierre

Has somebody converted HTML (2.0, 3.2, 4.0, 4.01) DTDs to XML Schema ?

 

If so, where to get a copy of those ?

 

Thanks

 

JP

 

 

Reply | Threaded
Open this post in threaded view
|

Re: HTML DTD to XML Schema

Shane McCarron

Those languages are not XML, so having them expressed in XML Schema
instead of SGML DTD would make little sense.  We do have XML Schema for
the XHTML Family specifications - see http://www.w3.org/MarkUp/Drafts 
for current snapshots.

Dubuc Jean-Pierre wrote:

> Has somebody converted HTML (2.0, 3.2, 4.0, 4.01) DTDs to XML Schema ?
>
> If so, where to get a copy of those ?
>
> Thanks
>
> JP
>
>
>

--
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: [hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: HTML DTD to XML Schema

Johannes Koch-2

 > Dubuc Jean-Pierre wrote:
 >> Has somebody converted HTML (2.0, 3.2, 4.0, 4.01) DTDs to XML Schema ?
 >>
 >> If so, where to get a copy of those ?

Shane McCarron schrieb:
> Those languages are not XML, so having them expressed in XML Schema
> instead of SGML DTD would make little sense.

There may be a use case for this: Once you have a DOM you can use e.g.
JAXP validation to validate it against a schema.

--
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)