title: Selecting a specific node from a large XML file
body: <p>Am looking for a way and best approach to select a particular node from a large XML file using PowerShell or .NET (C# or VB.NET).</p>
  <p>Below shows a structure of my XML file:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;T Id=&quot;XXXX&quot; Date=&quot;20170102&quot;&gt;
    &lt;Node id=&quot;POS0030&quot; nodeStatus=&quot;Online&quot;&gt;
    &lt;Node id=&quot;POS0031&quot; nodeStatus=&quot;Online&quot;&gt;
    &lt;Node id=&quot;POS0032&quot; nodeStatus=&quot;Online&quot;&gt;
    &lt;Node id=&quot;POS0033&quot; nodeStatus=&quot;Online&quot;&gt;
    &lt;Node id=&quot;POS0034&quot; nodeStatus=&quot;Online&quot;&gt;
    &lt;Node id=&quot;POS0035&quot; nodeStatus=&quot;Online&quot;&gt;
    &lt;Node id=&quot;POS0036&quot; nodeStatus=&quot;Online&quot;&gt;
    &lt;Node id=&quot;POS0049&quot; nodeStatus=&quot;Online&quot;&gt;
    &lt;Node id=&quot;POS0050&quot; nodeStatus=&quot;Online&quot;&gt;
    &lt;Node id=&quot;POS0097&quot; nodeStatus=&quot;Online&quot;&gt;
    &lt;Node id=&quot;POS0098&quot; nodeStatus=&quot;Online&quot;&gt;
    &lt;Node id=&quot;POS0099&quot; nodeStatus=&quot;Online&quot;&gt;
  &lt;/T&gt;
  </code></pre>
  <p>Note: under each node there are a lot of sub nodes too</p>
  <p>What I want to do is to select specific such as 'POS0049' and save the file to another location.</p>
  <p>Thanks,</p>