Yes, what complicates this is the question of how do you define identical?
If the XML objects are in fact identical, you could do xml1.toXMLString() == xml2.toXMLString() But the two objects can be practically identical, and this compare can be false. Further, if some nodes are simply in a different order, would you still consider the two objects identical? Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Sunday, August 17, 2008 7:40 PM To: [email protected] Subject: RE: {Disarmed} [flexcoders] Compare two XMLs You should be able to use the as3 funtion, contains() (see http://livedocs.adobe.com/flex/3/langref/XML.html <http://livedocs.adobe.com/flex/3/langref/XML.html> ). You would have to read both XML files then use a loop to go through items bResult = xml1.item[nLoop].contains(xml2.item[nLoop]); if (bResult == false ) { {Not equal do your handler, or fire an event, etc...} } ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Sunday, August 17, 2008 5:01 PM To: [email protected] Subject: {Disarmed} [flexcoders] Compare two XMLs If I have two large xml objects can I compare them whether they are identical? Thanks -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , and is believed to be clean.

