The relevant() function

Release 2.0 - ...

The relevant() function is equivalent to the exforms relevant() function described in Model Item Properties Extension.

XML CopyCode image Copy Code
boolean exf:relevant(node-set?)

This function returns the relevant state of the node from the specified node-set which is first in document order. If the node-set is empty then the function returns false. If the argument is omitted, it defaults to a node-set with the context node as its only member.

Namespaces

This function is available within the exforms namespace (http://www.exforms.org/exf/1-0) as well as the Smartsite XForms namespace (http://smartsite.nl/namespaces/xforms/1.0).