Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with RSS Feed

Status
Not open for further replies.

christer99

IS-IT--Management
Dec 3, 2001
247
I am new to XML, and I can't this to work. I am getting no action (no data when I view this page on a webbrowser).

<?xml version="1.0"?><!-- DWXMLSource=" -->
<xsl:stylesheet
version="1.0"
xmlns:xsl=">
<xsl:eek:utput method="html"/>
<xsl:template match="root">
<html>
<head>
<title>XSL Test</title>
</head>
<body bgcolor="white" text="black">
<h1><xsl:apply-templates/>
<xsl:value-of select="../rss/@xmlns:dc"/></h1>
<p><xsl:value-of select="../rss/channel/ttl"/></p>
<xsl:value-of select="../rss/channel/title"/>
<table width="400" border="0" cellspacing="0" cellpadding="1">
<tr>
<td><xsl:value-of select="../rss/channel/item/description" disable-output-escaping="yes"/></td>
</tr>
</table>
<xsl:value-of select="../rss/channel/item/title"/>
<xsl:value-of select="..rss/channel/item/description" disable-output-escaping="yes"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top