Simple Loading XML into Flash question

I am trying to load XML into Flash and then put the node values into 2 usable flash variables.
I then want to use the variables in a conditional.

My simple XML:

<?xml version ="1.0"?> 
<data>
<today>true</today)
<number>4</number>
</data>

I would like to put the today and number tags nodes into two variables:
var today
var number

I tried a few things including:


var k:Number = xmlDoc_xml.firstChild.firstChild.nextSibling.firstChild.nodeValue;
var day:Boolean = xmlDoc_xml.firstChild.firstChild.firstChild.nodeValue;

but I can’t seem get the value to store correctly. Can some one tell me what I’m doing wrong?

Thanks