[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Evaluating relational expressions
> "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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|