BI Publisher (MOSC)

MOSC Banner

BI Publisher reference next element inside for-each

edited Sep 5, 2012 9:03AM in BI Publisher (MOSC) 3 commentsAnswered ✓
Hello!Having this XML as example:

<A>
    <C>C1</C>
<A/>
<A>
    <B>B1</C>
    <C>C2</C>
<A/>
<A>
    <B>B2</B>
    <C>C3</C>
<A/>

We want to print for each A: 
- B1, C1
- B2, C2
- C3

So the question is, is there any way to reference the next element inside a for-each loop?
Because for the first A, we only have C1 but in the next A we there have B1.
I know a simple solution could be build the XML properly, but this is just another question.

Regards

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