|
Just as brief, perhaps simpler, needs a null XML document to bootstrap (containing just <rsslist/>)
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="html"/>
<xsl:template match="/rsslist">
<html>
<body>
<xsl:apply-templates select='document("http://www.javablogs.com/ViewDaysBlogs.jspa?view=rss")'/>
<xsl:apply-templates select='document("http://radio.weblogs.com/0109827/rss.xml")'/>
</body>
</html>
</xsl:template>
<xsl:template match="channel/item">
<div>
RSS item <xsl:value-of select="title"/> is located at
<xsl:value-of select="link"/>
</div>
</xsl:template>
</xsl:stylesheet>
|