Yes and it works. I had to remove the
<?xml version="1.0" encoding="utf-8" ?>
declaration at beginning of the XSL output though. The sample below is tested with Firefox 1.5, Explorer 6 and 7.
<?php
header("Content-type: text/xml xsl");
$t ='
<xsl:stylesheet version="1.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:template match="/">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="includes/rss.css" type="text/css" rel="stylesheet" />
<title>RSS</title>
</head>
<body>
<table class="content_width" align="center">
<tr>
<td>
<xsl:for-each select="rss/channel">
<xsl:apply-templates select="item" />
</xsl:for-each>
</td>
</tr>
</table>
</body>
</html>
</xsl:template>
<xsl:template match="item">
<table>
<tr>
<td class="title"><xsl:value-of select="title"/></td>
</tr>
<tr>
<td class="desc"><xsl:value-of select="description"/></td>
</tr>
</table>
<br />
</xsl:template>
</xsl:stylesheet>
';
echo $t;
?>