See the xmltask at...
http://www.oopsconsultancy.com/software/xmltask.html
The recent announcement of version 1.9 on this list had an example of
exactly what you are looking for. Look it up in the archives.
Jake
At 08:02 PM 1/5/2004 -0800, you wrote:
>We have one XML file from which I would like to generate multiple JSPs
>during the build process. For example, from the following XML:
>
> <stuff>
> <thing>Thing1</thing>
> <thing>Thing2</thing>
> <thing>Thing3</thing>
> </stuff>
>
>I would like to generate:
>
>Thing1.jsp:
>
> <html>
> <h1>Thing1</h1>
> ...
> </html>
>
>Thing2.jsp:
>
> <html>
> <h1>Thing2</h1>
> ...
> </html>
>
>And so on.
>
>Has anyone done anything like this?
>
>Thanks,
>Dhruva
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
>http://hotjobs.sweepstakes.yahoo.com/signingbonus
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|