[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Ordering Mathmatical functions in XSLT
> Also Is there a between function? > Example: If test="number($var1) between 5 and 9 > Provided you are dealing with integers, XPath 2.0 allows you to write $var1 = 5 to 9 For the more general case, you need $var ge 5 and $var le 9 which is probably better anyway, as it places fewer demands on the optimizer. Michael Kay
|
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
|