This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Evaluating relational expressions


> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]