Hi, Yes, you are right, the specification says "An fo:retrieve-marker is only permitted as the descendant of an fo:static-content.". But nevertheless it works with FOP 0.20.5. ;-) But maybe the FOP extension (already mentioned by Pascal Sancho) is a "cleaner" solution: http://xmlgraphics.apache.org/fop/0.20.5/extensions.html#table-continue-labe l
I wonder, why fo:retrieve-marker is restricted to static content and not allowed in the flow. Does anybody has an explanation? Cheers, Sascha -----Original Message----- From: Prakash R [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 6:46 PM To: fop-users@xmlgraphics.apache.org Subject: RE: Long Table repeat header Isn't it true that fo:retrieve-marker can only be used within a fo:static-content? If so, how will this work? Are there any other options? Thank you. Prakash --- Sascha Schmidt <[EMAIL PROTECTED]> wrote: > Hi, > > <fo:marker> and <fo:retrieve-marker> are your best friends here. > Example: > > <fo:flow> > <fo:marker > marker-class-name="continued"></fo:marker> > ... > <fo:table> > <fo:table-header> > <fo:table-row> > <fo:table-cell>Header <fo:retrieve-marker > retrieve-class-name="continued"/></fo:table-cell> > </fo:table-row> > </fo:table-header> > <fo:table-body> > <fo:table-row> > <fo:table-cell> > <fo:marker > marker-class-name="continued">cont.</fo:marker> > content... > </fo:table-row> > </fo:table-body> > </fo:table> > </fo:flow> > > Cheers, > Sascha > > -----Original Message----- > From: Prakash R [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 19, 2005 8:23 AM > To: fop-users@xmlgraphics.apache.org > Subject: Long Table repeat header > > I have a document (FO-PDF) made up of multiple tables. > Some of these tables are long and span multiple pages. > I want to be able to repeat the header on the next page. But at the > same time I want to add the word continued for any subsequent pages. > i.e. > > col1 col2 col3 > TABLE HEADER > ------------------- > jjf jflkds jflkds > fjs jflsda jklfds > jjf jflkds jflkds > fjs jflsda jklfds > jjf jflkds jflkds > fjs jflsda jklfds > --- page break ---- > col1 col2 col3 > TABLE HEADER (CONTD) > ------------------- > fjs jflsda jklfds > fjs jflsda jklfds > > col1 col2 col3 > TABLE HEADER2 > ------------------- > fjs jflsda jklfds > fjs jflsda jklfds > fjs jflsda jklfds > --- page break ---- > col1 col2 col3 > TABLE HEADER3 > ------------------- > fjs jflsda jklfds > fjs jflsda jklfds > fjs jflsda jklfds > > Is there anything in FO that will allow repeating of table header and > also modification of table header in subsequent pages? > > Thank you. > Prakash > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]