Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - RDF to HTML with XSLT >Thread Next - Re: RDF to HTML with XSLT Re: RDF to HTML with XSLTTo: NULL Date: 1/6/2005 8:25:00 PM Hi, > I am trying to use an xsl page to transform an rdf result set from > musicbrainz and I can't get anything at all to return I have tried every way > I can think of to access the relevant nodes but nothing seems to work. I have > seen a couple of examples of xslt being used with an rdf rss news feed but > applying the same basic code I haven't been able to get it to work. I am > posting a snippet of the rdf/xml returned and some of the approaches I have > taken (again none of which have worked). > <xsl:template match="/rdf:RDF"> > > <for-each select="mm:Album"> > <value-of select="dc:title"/> > </for-each> > > </xsl:template> > </xsl:stylesheet> You're forgetting the 'xsl' prefix to specify XSL elements. Try this: <xsl:for-each select="mm:Album"> <xsl:value-of select="dc:title"/> </xsl:for-each> regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) Ceterum censeo XML omnibus esse utendum | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
