Flex XML

Here is what I have

xml  
      Date   
    2010-10-15 
 /Date  
Number
       1000 
 /Number
 xml

The question is how can I get the vale of Date and Number?

if myXML is used to refer to the above XML

var strDate:String = myXML.Date[0].toString();
var strNumber:String = myXML.Number[0].toString();