ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Meals" <tme...@intraware.com>
Subject XSLT processor & <param> tags
Date Mon, 30 Jul 2001 20:15:02 GMT
Has anyone run into problems using the Xalan XSLT processor with the
<style> tag and losing parameters passed into the stylesheet?  I have a
target set up like this:

<target name="generate">
    <style basedir="." extension=".xml" destdir="${build.tmp}"
style="features/main.xsl">
        <include name="${build.subdir}/*.xml"/>
        <param name="build.user" expression="'${user.name}'"/>
        <param name="build.time" expression="'${build.time}'"/>
    </style>
</target>

The above fragment works fine for the first file in the directory, but
doesn't set the parameters for any others it processes.  Is this an Ant
problem, or a Xalan bug?  Has this already been addressed in version 1.4
of Ant?  I'm using Xalan 2.0.D01.

Thanks,
Tim

--
Tim Meals
Web Applications Developer

mailto:tmeals@intraware.com
fax:      925-253-4599               http://www.intraware.com
operator: 925-253-4500        Intraware ... Control Your Technology



Mime
View raw message