# Xml parsing problem? on server

**URL:** <https://forum.kirupa.com/t/xml-parsing-problem-on-server/309813>\
**Category:** Uncategorized\
**Created:** [May 25, 2010, 12:32pm UTC](https://forum.kirupa.com/t/xml-parsing-problem-on-server/309813 "2010-05-25T12:32:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harshil\_sh](https://avatars.discourse-cdn.com/v4/letter/h/b487fb/32.png) [@harshil\_sh](https://forum.kirupa.com/u/harshil_sh)\
**Post date:** [May 25, 2010, 12:32pm UTC](https://forum.kirupa.com/t/xml-parsing-problem-on-server/309813/1 "2010-05-25T12:32:17Z")

</div>

here’s the code i used to get weather forecast from [weather.com](http://weather.com)

var myXML:XML = new XML();  
var XML\_URL:String = “[http://xoap.weather.com/weather/local/INXX0367?cc=\*&link=xoap&prod=xoap&par=1187263133&key=c3a0d2b614cb0854&unit=m](http://xoap.weather.com/weather/local/INXX0367?cc=*&link=xoap&prod=xoap&par=1187263133&key=c3a0d2b614cb0854&unit=m)”;  
var myXMLURL:URLRequest = new URLRequest(XML\_URL);  
var myLoader:URLLoader = new URLLoader(myXMLURL);  
myLoader.addEventListener(“complete”, xmlLoaded);

function xmlLoaded(event:Event):void  
{  
myXML = XML(myLoader.data);

```
temp_txt.text=myXML.cc.tmp;
trace("Data loaded.");

```

// trace(myXML);

}

This code is working fine on my local machine…  
But when i upload it on a live linux server. the code does not work and the dynamic textbox remains blank
