orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
514 stars 221 forks source link

xf:output to apply format based on the type of `value` expression #2815

Open avernet opened 8 years ago

avernet commented 8 years ago

E.g. <xf:output value="current-date()"/> should use the format specified by the oxf.xforms.format.output.date property. For consistency, this should also be done in case ref returns an atomic value (instead of pointing to a node in an instance).

+1 from community

ebruchez commented 8 years ago

Yes I think this would make sense.