Is there any easy way to get the substring of a
property?  For example, I an iterating over a
directory of xml files.  I would like to extract the
filename, without the .xml extension, and use that as
the output of a xslt transformation.  Here is the
target from my build file:

<foreach item="File" in="${xml.dir}"
property="filename">
   <style style="${xsl.dir}/StyleSheet.xsl"
in="${xml.dir}/${filename}.xml"
out="${html.dir}/${filename}.html"/>
</foreach>

Any way to do this or do I smell a new task coming on?

-Griffin

=====
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! Web Hosting - establish your business online
http://webhosting.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to