Problem with section breaks in XML Publisher template [message #120941] |
Tue, 24 May 2005 19:42 |
dmoser22
Messages: 6 Registered: May 2005 Location: San Diego
|
Junior Member |
|
|
Is there any way to use section breaks in XML Publisher? I haven't been able to get them to work, and now I have desperate need of them.
My template (.rtf) will be used to generate multiple POs from one batch of output, so I need to have section breaks in order to reset the page number. Without this, my headers are shot (there are different headers on page 1 vs remaining pages, so the page 1 version needs to reappear with each PO), as well as the "Page x of y" in the header.
Any suggestions?
Dave
|
|
|
Re: Problem with section breaks in XML Publisher template [message #124198 is a reply to message #120941] |
Thu, 16 June 2005 16:56 |
tdexter
Messages: 2 Registered: June 2005
|
Junior Member |
|
|
Dave
Not sure what version you are on but from 5.0 forward we allow you to break in the way you want. Rather than using for-each:GROUP_NAME you use for-each@section:GROUP_NAME, every time xmlp hits a new member of GROUP_NAME the page numbering and header is reset. I have loaded a sample try it out.
Regards
Tim
|
|
|
|
|
|
Re: Problem with section breaks in XML Publisher template [message #135952 is a reply to message #120941] |
Mon, 05 September 2005 02:21 |
laywema
Messages: 3 Registered: June 2005
|
Junior Member |
|
|
Hi,
I'm having the same problem with pagenumbering so I tried the RepeatHeader.rtf example in Template Builder (1.0.0 Build 9 on WinXP SP2, MS Office XP SP3) with the supplied RepeatHeader.xml. I got very strange output; pdf-output showed Page 1 of 3 till Page 3 of 3, the last page was Page 1 of 3. RTF-output showed Page 1 of 3 till Page 3 of 3, the last page was Page 4 of 1.
Is something wrong with my configuration?
Regards,
Louis
|
|
|
|
|
Re: Problem with section breaks in XML Publisher template [message #236555 is a reply to message #124198] |
Thu, 10 May 2007 04:39 |
mardaff
Messages: 1 Registered: May 2007
|
Junior Member |
|
|
tdexter wrote on Thu, 16 June 2005 16:56 | Dave
Not sure what version you are on but from 5.0 forward we allow you to break in the way you want. Rather than using for-each:GROUP_NAME you use for-each@section:GROUP_NAME, every time xmlp hits a new member of GROUP_NAME the page numbering and header is reset. I have loaded a sample try it out.
Regards
Tim
|
Hi,
I have the same problem with the page numbering.... I want my page numbering to be reset by customer.... I did like in your example but it's still not working. I'm using XML Publisher 5.6.2
and even your example is not working on my side....can you tell me where it's seems to be the problem?
Thx
|
|
|
|
|
|
|