# Xml load problem

**URL:** <https://forum.kirupa.com/t/xml-load-problem/300042>\
**Category:** Uncategorized\
**Created:** [November 15, 2009, 7:48am UTC](https://forum.kirupa.com/t/xml-load-problem/300042 "2009-11-15T07:48:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![n000bie](https://avatars.discourse-cdn.com/v4/letter/n/7993a0/32.png) [@n000bie](https://forum.kirupa.com/u/n000bie)\
**Post date:** [November 15, 2009, 7:48am UTC](https://forum.kirupa.com/t/xml-load-problem/300042/1 "2009-11-15T07:48:02Z")

</div>

hi ,  
I am loading this xml

```auto
<content>
        <title>HEADING1</title>
        <desc><p>The documentation team released a cool new version of the Adobe Flash Platform Language Reference (which includes all APIs from the following products:</p></desc>
        <url>logo/logo1.png</url>
        <links>http://www.google.com/</links>
    </content>

```

and this is my code

```auto
function LoadXML(e:Event):void {
    xmlData = new XML(e.target.data);
    
    // count total xml nodes and store
    totalNodes = xmlData.content.length();
    
    var myDesc:String = xmlData.content.desc.text();
    var myLink:String = xmlData.content.links.text();
    trace (myDesc); // this does not work
    createMovies(totalNodes);
}

```

While i trace myDesc it does not show any text. Any help.
