>-----Original Message-----
>From: Pedro Santos [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 24, 2005 10:45 AM
>To: nant-users@lists.sourceforge.net
>Subject: [Nant-users] style task
>
>
>Hello.
>
>I use the <style> task to transform some xml file. However, the task rarely 
>executes, I only get:
>
>rulestojs:
>
>BUILD SUCCEEDED
>
>The XSLT is not performed. Only sometimes the task actually performs the 
>transformation. I use it like this:
>
><style style="xslt/rulestojs.xslt" in="resources/ships.xml"  
>    out="xslt/Ships.js">
>    <parameters>
>        <parameter name="topObject" namespaceuri="" value="Ship" />
>    </parameters>
></style>
>  
>Am I missing something? Thanks.

The <style> task will only execute the transformation again, if one of the 
following conditions are met:

- the output file does not exist.
- the input file or the stylesheet have been updated after the output file was 
last modified.

Gert




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to