Solved the URL thing, that was me being lazy and not thinking hard enough $('p.track').append("<a href=\"" + $(this).find("url").text() + "\">" + $(this).find("name").text() + "</a>");
That thankfully means that I'll be able to embed the image, but I'm still not sure how to select it. I've tried find("image size=\"medium \"") but it didn't work. On May 20, 5:51 pm, alex <boba...@googlemail.com> wrote: > I have this XML file, and I've gotten a few values from it, but I need > one more, a create a variable from it, and insert that in to an img > tag. > > XML :http://itiz.in/idvt > JS :http://itiz.in/318m > > So as is clear, getting the track name etc. is fine, but I want the > medium sized album art to be inserted in to an img tag (<img > src="medium_sized_image_url" alt="">). I've tried searching but can't > find anything, I'm doubly interested because I wouldn't mind using the > URL that's in there as well.