Re: ant, xsl and variables

2010-12-21 Thread Jo Support
Thanks a lot Michael and Scot, it works great! On Tue, Dec 21, 2010 at 1:03 PM, Scot P. Floess wrote: > > Yeah, need to do value-of as Michael suggests... > > > On Tue, 21 Dec 2010, Michael Ludwig wrote: > >> Jo Support schrieb am 21.12.2010 um 11:43 (+0100): >> >>> >> >>> >>>        $newFrwVe

Re: ant, xsl and variables

2010-12-21 Thread Scot P. Floess
Yeah, need to do value-of as Michael suggests... On Tue, 21 Dec 2010, Michael Ludwig wrote: Jo Support schrieb am 21.12.2010 um 11:43 (+0100): $newFrwVersion As you can see it thinks that "$newFrwVersion" is the value to be rendered inside the result file. Where am I doing

Re: ant, xsl and variables

2010-12-21 Thread Michael Ludwig
Jo Support schrieb am 21.12.2010 um 11:43 (+0100): > > > $newFrwVersion > > As you can see it thinks that "$newFrwVersion" is the value to be > rendered inside the result file. > Where am I doing wrong? In not looking into the most basic kind of XSLT docs :-) Try: -- Michael Ludwig

Re: ant, xsl and variables

2010-12-21 Thread Jo Support
Hello Scott, first of all thank you for your reply. I followed your instructions, but it seems that stylesheet does not render the param correctly, and I can't understand where I am doing wrong. Real script following (I've tried both with and without single ticks around parameter in Ant code, with

Re: ant, xsl and variables

2010-12-17 Thread Scot P. Floess
I thought that would work :) But included the other...just in case ;) On Fri, 17 Dec 2010, Michael Ludwig wrote: Scot P. Floess schrieb am 17.12.2010 um 08:05 (-0500): Honestly, its been a while since I passed in params from an Ant script...one of the two should work... At least one of th

Re: ant, xsl and variables

2010-12-17 Thread Michael Ludwig
Scot P. Floess schrieb am 17.12.2010 um 08:05 (-0500): > Honestly, its been a while since I passed in params from an Ant > script...one of the two should work... At least one of them does work: -- Michael Ludwig ---

Re: ant, xsl and variables

2010-12-17 Thread Scot P. Floess
You are mixing concepts... Although your XSLT is invoked from Ant, you lose Ant's properties. Quite honestly, this is no different than kicking off an XSLT from a Java app...the XSLT is somewhat insulated :) You will need to use the param subelement... This should fix your problem (althou

ant, xsl and variables

2010-12-17 Thread Jo Support
Hello people, how do I pass a variable to a stylesheet using xslt task? I have this ant script: and this stylesheet: