ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <mil...@gmx.de>
Subject Re: ant, xsl and variables
Date Tue, 21 Dec 2010 11:39:50 GMT
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"/>

-- 
Michael Ludwig

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


Mime
View raw message