ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject RE: Passing xsl the xml filename as a parameter.
Date Thu, 18 Aug 2005 15:36:07 GMT
> From: news [mailto:news@sea.gmane.org] On Behalf Of Ron Piterman
> 
> The xslt task has a parameter sub-element. How can I pass the current
> xml file name being processed to the stylesheet?

You can't, AFAIK. Use Ant-Contrib's <for> task to call <xslt> for each
individual file. Will be slower since will recompile the stylesheet
everytime, but then you know which (single) file you are processing. --DD


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


Mime
View raw message