How about using an XSLT to take care of the merge for you? If this is a web app, that would probably be the best way. If you're writing a desktop app to be compiled under Zinc or Janus, you could easily do it with a custom DLL and then call your code in AS.
Wayne --- In [email protected], "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > What do you mean by "merge"? > > > > - Gordon > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Collin Peters > Sent: Friday, December 15, 2006 12:22 PM > To: [email protected] > Subject: [flexcoders] Merge two XML documents > > > > Is there a simple (and efficient) way to merge to XML objects? I do > not see a function call to do this in the docs > http://livedocs.macromedia.com/flex/2/langref/XML.html > <http://livedocs.macromedia.com/flex/2/langref/XML.html> > > Ways of doing it I suppose would be manual with a foreach, or doing a > toString on both and constructing a new document. Neither of those > would be too efficient I would thing though. > > Any ideas? > > -- > Collin Peters > Lead Software Developer >

