Re: Fwd: [xmljs-users] Escaping " ' " in .getText();
Brought to you by:
djoham,
witchhunter
From: David J. <dj...@ya...> - 2003-11-22 20:43:58
|
I think you mean... > var currentCoverArtPath = > "/player_status/current_song/song/coverart"; > var xmlFetchedCoverArt = xml.selectNode(currentCoverArtPath); > > if (xmlFetchedCoverArt != null) { // <-- changed the check to xmlFetched.... > var fetchedCoverArt = xmlFetchedCoverArt.getText(); > do what I need to do to get the Cover Art } > > else { display a blank image } right? :) >that's what I get for trying to > learn XML for SCRIPT and CURL in a week. :) Good luck on the rest of your project! David __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ |