Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Chris Fouts
That's all I want to do, find a node and update it. From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:36 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes For more than a simple find a node and update it I would recommend you

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Bob Archer
But, is there something unique in the node that you want to update? I assume no since you are looping through them all? BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, April 20, 2012 9:48 AM To: Bob Archer; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Chris Fouts
If I can find out how to loop through them all, I can do the rest. From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:54 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes But, is there something unique in the node that you want

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Bob Archer
In other words, if you can't get to a specific node with an XPath expression you really need to roll your own. That's really what it is designed for. You could do something like what you are doing, however, you probably still need your own script task to get the count of matching nodes. A quick

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Chris Fouts
So no canned support for this? -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:59 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes In other words, if you can't get to a specific node with an XPath expression you

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Bob Archer
For more than a simple find a node and update it I would recommend you write you own code using the script task. Or write your own task. BOb From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, April 20, 2012 9:02 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users]

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Bob Archer
Not really, no. From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, April 20, 2012 10:03 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] xmlpeek and multiple nodes So no canned support for this? -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Chris Fouts
, 2012 10:03 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] xmlpeek and multiple nodes So no canned support for this? -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:59 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread mike
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

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Bob Archer
To: nant-users@lists.sourceforge.net 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