ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject RE: Passing xsl the xml filename as a parameter.
Date Thu, 18 Aug 2005 15:36:07 GMT
> From: news [] 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:
For additional commands, e-mail:

View raw message