Re: [ANN] Kludgey workarounds for IE and Netscape
James Clark (jjc@jclark.com)
Fri, 11 Sep 1998 16:56:03 +0700
John Cowan wrote:
>
> James Clark scripsit:
>
> > If you want to use XSL to produce some non-XML format, first you need to
> > devise an XML representation of it. For example, in the case of HTML,
> > this would be "well-formed HTML", that is XML using the element types
> > and attributes of XML [sic; HTML].
>
> Almost, almost, but not quite!
>
> Well-formed HTML is not quite well-formed XML, because of the possible
> presence of "&" and "<" in the CDATA elements SCRIPT and STYLE.
The term "well-formed HTML" as used in section 1 of the XSL WD does not
mean SGML that conforms to HTML 4.0. It means well-formed XML that uses
element types and attributes from HTML.
James