Yes, yes, and no (if by same, you mean ===). XML says attributes have no
ordering.

-Josh

On Fri, Sep 12, 2008 at 1:06 PM, Tracy Spratt <[EMAIL PROTECTED]> wrote:

>  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 <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-
> 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
>
> 
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

http://flex.joshmcdonald.info/

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to