ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert r. Sanders" <>
Subject XSLT Param from ANT Property.
Date Tue, 08 Nov 2005 19:43:29 GMT
I'm using ANT 1.6.5; Java 1.5.0_04; Win 2000 sp4.

I'm using the XSLT task from within ANT; and can't seem to get the 
<param ... /> parameter to work as it seems it should.  After trying to 
look it up I haven't been able to find anything useful in explaining 
it.  Basically I have:

<xslt in="Input.xml"
            <!-- the inputs are from the "" file 
created in the "init" task. -->
            <param name="variable1" expression="${props.prop1}"/>
            <param name="variable2" expression="${props.prop2}"/>

When I open the output xml; the params have been set to the strings 
"props.prop1" and "props.prop2" instead of the runtime values.  Am I 
doing something wrong?  Any help would be very useful.


    Robert r. Sanders
    Chief Technologist
    (334) 821-5412

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message