0

My problem is this, i want to get value of yweather->code from xml file: http://weather.yahooapis.com/forecastrss?w=2502265

How can i do?

Deduplicator
  • 44,692
  • 7
  • 66
  • 118
user1053839
  • 390
  • 1
  • 3
  • 10
  • 1
    You have examples here http://www.php.net/manual/en/simplexml.examples-basic.php – Dejan Marjanović Dec 16 '11 at 10:28
  • @ZulkhaeryBasrul: sure you can, and well, just searching reveals this question: [How to get the tag “” from Yahoo Weather RSS in PHP?](http://stackoverflow.com/q/3268976/367456) from July 2010 and for simplexml accessing namespaced elements [Parse XML with Namespace using SimpleXML](http://stackoverflow.com/q/595946/367456) from Feb 2009 or [PHP SimpleXML Namespace Problem](http://stackoverflow.com/q/6027398/367456) from May 2011. – hakre Jun 24 '13 at 01:04

1 Answers1

0

There is a very good info at the said link..