This should be really easy, but I am struggling. I need to return a node based on the value of its text node. Below is the code I am using.
TIA, Tracy <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="initApp()"> <mx:Script><![CDATA[ private function initApp(): void { var xmlNode:XML; var myXML:XML = <order> <item id='1'> burger </item> <item id='2'> fries </item> </order> trace([EMAIL PROTECTED]); // WORKS, Output: 1 trace(myXML.(item=="burger")[EMAIL PROTECTED]); // NOT work want: 1************ Problem line ************* }// ]]></mx:Script> </mx:Application>

