Anne-Claire --
Not sure what your requirements are but does
<xsl:value-of select="xalan:evaluate($param1)"
xmlns:xalan="http://xml.apache.org/xalan" />
solve your problem?
Gary
Anne-Claire Trommenschlager wrote:
>
> Hi,
>
> I didn't resolve my problem. I wanted to evaluate a parameter in my
> stylesheet.
> When I use in my stylesheet : <xsl:value-of select="$param1"/> and this in
> my Java program :
> String paramValue = new String("NAME");
> transformer.setParameter("param1", paramValue);
>
> It gives me : NAME in output.
>
> I agree with that, but what I want to resolve is to obtain in output :
> Hello.
>
> Using XML :
> <NAME>Hello</NAME>
>
> What should I do ? Should I use DOM to modify the value of the node to put
> <xsl:value-of select="NAME"/> or is there an other solution using
> setParameter method ?
>
> Thank for your help
> Anne-Claire