On Wed, 1 Nov 2000 [EMAIL PROTECTED] wrote:
> > Try /* then.
>
> I'm afraid that doesn't cut it either.
OK, I think I'm finding what the problem is. Slashdot's rss file (this is
rss we're really dealing with here, there's very little rdf involved at
this point) uses namespaces. So you're going to have to define an
rss: namespace in your XSLT document. This should work:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rss="http://my.netscape.com/rdf/simple/0.9/"
>
<xsl:template match="/rdf:RDF">
<xsl:apply-templates select="rss:item" />
</xsl:template>
<xsl:template match="rss:item">
title:<xsl:value-of select="rss:title" />
link:<xsl:value-of select="rss:link" />
</xsl:template>
</xsl:stylesheet>
--
<Matt/>
/|| ** Director and CTO **
//|| ** AxKit.com Ltd ** ** XML Application Serving **
// || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
// \\| // ** Personal Web Site: http://sergeant.org/ **
\\//
//\\
// \\