Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: RDF to HTML with XSLT

From: JasonBurr@-----------.---------.---
To: 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
> 


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent