W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2001

How can I dynmaically use page-number?

From: Clute, Andrew <AClute@iccohio.com>
Date: Thu, 4 Oct 2001 11:40:18 -0400
Message-ID: <2E8751C770016B40BCCA847A085B51C4876EA1@mailman.icc-net.com>
To: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>
I am trying to place a unique barcode on every single page that is rendered.
Right now my code is hard-coded to the barcode generator:

<fo:external-graphic height="1.2in" width=".35in"
src="http://localhost:7001/barcode?code=0401&amp;degree=270&amp;caption=t"/>

Which is telling the barcode server to return a barcode for page 1 of 4.

Ideally, I would like to do something like this:



<fo:external-graphic height="1.2in" width=".35in"
src="http://localhost:7001/barcode?code=04<fo:page-number/>&amp;degree=270&a
mp;caption=t"/>

Which, of course is not valid XML. Anyone have insight on how I might go
about accomplishing this?

Thanks

-andrew
Received on Thursday, 4 October 2001 11:40:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT