|
Subject: RE: [xsl] XSL-FO Page numbering From: "Ranjan K. Baisak" <ranjanbaisak@xxxxxxxxx> Date: Mon, 6 Dec 2004 03:41:09 -0800 (PST) |
Arun,
Thanks. Such a silly mistake uhh..
regards,
Ranjan
--- Arun Sinha <arunsinha666@xxxxxxxxxxx> wrote:
> Hi
>
> See below.
> That should work.
>
> Cheers.
>
> >Arun,
> > Please find the stylesheet:
> ><?xml version="1.0"?>
> ><xsl:stylesheet
> >xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> > xmlns:fo="http://www.w3.org/1999/XSL/Format"
> > version="1.0">
> ><xsl:template match="/">
> >
> > <fo:root
> >xmlns:fo="http://www.w3.org/1999/XSL/Format">
> > <fo:layout-master-set>
> > <fo:simple-page-master master-name="A4"
> > page-width="297mm" page-height="210mm"
> > margin-top="0.5in" margin-bottom="0.5in"
> > margin-left="0.5in" margin-right="0.5in">
> > <fo:region-before extent="1.0in"/>
> > <fo:region-body margin-top="1.0in"
> >margin-bottom="1.0in"/>
> > <fo:region-after extent="1.0in"/>
> > </fo:simple-page-master>
> > </fo:layout-master-set>
> > <fo:page-sequence master-reference="A4"
> >initial-page-number="1" language="en" country="us">
> > <fo:static-content
> flow-name="xsl-region-before">
> > <fo:block> The Periodic Table</fo:block>
> > </fo:static-content>
> > <fo:static-content flow-name="xsl-region-after">
> > <fo:block>Page <fo:page-number/> of
> ><fo:page-number-citation
> ref-id="theEnd"/></fo:block>
> > </fo:static-content>
> > <fo:flow flow-name="xsl-region-body">
> > <xsl:apply-templates select="//td"/>
>
> <fo:block
> id="theEnd"/>
>
>
> > </fo:flow>
> > </fo:page-sequence>
> > </fo:root>
> ></xsl:template>
> ><xsl:template match="font">
> > <fo:block><xsl:value-of select="."/></fo:block>
> > <fo:block><xsl:value-of
> select="@face"/></fo:block>
> > <fo:block><xsl:value-of
> select="@size"/></fo:block>
> ></xsl:template>
> ></xsl:stylesheet>
> >--- Arun Sinha <arunsinha666@xxxxxxxxxxx> wrote:
> >
> > > Hi
> > >
> > >
> > > >I want to display "Page number n of m" for each
> > > page
> > > >of my stylesheet.
> > > >I have declared the page numbering as below:
> > > >
> > >
> > > The syntax seems to be correct but you might
> have
> > > placed
> > > it at the wrong place.
> > >
> > > Need to see the stylesheet first.
> > >
> > > Cheers.
> > >
> > > Arun
> > >
> > >
>
>_________________________________________________________________
> > > Microsofts festive bonanza! Buy a branded Home
> PC.
> > > http://server1.msn.co.in/sp04/festivebonanza/
> Win a
> > > fabulous holiday!
> > >
> > >
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam? Yahoo! Mail has the best spam
> protection around
> >http://mail.yahoo.com
> >
>
>
_________________________________________________________________
> Microsofts festive bonanza! Buy a branded Home PC.
> http://server1.msn.co.in/sp04/festivebonanza/ Win a
> fabulous holiday!
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] XSL-FO Page numbering, Arun Sinha | Thread | RE: [xsl] XMS/XSLT reading, Michael Kay |
| RE: [xsl] XSL-FO Page numbering, Arun Sinha | Date | Re: [xsl] xsl:variable and xsl-para, Colin Paul Adams |
| Month |