ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: Invoking Ant XML fragments (Was:Re: Adding variable no of <param> elements to <xslt> task)
Date Mon, 11 Sep 2006 13:44:18 GMT
Hello Holger,

you can generate a XML file which will be basically a mini ant build file

<project name="generated">
   <target name="sometarget">
       <xslt ....
       </xslt>
   </target>
</project>

and get it started using the <ant/> task.

to generate the XML file you can use the XMLTask or use another stylesheet.

Regards,

Antoine
-------- Original-Nachricht --------
Datum: Mon, 11 Sep 2006 12:08:01 +0200
Von: Holger Rauch <holger.rauch@heitec.de>
An: user@ant.apache.org
Betreff: Invoking Ant XML fragments (Was:Re: Adding variable no of <param> elements
to <xslt> task)

> Hi Antoine,
> 
> after googling a bit, I found this:
> 
> http://www.oopsconsultancy.com/software/xmltask/#examples
> 
> => It's possible to create an XML fragment describing the <xslt> task
>    (including the <param> elements for the stylesheet parameters)
> 
> But that leads me to a totally different question: Is it possible to
> "invoke" such a dynamically created fragment (i.e. the <xslt> task is
> invoked in a way as if the fragment were already contained in the Ant
> file instead of being dynamically generated)?
> 
> (Reason why I'm asking is that I want to avoid - if possible - style
> breaks
> by introducing beanshell code).
> 
> Thanks in advance for any info!
> 
> Kind regards,
> 
> 	Holger
> 

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


Mime
View raw message