You can only do that at XSLT level. In the FO file, the static-content has to be repeated for every page-sequence. That's how XSL-FO works, I'm afraid.
Jeremias Maerki On 15.10.2007 08:17:48 Murali Krishna wrote: > Hi Phyllis, > Thanks for the reply.I am aware of including the <fo:static-content> > inside the page sequence .Actually my requirement is something else.Here > whatever <fo:block > we have inserted into the page sequence at some flow > region ,the same <fo:block> has to be inserted across, say five pages > ,without redundant repetition of the same <fo:block> in the xslfo code .So i > want some declarative template <fo:block> kind of thing which will be > repeated in all the pages without actually writing explicitly evertime in the > page sequence. > > regards, > Murali Krishna > Hi, > > You should be able to put the <fo:static-content> in the <fo:page-sequence>. > > <fo:page-sequence master-reference="detail"> > <fo:static-content flow-name="xsl-region-after"> > <fo:block text-indent="5mm" font-family="verdana" > font-size="12pt" space-before="5mm" space-after="5mm" font-weight="bold"> > This Text belongs to the footer part of the FO page > </fo:block> > </fo:static-content> > <fo:flow> > .... > </fo:flow> > </fo:page-sequence> > > -----Original Message----- > From: Murali Krishna [mailto:[EMAIL PROTECTED] > Sent: Friday, October 12, 2007 6:07 AM > To: FOP users > Subject: Adding same header and footer for multiple page sequences in > XSLFO > > > Hi, > I have a requirement to have same header and footer on every page of the > pdf output of xslfo . > Without using following redundant code in every page sequence how could i > achieve the same effect by declaring the footer once and just refer somehow > to that on every page sequence. > > The footer is as follows:- > > <fo:static-content flow-name="xsl-region-after"> > <fo:block text-indent="5mm" font-family="verdana" font-size="12pt" > space-before="5mm" space-after="5mm" font-weight="bold"> > This Text belongs to the footer part of the FO page > </fo:block> > </fo:static-content> > > Thanking in anticipation, > > Murali Krishna --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]