View Single Post
  #4 (permalink)  
Old 03-20-2008, 02:12 PM
4bidden 4bidden is offline
WebProWorld New Member
 

Join Date: Oct 2005
Location: Tempe, AZ
Posts: 17
4bidden RepRank 0
Default Re: How to access XML item through XSL issue

Quote:
Originally Posted by incrediblehelp View Post
Do you have to use this one? Why not try another like weather.com?
Weather.com's feed does not contain items that have ONLY the condition and ONLY the temp. Yahoo's does if I could just figure out how to use it! Grrrr

EDIT: I found a fix from another web board. Here is what needed changed. I'm not familiar enough with this to know exactly why this was needed or what it did.

1. Change the yweather namespace declaration on your XSLT to xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0"
2. Remove the rss namespace declaration on your XSLT, it's not necessary
3. Change your parameter's XPath to: rss/channel/item/yweather:condition/@text
Reply With Quote