Re: apostroph in group-separator (@xxforms:format)

Posted by Erik Bruchez on
URL: https://discuss.orbeon.com/apostroph-in-group-separator-xxforms-format-tp32790p32791.html

Frederic,

This answer I sent yesterday may help:

http://www.nabble.com/Re%3A-format-number-with-custom-decimal-format-not-working-p8922537.html

I think what we would need ideally is the ability to define a decimal
format as defined in XSLT:

   http://www.w3.org/TR/xslt20/#element-decimal-format

In the meanwhile, translate() will be your friend.

-Erik

[hidden email] wrote:
> Hi,
>
> I want to put an apostroph (')  as group separator for the format-number function but I don't see how to do it (with xslt it's ok but I need to do it with the @xxforms:format)
>
> Here I use coma but I would like to use '...
> <xforms:output ref="instance('main')/data" xxforms:format="format-number((.), '###,###,##0.00')"/>
>
> Thanks

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws