Yep, you have to specifically address the namespace. The easiest way
is the use namespace directive. More detailed explanation here:
http://www.returnundefined.com/2006/07/datagrid-labelfunction-and-namespaces/

HTH,
Ben


--- In [email protected], "btkracker" <[EMAIL PROTECTED]> wrote:
>
> 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/";>
>   <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";') it works fine.
> 
> Anyone have any ideas?  I'm completely stumped!!
>


Reply via email to