XML problem

var test:XML = new XML("<e ide=“hi”><a>aa</a><b>bb</b></e>");
trace(test.firstChild.attributes.ide);

i was expecting the output “hi”

but somehow comes nothing.When i trace (test); it outputs the xml string… weird… can anyone helps?:yoda: