BI Publisher (MOSC)

MOSC Banner

BIP for-each-group not working as expected

in BI Publisher (MOSC) 1 commentAnswered ✓

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')?>

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center