Pulling 1 node and all its childnodes out of an xml sheet using Actionscript

Hi, i need your help! I have an xml database where i need to pull out 1 node and all childnodes with a specific ID number, but i cant seem to figure out how to do so.

I have tried reading the xml tutorial on this site, specifically the xml search one, but that didnt help.

the xml i have is build this way:


<bilbase>
  <bil id="57">
    <grunddata>
      <mærke>Audi</mærke>
      <model>A6</model>
      <udstyrsvariation/>
      <årgang>1999</årgang>
      <kørtekm>90.000</kørtekm>
      <motor>1.8</motor>
      <hestekræfter/>
    </grunddata>
    <yderligt>
      <døre>5</døre>
      <ryger>Nej</ryger>
      <ekstraudstyr>ABS, Alufælge, Automatgear, Cd-afspiller, Centrallås, Elruder, Elruder foran, Radio, Startspærre</ekstraudstyr>
      <pris>190.000</pris>
      <note/>
    </yderligt>
</bil>

. . .

</bilbase>

what i have figured out is how to load the whole xml sheet into flash, i just need to pull out the id that lies in " parent.childNodes*.attributes.id = “” "… and then get the info that corresponds to that car (bil = car in danish)…

i have the id in a var called id…

cant someone please help me =)

thanks in advance, Brian

Nevermind, i figured it out =)