XT and HTML conversion

Subject: XT and HTML conversion
From: "Richard Lander" <rlander@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Feb 1999 14:17:30 -0500
 Hello,

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.

I'm not trying to deprecate XT, as I think it is a great tool, particularly
at its price. I am curious about why it converts to an SGML DTD, instead of
XML. Will this use of XT change at some point? Have I missed a critical
piece of information? Is it possible to use XT without having it insert the
HTML doctype?

I used the following XSL, but I found SGML empty-element syntax in the
output. Is it possible to force XML empty-element syntax?

<xsl:template match="GRAPHIC">
<DIV>
<IMG SRC="{@url}"/>
</DIV>
</xsl:template>

Thanks,

Richard.



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


Current Thread