IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#20741 - 08/30/07 10:55 AM XML data overflow
simonb Offline
OL Newbie

Registered: 03/01/05
Posts: 25
Loc: Coulsdon
hi,

i have a form which i am using a XML emulation. it is a invoice that i'm trying to create. this is the first time i have used xml.

i have a need to be able to roll onto n number of pages for any 1 invoice within the data file.

in the data selection window in the data pane i have not set any iteration. using the logic from the help files i have then gone to the repeat pane and selected line repeat, and set the from iteration to 1 and the to iteration to 0 as i have an unknown number of line items.

the interation condition is True and the condition to exit and overflow is set to =&iterationcount>=15 (as i can only fit 15 iterations of this data selection on the page.

this seems to work when i see it in the design tool (as you can't really see it working in the design tool) but when i preview this document it just continues to try and compile the form. it there are over 15 iterations.

i have tried the same in version 6 and it does something slightly different in that it seems to finish compiling but when it converts to PDF it either hangs on no particular page number or the page number just keeps going up way past the expected number of pages required.

any ideas how to do this as it seems fro mthe help files that it should be possible.

many thanks

simon

Top
#20742 - 08/30/07 03:24 PM Re: XML data overflow
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Simon,

From what you are describing, it seems like it loops too much, and generate an extremely large number of pages. This could happen if your condition is incorrect, and always true, no matter what line of data it's reading. Did you double-check your condition, and make sure it's only true on particular lines?

If the condition is fine, and it still doesn't work, there are other ways to do overflow that might work better with XML. If you're interested, please open a support issue. Go on the main web page, and choose Services->Support->Report an issue. Once the issue is opened, a tech will contact you, and help you solve this problem.

Regards,
Rapha

Top


Moderator:  cosimo, OL Newsgroup Support