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

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

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