Cross domain AJAX requests using YQL
- by nav
Hi ,
I need to query a locations WOEID and grab the WOEID value from the xml returned.
So the user would type e.g. London, UK and I need to load the query as below:
http://query.yahooapis.com/v1/public/yql?q=select%20woeid%20from%20geo.places%20where%20text%20%3D%20%22London%2C%20UK%2C%20UK%22&format=xml
After which I need to grab the WOEID value from the XML content returned. I know this can be done when HTML content is returned as this link shows -
http://ajaxian.com/archives/using-yql-as-a-proxy-for-cross-domain-ajax
Is there a way to use similar code to query the XML data returned?
Thanks alot