BIP for-each-group not working as expected
I am trying to create a custom Deposit Advice template where the EMPLOYEE_HOURS_BY_RATE are displayed in a table format. I have an XML file that has elements repeated with different values. I only want specific elements to show and all the rows for those elements. However, only one row is displayed in the output for each element. Is there something I am missing to not show all of the rows?
Here if my BIP syntax for the fields in the template:
<?for-each-group:EMPLOYEE_HOURS_BY_RATE;./ELEMENT_NAME?><?sort:ELEMENT_NAME;data-type='text'?>
<?if:(xdoxslt:ifelse((current-group()/ELEMENT_TYPE_ID),(current-group()/ELEMENT_TYPE_ID),'12591')='12591') or (xdoxslt:ifelse((current-group()/ELEMENT_TYPE_ID),(current-group()/ELEMENT_TYPE_ID),'13646')='13646') or (xdoxslt:ifelse((current-group()/ELEMENT_TYPE_ID),(current-group()/ELEMENT_TYPE_ID),'13706')='13706')?>