Notice the xml elements do not have namespace prefixes. This means that they are using the default namespace which is declared in the root tag, without a prefix. So adding this directive: default xml namespace = "http://mysite.com/ <http://mysite.com/> "; should allow you to reference the nodes.
I hope. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of btkracker Sent: Tuesday, January 16, 2007 1:58 PM To: [email protected] Subject: [flexcoders] .Net webservice and datagrid I'm trying to receive XML data from a .Net webservice and populate a datagrid. I'm able to receive the XML data ok but I can't see anything in the datagrid. I attempted to manually duplicate the data returned and found that it has something to do with the moniker returned. Here is the XML returned from the webservice: <searchCriteriaResult xmlns="http://mysite.com/ <http://mysite.com/> "> <XrefData> <bukey>1</bukey> <prKey>14</prKey> <moKey>-1</moKey> <spKey>73</spKey> <tdKey>47</tdKey> </XrefData> <XrefData> <bukey>1</bukey> <prKey>14</prKey> <moKey>15</moKey> <spKey>73</spKey> <tdKey>47</tdKey> </XrefData> </searchCriteriaResult> If I manually create an XML object and bind it to my datagrid, I get the same result...nothing. However, if I remove the 'xmlns' attribute _or_ add a moniker (such as 'xmlns:Test="http://mysite.com <http://mysite.com> "') it works fine. Anyone have any ideas? I'm completely stumped!!

