|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to fuzz the last four digits of a lat/long?
> But, but, but, ....
>
> I really want to do the transformation in one step.
Why?
There are clearly two separate operations here - rounding the value and then
formatting it. I would do
round($x, 2) => format-number("000.000000")
Michael Kay
Saxonica
> Is there a way to do the transformation in one step (using the built-in XSLT
or XPath functions)? As best I can tell, I can't do it in one step using the
format-number() function, right?
>
> Ditto for the longitude transformation.
>
> /Roger
|
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
|

Cart








