The fx-bind
element attaches constraints and calculations to instance nodes.
Name | Description | Default |
---|---|---|
alert | used to specify a message to be displayed when constraints fail | - |
ref | XPath pointing to node(s) the bind is attaching to | - |
calculate | XPath expression to be calculated. Result will become value of node(s) referenced by ref | - |
constraint | boolean XPath expression to determine validity of node(s) | true |
readonly | boolean XPath expression to determine readonly/readwrite state | false |
relevant | boolean XPath expression to determine relevant/non-relevant state | true |
required | boolean XPath expression to determine required/optional state | false |
type | datatype - reserved for future versions | string |
none