New to XML - need a little help

I have got this in my XML file


<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.