[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

marker value

Subject: marker value
From: "Arun Sinha" <arunsinha666@xxxxxxxxxxx>
Date: Thu, 02 Dec 2004 07:17:21 +0000
marker value
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.