Otavio wrote:
but how I set a variable in XSLT and pass a value for it ?

XSL transformation and XSLFO layout are two separate stages of a process. Page numbers are calculated at the XSLFO stage. There is no standardized way to pass a page number value back into the XSLT stage. If you do something like this: <xsl:variable name="foo"> <fo:page-number/> </xsl:variable> the value of the variable is a RTF with an element node, the node fo:page-number, rather than a numeric value. If you do <xsl:value-of select="$foo"/> you'll insert the string value of the variabel into the XSLT result, which is an empty string.

If you post an adequate description of the original problem you have
to solve, someone might provide a solution for it.

J.Pietschmann

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



Reply via email to