Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Ordering Mathmatical functions in XSLT [Thread Next] RE: [xsl] Ordering Mathmatical functions in XSLTTo: Date: 8/1/2004 6:37:00 PM > 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
