All,

Is there any way to do the following:

I have an XML file with parameters for my product deployments.  The 
segment looks like:

   <DataMods>
    <Input value="abc"/>
    <Output value="def"/>
    <Intermediate value="xyz"/>
  </DataMods>

and what I really want to do is read every <DataMods> child element and 
use the nodename and value attribute to modify a deployed config file.  
If I could do this, then when I need to change a value I just edit the 
XML file; if I need to add/remove a value to be modified I still just 
edit the XML data file.

But it appears that no conjuring of the <xmlpeek> task will quite do 
it.  Does anybody have any ideas on how to loop through each child node 
in an XML file and be able to pick up the nodename and attributes?  TIA!

-- 
Mike Frederick
[EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to