ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jo Support <jo.supp...@gmail.com>
Subject Re: ant, xsl and variables
Date Tue, 21 Dec 2010 15:36:11 GMT
Thanks a lot Michael and Scot, it works great!


On Tue, Dec 21, 2010 at 1:03 PM, Scot P. Floess <sfloess@nc.rr.com> 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):
>>
>>> <xsl:param name="newFrwVersion"/>
>>
>>> <xsl:template match="m:version[../m:groupId='it.trend.lit.framework']">
>>>        <version>$newFrwVersion</version>
>>> </xsl:template>
>>
>>> 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: <xsl:value-of select="$newFrwVersion"/>
>>
>>
>
> --
> Scot P. Floess
>
>
> RHCT  (Certificate Number 605010084735240)
>
> Chief Architect FlossWare  http://sourceforge.net/projects/flossware
>                           http://flossware.sourceforge.net
>                           https://github.com/organizations/FlossWare
>
> Chief Architect JPlate     http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM    http://sourceforge.net/projects/javapim
> Chief Architect Keros      http://sourceforge.net/projects/keros
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message