title: How to Read and Edit XML Nodes
body: <p>I am fairly new to all of this and am struggling to find the answer, so any pointers in the right direction would be great.</p>
  
  <p>I have an XML file from a system that I have no control over and it produces it like this:</p>
  
  <pre><code>&lt;?xml version="1.0" ?&gt;
  &lt;WatchConfig&gt;
  &lt;ProcessList&gt;
      &lt;Process&gt;
          &lt;RunOnDesktop&gt;0&lt;/RunOnDesktop&gt;
          &lt;DaysToKeepBackup&gt;10&lt;/DaysToKeepBackup&gt;
          &lt;Scheduler&gt;
              &lt;Active&gt;-1&lt;/Active&gt;
              &lt;Startup&gt;0&lt;/Startup&gt;
              &lt;SelfRepl&gt;0&lt;/SelfRepl&gt;
              &lt;MaxPercent&gt;0&lt;/MaxPercent&gt;
              &lt;Delay&gt;4&lt;/Delay&gt;
              &lt;AsSoon&gt;-1&lt;/AsSoon&gt;
              &lt;OneTime&gt;0&lt;/OneTime&gt;
              &lt;Period&gt;0&lt;/Period&gt;
              &lt;Week&gt;1&lt;/Week&gt;
              &lt;Interval&gt;2&lt;/Interval&gt;
          &lt;/Scheduler&gt;
          &lt;UniqueName&gt;0ZISFZL6O6S5001&lt;/UniqueName&gt;
          &lt;Name&gt;Process1&lt;/Name&gt;
          &lt;Group/&gt;
          &lt;MetaFileName/&gt;
                   &lt;/Process&gt;
      &lt;Process&gt;
          &lt;RunOnDesktop&gt;0&lt;/RunOnDesktop&gt;
          &lt;DaysToKeepBackup&gt;10&lt;/DaysToKeepBackup&gt;
          &lt;Scheduler&gt;
              &lt;Active&gt;0&lt;/Active&gt;
              &lt;Startup&gt;0&lt;/Startup&gt;
              &lt;SelfRepl&gt;0&lt;/SelfRepl&gt;
              &lt;MaxPercent&gt;20&lt;/MaxPercent&gt;
              &lt;Delay&gt;4&lt;/Delay&gt;
              &lt;AsSoon&gt;-1&lt;/AsSoon&gt;
              &lt;OneTime&gt;0&lt;/OneTime&gt;
              &lt;Period&gt;0&lt;/Period&gt;
              &lt;Week&gt;1&lt;/Week&gt;
              &lt;Interval&gt;2&lt;/Interval&gt;
          &lt;/Scheduler&gt;
          &lt;UniqueName&gt;00ZJENPXPX1KL07&lt;/UniqueName&gt;
          &lt;Name&gt;Process2&lt;/Name&gt;
          &lt;Group/&gt;
          &lt;MetaFileName/&gt;
      &lt;/Process&gt;
  &lt;/ProcessList&gt;
  &lt;/WatchConfig&gt;
  </code></pre>
  
  <p>What I would like to be able to do is to read through this and amend the Active value under the Scheduler node, ideally being able to specify the name of the process that I want to amend.(as there are two in this example)</p>