Better expression of conditional default values
From W3C XForms Group Wiki (Public)
Revision as of 15:19, 25 February 2010 by Jean-gui
In current XForms 1.1, you can have something like this:
<bind nodeset="some/node" readonly="false()" calculate="if(.='', 'default', .)"/>
This imposes the default value whenever the emptry string condition occurs on the node. Would like a more straightforward and declarative way of representing this pattern.