E1: XMLP: How to Avoid Blank Rows in BI Publisher Reports when for-each Loop Is Set on Empty Tag
Last updated on MAY 30, 2017
Applies to:JD Edwards EnterpriseOne Tools - Version 8.98 and later
Information in this document applies to any platform.
Information Center: BI Publisher in the JD Edwards EnterpriseOne Tools and Technology Product > Information Center: Using BI Publisher in the JD Edwards EnterpriseOne Tools and Technology Product > Note 1460779.2
Blank rows of data are inserted in the BI Publisher report when the XML tag against which the for-each loop is defined is an empty tag.
To illustrate the problem take this sample XML source:
Note that in its second occurrence the tag <Fruit> is empty.
Now say you define a RTF template that will loop through each <Fruit> and print a table showing the fruit name and its corresponding number:
This is what the BI Publisher output will look like:
Because the second occurrence of <Fruit> is empty the loop will be executed but no values will be printed.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms