Ran into an issue with using iteration/overflow. Here's the XML file I used for testing:
<Class>
<Student>George Washington</Student>
<Student>John Adams</Student>
<Student>Thomas Jefferson</Student>
<Student>James Madison</Student>
<Student>James Monroe</Student>
</Class>
I added a standard data selection to display the student element. I then turn on Line Repeat in its properties and tell it to iterate from 1 to 0. My exit and overflow condition is set to "=&iterationcount=2".
When I preview this, I get 4 pages (Student 1 & 2 on the first page, Student 2 & 3 on the second page, Student 4 & 5 on the third page and a blank fourth page). The iteration count isn't properly maintained.
BUT if I add that data selection to a group object and setup iteration/overflow on the group instead of the selection, I get 3 pages of output with the students in the proper order (and no blank page). This is what I'd expect.
I can also add that same data as a text object instead of a data selection object and set up iteration and overflow in the exact same way, and I also get 3 pages of output with the students in the proper order (and no blank page). Again this is what I'd expect.
Is the iteration/overflow working working properly on the data selection?
-nth-