Reputation: 11
So, I am trying to do the following YQL query:
I would like the result to have only the artist names. If someone can help writing a XPath to result only artist names, it would be much appreciated!
Upvotes: 1
Views: 548
Reputation: 78447
Like this?
select * from xml where url="http://ws.audioscrobbler.com/2.0/?method=artist.getsimilar&artist=jayz&api_key=d47ca2514e350dd0dac6fc46a507585a" and itemPath="//similarartists/artist/name"
Upvotes: 3