xsl-list
[Top] [All Lists]

Re: not(not() and not())

2002-11-16 23:15:06
At 05:14 AM 11/17/02 +0100, you wrote:

The first gives the correct result, but the second paints borders only on
all but the last rowgroup. Shouldn't "... and ..." always be the same as
"not(not(...) and not(...))"? If not, is it a better way to write the above?

not(not(...)) is two nested levels of not
not(...) is only one nested level of not

They can't be equivalent if you remove double negation in the first instance but only single negation in the second instance. You have to remove the same amount of negation from both instances.

Regards,
Brian



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>