I'm only addressing the XMLPEEK question; my answer makes the second question unnecessary.
Don't use xmlpeek for this operation. I only use xmllist now...http://weblogs.asp.net/soever/archive/2006/12/01/nant-xmllist-command-updated.aspx XMLLIST allows for multi-attribute/multi-node reads. It also does the correct thing with output (output only occurs when logging is set to Verbose). Date: Sun, 16 Nov 2008 15:17:33 +0800 (CST) From: "netvampire.tw" <[EMAIL PROTECTED]> Subject: [NAnt-users] xmlpeek multinode and script parameter? To: nant-users@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="utf-8" I have a XML see blow,I want to read the revision recuresively.I had read Archives history.I can use nodeindex and foreach to read.but in the history it must already know how many nodeindex are there in xml file.I write a script to count nodeindex. I have problems 1.may I use dynamic xmlpeek recursively? 2.how can I use method parameter in the script? I need use scirpt with parameters with input filename and xpath ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users