ok, tried this and it works GREAT! Thanks for the RegEx task.
However, one of the minor things I tried is to tack on a directory to the out variable. Right away, NAnt blew up with a "NotSupportedException" Any plans on adding this or do I have to just manually copy the files with the <copy> task? Thanks, Griffin > So, what Griffin wanted (extracting the filenames of > xml files) can be accomplished as such: > > <foreach item="File" in="${xml.dir}" > property="xml.filename"> > <regex pattern="^(?'filename'.*).xml" > input="${xml.filename}"/> > <style style="${xsl.dir}/StyleSheet.xsl" > in="${filename}.xml" > out="${filename}.html"/> > </foreach> ===== Griffin Caprio "Your child against mine. The winner will be hailed, the loser will be booed until my throat hurts!" - Homer Simpson to Marge __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers