Hi All,

I'd like to do something like this:

<style
        style="CodeGenerator.xsl"
        outextension="java">
        <infiles>
                <includes name="*.xml"/>
        </infiles>
<style>

See an example below if this needs clarification.

In my situation, XML files are added often, and there are four different stylesheets 
for each one, making a style task per transform a maintenance problem.

Is there anything currently in NAnt to pull this off?  I saw there's some note of 
"todo: filesets" in the style task source, and so I'll probable code it up unless 
there's a different way to accomplish the same thing.

 - Jason Pettys



For fileset:
  cat.xml
  dog.xml
  fox.xml

The CodeGenerator.xsl will be applied against each individually, yielding:
  cat.java
  dog.java
  fox.java


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to