This is an interesting question. Are these nodes "equal", do they "match", are they the "same"?
<node one="one" two="two" /> <node two="two" one="one" /> Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Thursday, September 11, 2008 8:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Searching collections using contains() --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "sleblang" <[EMAIL PROTECTED]> wrote: > > Got it thanks. I was wrongly under the assumption that I could simply > create an XMLNode with the same value of one contained in the XMLList. I am not sure I agree with this. I was able to construct a new node and compare it to existing XML and it worked: http://flexdiary.blogspot.com/2008/03/comparing-xml-nodes-of-same-name- <http://flexdiary.blogspot.com/2008/03/comparing-xml-nodes-of-same-name- > with.html So, it seems like the problem is something else. Possibly the problem was that you were expecting it to match on the text of the node rather than the entire node? -Amy