//el xml
<xml>
<node c1="46253" c2="75672"/>
<node c1="76665" c2="65786"/>
<node c1="34655" c2="57895"/>
<node c1="56455" c2="84566"/>
<node c1="45656" c2="23478"/>
</xml>
//el mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="dgXMLrqst.send()">
<mx:HTTPService id="dgXMLrqst" url="xml/xml.xml" useProxy="false"/>
<mx:Script>
<![CDATA[
[Bindable]
public var selectedEntry;
]]>
</mx:Script>
<mx:DataGrid x="20" y="20" id="dg" width="231" height="167" dataProvider="{dgXMLrqst.lastResult.xml.node}" change="selectedEntry=event.target.selectedItem">
<mx:columns>
<mx:DataGridColumn headerText="col1" dataField="c1"/>
<mx:DataGridColumn headerText="col2" dataField="c2"/>
</mx:columns>
</mx:DataGrid>
<mx:Text x="259" y="23" text="aca aparece el atributo "c1"" width="199" height="22" color="#D34919"/>
<mx:TextArea x="259" y="41" width="199" height="88" text="{selectedEntry.c1}"/>
</mx:WindowedApplication>
Una cosita mas, como hago para que cuando arranca la aplicación el textArea no aparezca en blanco y muestre el contendido del primer dato (columna 1)? Chau.