[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPath proximity position in predicates
At 2006-05-15 12:30 +0200, David Landwehr wrote:
It might be that a default of rounding the number expression isn't always the solution an author would want. The reason I took a guess for rounding is that if you write select="element[(((7 div 5) div 3) * 5) * 3]", you get from the constant expression select="element[6.99999999999]" which will never select an element. In that particular case rounding would be what I expected. Yes, I understood that, and it seems intuitive but from a standards perspective the question would be would you want that to *always* happen, or should it be up to the user to decide what to do with inaccurate results as it might depend on the situation (as I tried to highlight in my example)? Thanks for following up. . . . . . . . . . Ken Best regards, David -- Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16 Also for XSLT/XSL-FO training: Minneapolis, MN 2006-07-31/08-04 Also for XML/XSLT/XSL-FO training:Birmingham,England 2006-05-22/25 World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|
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
|