I have a list element in my model instance. I am using Orbeon XForms.
<mypage>
<list name='mylist'/>
<status />
</mypage>
Status can be Private or Public. In xforms:binding, I want to set relevant attribute for showing/hiding the list. The list is bound to a drop-down. If status is Private I want to show the list, if status is Public I want to hide the list.
I tried the following and it does not work.
<xforms:bind nodeset="instance('myinstance')/list[@name='mylist']" relevant="instance('myinstance')/status='Private'" />