Hi, I'm faced with the following situation:
- The stylesheet parameters supposed to be passed to the XSLT processor should be configurable from the "outside world", like this <property name="transformer.xsl.stylesheet.params" value="prop.base.name=internal-history,prop.languages=de en fr" /> - I want to provide a macro that creates a bunch of <param> elements with name and expression attributes based on the number of comma-separated key-value pairs set by the above property (shouldn't be a problem). (The number of key-value pairs depends on the stylesheet). - Later on using the generated <param> elements inside the <xslt> task. That's my problem. How can I "copy&paste" the generated <params> in the <xslt> task? Is this possible using Ant itself (maybe there's some external task available) or do I have to extend the <xslt> task using BeanShell code? (In both cases, suggestions are highly appreciated). I'm currently using Ant 1.6.2, but there probably won't be much difference to Ant 1.6.5 with regard to the aforementioned item. Thanks in advance for any info & have a nice weekend, Holger
signature.asc
Description: Digital signature