Thanks for the reference to <xmllist>. I have built this code into my standard extension DLL and it seems to be working as advertised.
However, there is a part of the problem that I have yet to find a good solution. In the example below, I can generate a list of all the 'Path' attributes, or all the 'Status' attributes. However, there is no practical way (that I can think of) to iterate over these two lists simultaneously. What I really need is to 'fetch' each <FileItem> node, one at a time, then gather the various attributes set for that node. Then, iterate to the next <FileItem> node in the file. Is there any way to do this via <xmllist> or with some combination of other Nant tasks? <?xml version="1.0"?> <MyFileList> <summary> </summary> <FileItems> <FileItem Path="file01.txt" Status="good" Mode="ok" /> <FileItem Path="file02.txt" Status="bad" Mode=" ok" /> <FileItem Path="file03.txt" Status="good" Mode="notok" /> <FileItem Path="file04.txt" Status="ignore" Mode="ok" /> <FileItem Path="file05.txt" Status="bad" Mode="ok" /> </FileItems> </MyFileList> The only other solution I can find is to execute three <xmllist> tasks and fetch the 'Path' , 'Status' and 'Mode' attributes into separate comma separated strings. Then, perform string manipulations in such a way as to fetch the 'Path' , 'Status' and 'Mode' attributes in parallels. It seems like there must be a more straightforward and direct solutions to this? Has anyone attempted to modify the <xmllist> task to fetch and xml element, then it's subsequent attributes? Thanks, Ken Parrish Gomez, Inc. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users