BI Publisher (MOSC)

MOSC Banner

Unable to access a node from outer for-each loop inside inner for-loop

edited Dec 30, 2018 4:02AM in BI Publisher (MOSC) 3 commentsAnswered

Hi,

I am trying to access a node from outer for-each loop inside condition of inner for-loop. In XML structure, these two(LINE and LINE_LOCATION) are from two different blocks. I am not able to access the node from the outer loop. There is LINE_NUM attribute inside LINE, which I need to get inside LINE_LOCATION loop to compare with the LINE_NUM attribute inside LINE_LOCATION. Please see attached structure, and let me know if you can help with this.

<?for-each:/MODIFICATION/LINES/CHANGED_LINES/LINE?>

<?for-each:/MODIFICATION/LINE_LOCATIONS/CHANGED_LINE_LOCATIONS/LINE_LOCATION[LINE_NUM={Replace with LINE_NUM from the LINE of outer loop}]?>

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