RE: [xsl] Evaluating relational expressions

Subject: RE: [xsl] Evaluating relational expressions
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 29 Oct 2001 18:56:59 -0000
> > On pg. 391 of Michael Kay's book, "XSLT Programmer's
> Reference," a table
> > is
> > shown which uses min() & max() to help evaluate the
> expression M < N, when
> > M
> > & N are both node sets. This expression is stated to be
> true when min(M) <
> > max(N), yet, to me, this seems backwards. It seems more
> reasonable to say
> > M
> > < N is true when max(M) < min(N), the reverse of how the
> evaluation is
> > stated in the book.

The actual definition is that M<N is true if some m in M is less than some n
in N. This will be true if and only if the lowest m in M is less than the
highest n in N.

Mike Kay



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


Current Thread