Thank you very much Gary, it is exactly what I was looking for.
Thanks
Anne-Claire
> -----Message d'origine-----
> De: Gary L Peskin [SMTP:[EMAIL PROTECTED]]
> Date: vendredi 1 juin 2001 07:40
> �: [EMAIL PROTECTED]
> Objet: Re: Stylesheet Parameters
>
> 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