HTML != XML (was Re: [ANN] Kludgey workarounds for xt)

David Megginson (david@megginson.com)
Wed, 9 Sep 1998 06:17:22 -0400


Chris Maden writes:

> Support for pre-XML HTML was explicitly considered and rejected by
> the Working Group.

Absolutely correct.

Since HTML <= 4.0 is *not* XML, it is best to treat it as an output
format, like PDF, TeX, RDF, Postscript, etc. -- in other words, first
produce your XML, then run it through a filter (such as a SAX-based
app) that does a down-translation to HTML syntax. If the XML document
contains the same element types as the HTML, the translation will be
very simple.

All the best,

David

-- 
David Megginson                 david@megginson.com
           http://www.megginson.com/