Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: RDF to HTML with XSLT >Thread Next - Re: RDF to HTML with XSLT Re: RDF to HTML with XSLTTo: NULL Date: 1/6/2005 10:33:00 PM Joris, Thanks for the reply but if you are suggesting that the rdf/document should contain that namespace I have no ability to make that happen and frankly not sure why that would even be required as I have never seen it need in an xml document before. If you mean my xslt then look again I have the xsl namespace on the third line being the first namespace declared. I did try the example that you listed before posting and it did not work. Did you manage to make it work for you or posted without trying it? Thanks, Jason "Joris Gillis" wrote: > 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 | |||
|
