[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] marker value


Subject: [xsl] marker value
From: "Arun Sinha" <arunsinha666@xxxxxxxxxxx>
Date: Thu, 02 Dec 2004 07:17:21 +0000

Hi,

Here is the problem I am facing :-

(1) When I used a syntax
     <fo:retrieve-marker marker-class-name="stdfooter" />

FOP didn't report any error or warning. And the marker isn't getting
printed in the footer. Even if the document is of more than 1 page.

(2) Then I realised that
      <fo:retrieve-marker marker-class-name="stdfooter" />

should be
      <fo:retrieve-marker retrieve-class-name="stdfooter" />

Now if the document is of one page then it is not getting printed and
if it is of 2 pages then it is getting printed on second page only.


Here is the part of the code that I am using for transformation and format.


The simple page master is :-
<fo:simple-page-master
           master-name="rest-page"
           page-height  ="297mm"
           page-width   ="210mm"
           margin-left  ="2mm"
           margin-right ="2mm">
     <fo:region-body margin-top="118mm" margin-bottom="50mm" />
     <fo:region-before region-name="pageheader" extent="116mm"/>
     <fo:region-after region-name="pagefooter" extent="48mm"/>
</fo:simple-page-master>

The page sequence master is :-

<fo:page-sequence-master master-name="podoc">
     <fo:repeatable-page-master-reference master-reference="rest-page" />
</fo:page-sequence-master>


Then the page sequence is :- <fo:page-sequence master-reference="podoc"> <fo:static-content flow-name="pageheader"> ......... ......... ......... </fo:static-content>

   <fo:static-content flow-name="pagefooter">
       .........
       .........
      <fo:retrieve-marker retrieve-class-name="stdfooter" />
   </fo:static-content>

<fo:flow flow-name="xsl-region-body">
<fo:marker marker-class-name="stdfooter">
<fo:block text-align="right">Continued on next page ...</fo:block>
</fo:marker>
.......
.......
</fo:flow>
</fo:page-sequence>




Something wrong here?

Thanks in advance.

Arun

_________________________________________________________________
Protect your PC! Call in the experts! http://www.msn.co.in/security/ Click here now!



Current Thread