When I use "repeat", I am receiving this error message "XPath evaluation:type mismatch .. you may need the indexed-repeat() function to specify which value you want". I couldn't solve the problem. Could you please help me with solving it?
@eyupeker There is a bug in Collect that means there is no official support for choice filters in repeats as @ARIF_AZAD_KHAN stated.
There have been recent discussions on how to add that support and this will hopefully be addressed relatively soon. If you or someone you work with is a developer, consider joining the technical discussion about this described at Quick tech call: rectifying current() in choice filter.