Re: XSL WD1.0: Numbering in the source tree

Subject: Re: XSL WD1.0: Numbering in the source tree
From: James Clark <jjc@xxxxxxxxxx>
Date: Wed, 02 Sep 1998 17:10:26 +0700
Jeremy CALLES wrote:
> 
> I am wondering how you could in XSL express the total number of pages of
> a Document.
> 
> For example, I want to know how to write with xsl:number
> 
>         3/10  where 3 is the number of the current page
>               and 10 is the total number of pages.

You would do something like

 <fo:current-page-number/>
 <xsl:text>/</xsl:text>
 <fo:total-number-of-pages/>

but these formatting objects haven't yet been defined.  Note this isn't
an issue of numbering in the source tree, because it's not counting
source elements.

James



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread