Thanx for your answer but Ive already studied these examples.. I tried it
again and it simply doesn`t work..
what I want to know is how can I refer to the genrated page-numbers in
<fo:page-number-citation ref-id=""/>???

I have tried it like described by Antenna House:

the headline of each article is placed in a <fo:block id="{generate-id()}>

in the table of content I used 
<xsl:for-each select="//headline">
...
<fo:page-number-citation ref-id="{generate-id()}"/>
...

like Antenna House
but the function in ref-id generates completely NEW ids which surely don`t
match with the ones generated in fo:block..
Is there any possibility to write something like <fo:page-number-citation
ref-id="@id"/> ?? Any possibility to write an xsl-command in the ref-id, like
<fo:page-number-citation ref-id="<xsl:value-of select="..."/>"/> ????
I know that it can`t work that way but maybe you understand my problem and
know something similar I could use...

Thank you a lot :)
Marion
> Hi,
> 
> (Remark : This is a XSL issue, nothing particular with XSL FO nor FOP. :)
> 
> you can simply use some other template (usually they use some "toc" named 
> template) to generate your table of content using the same nodes. This
> wat, 
> you can use the same xsl:generate-id function to generate the same
> internal 
> created id here.
> 
> If you need more explanation, here is some sample code in the antennahouse
> 
> fo tutorial here (http://www.antennahouse.com/XSLsample/XSLsample.htm)
> even 
> if it is more complicated than your basic need.
> 
> Cyril
> 
> At 14:11 02/07/2002 +0200, you wrote:
> >Therefore I automatically create
> >id-attributes for each new
> >headline using xsl:generate-id.. but the problem is I cannot refer to
> this
> >generated ids!!  The
> >command fo:page-number-citation contains "ref-id=" but I don`t know how
> to
> >tell FOP that it
> >should use the internal created id-attributes here!  I didn`t find any
> >documentation about this
> >kind of problem.  Maybe you could help me?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to