ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <sflo...@nc.rr.com>
Subject Re: ant, xsl and variables
Date Tue, 21 Dec 2010 12:03:47 GMT

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


Mime
View raw message