Lists Home |
Date Index |
> a.) As Uche pointed out, the question also involves whether node
> identity or the text values of nodes are used. Your technique works
> for identity based equivalence tests but not value based tests
Yes of course. If you want value based set equality that's
not($b[. != $a]) and not($a[. != $b])
> b.) Calling count() four times instead of having an explicit operator
> is bad form both performance wise and readability wise.
No disagreement there, but you did't say it wasn't pretty, you said it
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.