HTML DTD to XML Schema

View: New views
3 Messages — Rating Filter:   Alert me  

HTML DTD to XML Schema

by Dubuc Jean-Pierre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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

 

 


Re: HTML DTD to XML Schema

by Shane McCarron :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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: shane@...



Re: HTML DTD to XML Schema

by Johannes Koch-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


 > 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.)