The hint() function

Release 2.0 - ...

The hint() function returns the hint belonging to a specific node or the hint of an element with a corresponding id attribute.

XML CopyCode image Copy Code
string sxf:hint(node or id)

When the parameter represents an Xml node, the contents of the (first) hint element bound to this node will be returned.

Otherwise, the parameter is interpreted as string and will be used to find an xforms element with corresponding id attribute. If found, the hint contents of this element is then returned.

Example:

XML CopyCode image Copy Code
<xf:output value="sxf:hint(node())" />

Namespaces

This function is available within the Smartsite XForms namespace (http://smartsite.nl/namespaces/xforms/1.0).