I think the best way to handle this would be with an extension.
An external graphic does not know what page it is on and the page number cannot be resolved until after the image is loaded. The website has some info about creating extensions. On Thu, 04 Oct 2001 18:51:38 "Clute, Andrew" wrote: > 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: > > <code> > <fo:external-graphic height="1.2in" width=".35in" > src="http://localhost:7001/barcode?code=0401°ree=270&caption=t"/> > </code> > > Which is telling the barcode server to return a barcode for page 1 of 4. > > Ideally, I would like to do something like this: > > <code> > <fo:external-graphic height="1.2in" width=".35in" > src="http://localhost:7001/barcode?code=04<fo:page-number/>&degree=270&a > mp;caption=t"/> > </code> > > Which, of course is not valid XML. Anyone have insight on how I might go > about accomplishing this? > > Thanks > > -andrew --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]