[Home] [By Thread] [By Date] [Recent Entries]
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 > tried: > > <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)". thanks, Pedro Salazar. -- PS pedro-b-salazar_at_ptinovacao_dot_pt PGP:0E129E31D803BC61
|

Cart



