I don’t think I said “don’t do that”… All I said was, out of the box xmlpoke and xmlpeek are really designed to work with an xpath that matches a single element in the XML. ;)
From: mike@... [mailto:mike@...]
Sent: Friday, April 20, 2012 11:44 AM
Subject: Re: [NAnt-users] xmlpeek and multiple nodes
I have a modified copy of the XMLLIST task that I use for this. This issue comes up quite often for me; I don't understand why this type of situation/solution seems to get downplayed as "...don't do that".
You can find a way to the original here: http://weblogs.asp.net/soever/archive/2006/12/01/nant-xmllist-command-updated.aspx