I have a very dynamic form that´s displaying content of an xml file. The structure of the xml looks something like this:
<multiorder>
<order>
<orderid>1111</orderid>
...
</order>
<order>
<orderid>2222</orderid>
...
</order>
<order>
<orderid>3333</orderid>
...
</order>
</mulitorder>
Depending on the content of the order tag each order is rendered into 1 to 4 pages. I want to display the orderid of each order at the bottom of each page.
E.g.:
Order 1111 is rendered into 2 pages (Page 1 and Page 2), Order 2222 is rendered into 1 Page (Page 3) and Order 3333 is rendered into 4 pages (Page 4 ... Page7)
Now Page 1 and 2 should display the orderid "1111" at the bottom, Page 3 the orderid "2222" and Page 4..7 the orderid "3333".
I thought I could achieve this by using a calculated textfield at the master page and extract the orderid of the current order in the calculation script. But the generated pdf displays the first orderid at all pages.
Is there a way to solve this problem?
Thanks in advance
Helmut