Thanks ! -- Keith H -- Tracy Spratt wrote: > > One way”: > > var points:XMLList=obj.POINT; > > var obj:XML = <obj/>; > > obj.setChildren(points); > > Tracy > > ------------------------------------------------------------------------ > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > *On Behalf Of [EMAIL PROTECTED] > *Sent:* Tuesday, April 10, 2007 11:23 AM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] XMLList converted to XML > > > What is an efficient way to convert XMLList object into children of an > XML object? > > I'm using the XMLList methods to rearrange my XML children to specified > order, but I need to convert the reordered XMLList back into datatyped > XML objects into the original XML object. > > var obj:XML= > <OBJECT> > <POINT id="1"> > <X/> > <Y/> > <Z/> > </POINT> > <POINT id="2"> > <X/> > <Y/> > <Z/> > </POINT> > </OBJECT>; > > var points:XMLList=obj.POINT; > > //How would convert "points" XMLList back into datatype XML children of > the variable "obj"? > > --Keith H-- > > >
-- 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/