[flexcoders] Re: Building XML out of an Array Collection

2008-04-16 Thread Nate Pearson
I gotcha! So what about adding children to that xml node? Do you treat it just like a string or something? so If I wanted to add a child to that node would it be something like this: var newNode:XML = myNode label={yourCollection[n][label]} id={ yourCollection[n][id]} newNode = newNode +

RE: [flexcoders] Re: Building XML out of an Array Collection

2008-04-16 Thread Jim Hayes
@yahoogroups.com Subject: [flexcoders] Re: Building XML out of an Array Collection I gotcha! So what about adding children to that xml node? Do you treat it just like a string or something? so If I wanted to add a child to that node would it be something like this: var newNode:XML = myNode label

[flexcoders] Re: Building XML out of an Array Collection

2008-04-16 Thread Tracy Spratt
Depending on the dot net webservice, you might only need to change your resultFormat=e4x. Try that before you start doing this manually. I am consuming dot net webservices this way. The WS code response.writes a DataTable, and .net serializes it into XML automatically. What you get in flex