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 to convert that (generically by determining at runtime, which fields the object proxy has) to: <Object> <f1>1</f1> <f2>2</f2> <f3>3</f3> </Object> <Object> ... Is there a simple way to convert an array to an XML object or get an XML string representation of an array without hard coding this for each grid I'd want to do this for? Rich -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/