On Wed, 2004-02-04 at 21:13, Glen Mazza wrote:
>
> ...
> ...
> Version select="$versionParam"/> ...
>
> But it keeps outputting "Version 1" in the resultant
> PDF. What is the standard way of getting it to
> display "Version 1.0"?
select='format-number($versionParam,"##.0")'
should work.
--
I believe you need the select value in single quotes, as in:
From:
http://www.w3.org/TR/xslt#local-variables
NOTE:The nearest equivalent in Java to an xsl:variable element in a
template is a final local variable declaration with an initializer.
For example,
has similar semantics to
final O
On Wed, 2004-02-04 at 21:13, Glen Mazza wrote:
> Since this is FOP work-related, I guess I can be
> allowed to ask a very newbie XSLT question here:
>
> I just added a parameter to one of the XSL example
> files (eventually to show the use of a JAXP
> transformer.setParam() call) as follows:
>
>