I have researched this topic in the FAQ and also on the w3c site. And based
on what I have found, the following code should work. However, it does not!
I am using IE6 as the client. Here is an example of the code. Note that if I
take the same XSLT code and put it in a separate file and reference the xsl
directly and use IE6 as a client or do a standalone transformation with my
favorite transformer like Saxon, it works just fine.
Any help is appreciated.
<?xml-stylesheet type="text/xml" href="#stylesheet"?>
<!DOCTYPE responses [
<!ATTLIST xsl:stylesheet
id ID #REQUIRED
]>
<responses>
<xsl:stylesheet id="stylesheet" version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="response">
<xsl:value-of select="//content"
disable-output-escaping="yes"/>
</xsl:template>
</xsl:stylesheet>
<response>
<request>
<ID>101</ID>
<content><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
3.2//EN">
<HTML>
<HEAD>
<TITLE>Test Info</TITLE>
<LINK MEDIA="screen, print" REL="StyleSheet" TYPE="text/css"
HREF="http://link/to/the/default.css">
</HEAD>
<BODY BGCOLOR=#FFFFFF>
<table WIDTH=690 ALIGN=center BORDER=0
CELLSPACING=0 CELLPADDING=0>
<tr align="left">
<td COLSPAN=2 ALIGN=RIGHT WIDTH=690>
<BR><SPAN
class="dl"><a
href="javascript:window.close();">Close</a></SPAN>
</td>
</tr>
</table>
<b>Test text here</b>
</BODY>
</HTML></content>
</request>
</response>
</responses>
TIA,
Maulik
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list