# New to XML - need a little help

**URL:** <https://forum.kirupa.com/t/new-to-xml-need-a-little-help/180763>\
**Category:** programming\
**Created:** [March 3, 2006, 6:57am UTC](https://forum.kirupa.com/t/new-to-xml-need-a-little-help/180763 "2006-03-03T06:57:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Post date:** [March 3, 2006, 6:57am UTC](https://forum.kirupa.com/t/new-to-xml-need-a-little-help/180763/1 "2006-03-03T06:57:06Z")

</div>

I have got this in my XML file

```auto

<map id="2" image="image.swf">
 
    <title><![CDATA[Title of Current Map]]></title>

      <mapinfo><![CDATA[Relevant info about whatever map you are in goes here. You can use & and other symbols because this tag and the title tags content are wrapped in CDATA tags which allow for any characters without causing errors]]></mapinfo>
  
    <nodes>
            <node id="23" x="111" y="231">
                 <vrs exist="true" />
                  <panoramics exist="true" />
                  <images exist="true" />
            </node>
            
        <node id="1" x="150" y="150">
                  <vrs exist="true" />
                  <panoramics exist="false" />
                  <images exist="false" />
            </node>

           <node id="2" x="222" y="222">
                  <vrs exist="true" />
                  <panoramics exist="true" />
                  <images exist="false" />
            </node>
      
    </nodes>

    <regions>
            <region id="23" x="183" y="211" width="220" height="160" />

            <region id="13" x="333" y="110" width="220" height="160" />
     
    </regions>

</map>

```

Is there anything noticeably wrong with it? Its just that i cant seem to access the \<title\> node…

trace(this.firstChild.nodeName); correctly returns map, but

trace(this.firstChild.firstChild.nodeName); returns null.

Any help would be much appreciated.
