I've often wanted to do this too, but don't know of any way to do it. Similarly, I wish I could foreach over a nodelist produced by an xsl query. That would be sweet.
________________________________ Gary McCullough -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felice Vittoria Sent: Friday, August 20, 2004 12:50 PM To: Nant-Users (E-mail) Subject: [Nant-users] foreach task item = string Hello all, Presently, I can do something like this: <foreach item="String" in="Text1,Text2,Text3,Text4" delim="," property="text_strings"> <echo message="${text_strings}" /> </foreach> I was wondering ... is it possible to do something like: <foreach item=String" property="text_strings"> <in> <items> <include name="Text1" /> <include name="Text2" /> <include name="Text3" /> <include name="Text4" /> </items> </in> <do><echo message="${text_strings}" /></do> </foreach> BTW .. The above does not work. However, I was wondering if something like it can be done without placing the text strings in a file. Thanks, Felice ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
