Model-Bind variables
Overview
Variable resolution
With Orbeon Forms 4.5 and newer
<xf:bind id="fr-form-binds" ref="instance('fr-form-instance')">
<xf:bind id="my-section-bind" name="my-section" ref="my-section">
<xf:bind id="my-repeat-bind" ref="my-repeat" name="my-repeat">
<xf:bind id="col1-bind" ref="col1" name="col1" type="xf:decimal"/>
<xf:bind id="col2-bind" ref="col2" name="col2" type="xf:decimal"/>
<xf:bind id="rowsum-bind" ref="rowsum" name="rowsum"
calculate="sum(($col1, $col2)[string() castable as xs:decimal], 0.0)"
type="xf:decimal"/>
</xf:bind>
<xf:bind id="totalsum-bind" name="totalsum" ref="totalsum"
calculate="sum($rowsum[string() castable as xs:decimal], 0.0)"
type="xf:decimal"/>
</xf:bind>
</xf:bind>
With Orbeon Forms 4.4 and earlier
See also
Last updated