Re: XT and HTML conversion

Subject: Re: XT and HTML conversion
From: Chris Maden <crism@xxxxxxxxxxx>
Date: Fri, 26 Feb 1999 14:42:25 -0500 (EST)
[Richard Lander]
> I'm a little confused about XT. I was under the impression that XT
> converted XML docs to an XMLized HTML, with an XML declaration and
> empty-element syntax. I thought it was pretty neat that legacy
> browsers would still read the HTML. As I've since found by actually
> looking at XT's output, XT produces typical HTML. I take it that I'm
> using XT correctly and that it is supposed to output non-XML HTML.

XT converts XML to XML.  However, it can change how it serializes the
result based on the result-ns attribute.  If the result-ns identifies
the result as HTML 4.0, which XT knows uses SGML syntax, proper syntax
is used.  If you don't use the result-ns attribute, I don't believe XT
will attempt to guess the intended syntax (IOW, XML syntax will be
used for the serialization).

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread