eksempel der virker
http://www.gbit.dk/news/men for at det virker skal du ændre på den default opsætning i IE
Internet options
Security settings
Miscellaneous
Access data sources across domains
enabled!
index.html
--------------------------------------------------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<title>Exp Spm</title>
<meta http-equiv="refresh" content="30" />
</head>
<body>
<table>
<tr>
<td>
<h1>Sportenkort</h1>
</td>
</tr>
<tr>
<td>
<script type="text/javascript">
var xml = new ActiveXObject("Microsoft.XMLDOM")
xml.async = false
xml.load("
http://sportenkort.com/feeds/rss.xml")
var xsl = new ActiveXObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("exp.xsl")
document.write(xml.transformNode(xsl))
</script>
</td>
</tr>
</table>
</body>
</html>
----------------------------------------------------------------
exp.xsl
----------------------------------------------------------------
<xsl:stylesheet version="1.0"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"xmlns:rss="
http://purl.org/rss/1.0/" exclude-result-prefixes="rss">
<xsl:template match="/">
<ul type="disc">
<xsl:for-each select="/*/rss:item[position() < 10]">
<li style="margin-bottom:5;">
<a href="{rss:link}" target="_blank">
<xsl:value-of select="rss:title/text()"/>
</a>
<br />
</li>
</xsl:for-each>
</ul>
</xsl:template>
</xsl:stylesheet>