title: XML-parsing in WinRT
body: <p>If I have a XML-document like this</p>
  
  <pre><code>&lt;Doc&gt;
     &lt;File&gt;
        &lt;ObjectID&gt;&lt;/ObjectID&gt;
     &lt;/File&gt;
  &lt;/Doc&gt;
  </code></pre>
  
  <p>And it sometimes can look like this</p>
  
  <pre><code>&lt;Doc&gt;
     &lt;Name /&gt;
     &lt;File&gt;
        &lt;ObjectID&gt;&lt;/ObjectID&gt;
     &lt;/File&gt;
  &lt;/Doc&gt;
  </code></pre>
  
  <p>How can I get the <code>File</code>-elements? <br />
  They are not always on the same level, sometimes they can be on the root-level <br />
  There could also be times, when it is placed multiple times in the Document (but then they are at the same level)</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>The <code>&lt;File&gt;</code>-element can also have <code>&lt;File&gt;</code> elements below, which should not be parsed like this</p>
  
  <pre><code>&lt;Doc&gt;
     &lt;Name /&gt;
     &lt;File&gt;
        &lt;ObjectID&gt;&lt;/ObjectID&gt;
        &lt;RelatedTo&gt;
           &lt;File&gt;&lt;/File&gt;
        &lt;/RelatedTo&gt;
     &lt;/File&gt;
  &lt;/Doc&gt;
  </code></pre>
  
  <p>In which case the result should be</p>
  
  <pre><code>&lt;File&gt;
     &lt;ObjectID&gt;&lt;/ObjectID&gt;
     &lt;RelatedTo&gt;
        &lt;File&gt;&lt;/File&gt;
     &lt;/RelatedTo&gt;
  &lt;/File&gt;
  </code></pre>