ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhruva B. Reddy" <sledgehammer2...@yahoo.com>
Subject Generate Multiple Files from Single XML Source with XSLT Task
Date Tue, 06 Jan 2004 04:02:18 GMT
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


Mime
View raw message