|
Subject: [xsl] Evaluating relational expressions From: "Streng, Jonathan D. (LNG)" <Jonathan.Streng@xxxxxxxxxxxxxx> Date: Mon, 29 Oct 2001 12:04:08 -0500 |
> "Hello World!"
> 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. For example is:
>
> min({*1*,2,3,4,5}) < max({4,6,8,10,*12*}) = true?
> or
> max({1,2,3,4,*5*}) < min({*4*,6,8,10,12}) = false?
>
> min({*1*,2,3,4,5}) < max({7,9,11,13,*15*}) = true?
> or
> max({1,2,3,4,*5*}) < min({*7*,9,11,13,15}) = true?
>
> min({*4*,6,8,10,12}) < max({1,2,3,4,*5*}) = true?
> or
> max({4,6,8,10,*12*}) < min({*1*,2,3,4,5}) = false?
>
> min({*7*,9,11,13,15}) < max({1,2,3,4,*5*}) = false?
> or
> max({7,9,11,13,*15*}) < min({*1*,2,3,4,5}) = false?
>
> Any thoughts on this would be greatly appreciated! Thanks!
>
> Jonathan Streng
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] FO/FOP Query - Numbered List, Joerg Pietschmann | Thread | RE: [xsl] Evaluating relational exp, Michael Kay |
| [xsl] FO/FOP Query - Numbered List, Joerg Pietschmann | Date | [xsl] Xalan Encoding Problems, Raul Rodriguez |
| Month |