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 Fri, 17 Dec 2010 13:58:47 GMT
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:

<project>
  <property name="indir" value="in"/>
  <property name="outdir" value="out"/>
  <property name="ss" value="floor.xsl"/>
  <property name="floorType" value="wood"/>
  <xslt basedir="${indir}" destdir="${outdir}" extension=".xml"
      style="${ss}">
    <include name="**/*.xml"/>
    <param name="floorType" expression="${floorType}"/>
  </xslt>
</project>

-- 
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