I notice at least 1 typo in that expression: `positions` isn't inside
`departmentName`, but inside the parent `_`. So something like this seems
"more correct":
xxf:instance('fr-dataset-staffDetails')/staff/departmentPositions/_[positions/_/positionTitle
=
xxf:instance('fr-form-instance')//control-employee-position]/departmentName
If this doesn't do it, one way to debug this is by just keeping a part of
the expression, and adding a `count(…)`, to check that at every level it
returns something (i.e. if it returns 0, you know that the expression you
have didn't return anything).
I hope this helps,
‑Alex
-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from:
http://discuss.orbeon.com/