Hello, my 2 cents.... ant has an xslt task, you could use maven antrun plugin to run it
will that be a possible solution? hth marco On 10/11/06, Andreas Guther <[EMAIL PROTECTED]> wrote:
I am not aware of an XSLT plug-in, but writing one should be a pretty straight forward task. I guess I then would try to associate the plug-in with source code generation or something similar during the site creation life cycle. Writing Maven 2 plug-ins is an easy to achieve task and there are plenty of examples available. Andreas -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2006 7:24 AM To: [email protected] Subject: Maven XSLT Plugin Question I have an application that using XML to define the features added to each release version. I wrote an XSLT to convert this XML into the changes plugin XML format. This allows me to have the same information in the application and the generated site, but the XSLT execution is a manual step. I have a couple of ideas for a solution, but I'm not sure what is available. 1. Does the changes plugin allow a mapping XSL to be included to convert a different XML into a changes plugin? 2. If not, is there plugin to executes XSL transforms during the site cycle? 3. If not, can an ant script be setup to run before the changes plugin? Or is there a "pre-site" cycle that it can be executed. If you have a different idea, I would be interested in hearing it. Especially if the ant script is the only solution, since it seems hackish to call java with a Saxon jar to transform during the site generation. Thanks for the help, -Nate --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
