Unfortunately you do need to use a labelFunction to go deep in an XML object. Something I hope we'll address by providing a new property early in the Flex 4 timeframe, perhaps even contributed by the community!
That said, have you tried just @href in this case? It's all about whether the column received the whole html as an element or just the <a> line. Matt From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of rmonson_us Sent: Tuesday, December 18, 2007 12:57 PM To: [email protected] Subject: [flexcoders] Binding DataGridColumn to an XML attribute rather than the text of an element I'm accessing an XML document using HTTPService. I've bound the last result to a DataGrid and the DataGridColumn to the text value of an <a> attribute with no problem. Now I want to bind to an attribute in the same elemenet (i.e. href), but I can't figure out the syntax to be used in the dataField property. Here is the XML i'm accessing <html><body> <span><a class="Customer" href="http://localhost:8080/nfjs/customer?id=103" >Atelier graphique</a> <br/></span> <span><a class="Customer" href="http://localhost:8080/nfjs/customer?id=112" >Signal Gift Stores</a> <br/></span> ... I can get the value of the <a> attribute into the first column but I want to put the href attribute value into the second column. How should I set the dataField property. I've tried dataField="a.href", dataField="a/href", dataField="[EMAIL PROTECTED]", dataField="a/@href", dataField="[EMAIL PROTECTED]" with no success. Is it possible to specify an XML attribute from the dataField property? Thanks, Richard

