Created
February 14, 2015 01:19
-
-
Save avernet/3f5ca5b31b1e1a18c59d to your computer and use it in GitHub Desktop.
Setting the decimal separator in fr:number with a nested element
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xh:html xmlns:xh="http://www.w3.org/1999/xhtml" | |
xmlns:xf="http://www.w3.org/2002/xforms" | |
xmlns:xxf="http://orbeon.org/oxf/xml/xforms" | |
xmlns:ev="http://www.w3.org/2001/xml-events" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:fr="http://orbeon.org/oxf/xml/form-runner"> | |
<xh:head> | |
<xh:title>XForms Hello</xh:title> | |
<xf:model> | |
<xf:instance> | |
<value separator=";">1234.5678</value> | |
</xf:instance> | |
</xf:model> | |
</xh:head> | |
<xh:body> | |
<fr:number ref="." digits-after-decimal="4"> | |
<fr:decimal-separator ref="@separator"/> | |
</fr:number> | |
</xh:body> | |
</xh:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment