[flexcoders] Conversion from Array to XML

2006-09-28 Thread richmcgillicuddy
I have an array that my user is editing in a data grid. I want to be able to convert that back to an XML object. Is there a generic easy way to do this. My array has objects that look like: var myObject : ObjectProxy = new ObjectProxy(); myObject.f1 = 1; myObject.f2 = 2; myObject.f3 = 3; I want

RE: [flexcoders] Conversion from Array to XML

2006-09-28 Thread Tracy Spratt
+ /; } sXML += /root Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of richmcgillicuddy Sent: Thursday, September 28, 2006 10:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Conversion from Array to XML I have an array that my

Re: [flexcoders] Conversion from Array to XML

2006-09-28 Thread DUANE NICKULL
Is what you are doing truly an array?  It actually seems like a collection of variables with names that are sequentially incremented.  A true array would use one variable to point at the array then reference each value in an iterative loop.example:var foo = new Array();foo[0] = "bar";foo[1] =