I have a <div> element which I want to use based on the xforms instance value.
Something like:
<xf:trigger appearance="minimal" >
<xf:label >
..
<div if="instance('scope')= 'user'"> <!-- I know this doesn't work -->
</div>
..
</xf:label>
....
</xf:trigger>
Is this 'if' attribute where we check instance values only available with the <xf:action>,<xf:submission> etc. elements and not with regular html elements ? Or is there a way I am missing ?