Lists Home |
Date Index |
On Tue, 2004-03-02 at 21:12, G. Ken Holman wrote:
> You say "another attribute" yet you are asking for an element ... have you
> <assert test="count(a[@x and not(@y)])=10"> the sum must be 10 </assert>
> Also, I note you are using count() but documenting it as sum() ... is that
> what you need?
You're right. I think I may have done a few mistakes on my tests. I just
tested as you said (and as I was thinking but not as I wrote here), and
worked just fine.
Is a "not(@y)" and not a "not(y)".