title: Find string in xml and get the corresponding sister(?) nodes
body: <p>I am making a tool which reads the cvc of a file, and searches the cvc value in an xml. it has multiple parent notes called release. i already managed to let it find the cvc value in the xml but i am not able to make it, that it gets the corresponding sister(sorry i dont know how its called) nodes.
  This is a part of the XML:</p>
  
  <pre><code>&lt;releases&gt;
      &lt;release&gt;
          &lt;id&gt;1&lt;/id&gt;
          &lt;name&gt;name1&lt;/name&gt;
          &lt;publisher&gt;&lt;/publisher&gt;
          &lt;region&gt;WLD&lt;/region&gt;
          &lt;languages&gt;en,fr,de,it,es,ru,ja&lt;/languages&gt;
          &lt;group&gt;&lt;/group&gt;
          &lt;imagesize&gt;16&lt;/imagesize&gt;
          &lt;serial&gt;LA-H-AAAAA&lt;/serial&gt;
          &lt;titleid&gt;01007EF00011E000 &lt;/titleid&gt;
          &lt;imgcrc&gt;5DD119C1&lt;/imgcrc&gt;
          &lt;filename&gt;test&lt;/filename&gt;
          &lt;releasename&gt;test&lt;/releasename&gt;
          &lt;trimmedsize&gt;0&lt;/trimmedsize&gt;
          &lt;firmware&gt;1.0.0&lt;/firmware&gt;
          &lt;type&gt;1&lt;/type&gt;
          &lt;card&gt;1&lt;/card&gt;
      &lt;/release&gt;
      &lt;release&gt;
          &lt;id&gt;2&lt;/id&gt;
          &lt;name&gt;name2&lt;/name&gt;
          &lt;publisher&gt;&lt;/publisher&gt;
          &lt;region&gt;WLD&lt;/region&gt;
          &lt;languages&gt;en,fr,de,it,es,nl,pt,ru,ja&lt;/languages&gt;
          &lt;group&gt;&lt;/group&gt;
          &lt;imagesize&gt;8&lt;/imagesize&gt;
          &lt;serial&gt;LA-H-AABPA&lt;/serial&gt;
          &lt;titleid&gt;0100152000022000&lt;/titleid&gt;
          &lt;imgcrc&gt;1912A1DF&lt;/imgcrc&gt;
          &lt;filename&gt;test&lt;/filename&gt;
          &lt;releasename&gt;test&lt;/releasename&gt;
          &lt;trimmedsize&gt;0&lt;/trimmedsize&gt;
          &lt;firmware&gt;1.0.0&lt;/firmware&gt;
          &lt;type&gt;1&lt;/type&gt;
          &lt;card&gt;1&lt;/card&gt;
      &lt;/release&gt;
  </code></pre>
  
  <p>This is my code:</p>
  
  <pre><code>XmlNode node = doc.SelectSingleNode ("releases/*[contains(name(),'release')]/imgcrc[text() = '" + textBox6.Text + "']");
  if (node == null)
  {
      XmlNode id = node.ParentNode.SelectSingleNode ("titleid");
      XmlNode serial = node.ParentNode.SelectSingleNode ("serial");
      XmlNode r = node.ParentNode.SelectSingleNode ("region");
      XmlNode fw = node.ParentNode.SelectSingleNode ("firmware");
  
      textBox8.Text = id.InnerText;
      textBox4.Text = r.InnerText;
      if (textBox4.Text == "WLD") {
          textBox4.Text = "Worldwide";
      }
      textBox3.Text = fw.InnerText;
      if (textBox3.Text == "") {
          textBox3.Text = "The required FW wasn't found yet";
      }
      textBox2.Text = serial.InnerText;
  } else {
      textBox2.Text = "Game is not in the DB or you modified it";
      textBox3.Text = "Game is not in the DB or you modified it";
      textBox4.Text = "Game is not in the DB or you modified it";
      textBox8.Text = "Game is not in the DB or you modified it";
  }
  </code></pre>
  
  <p>Sorry if my question isnt clear enough and or the formating wrong.</p>