title: Locating XML node by child node value inside of it, and changing another value
body: <p>Three part question.</p>
  
  <p>Is it possible to locate a specific XML node by a child inside of it to retrieve other children of the parent? Example:</p>
  
  <pre><code>&lt;House&gt;
      &lt;Kitchen&gt;
          &lt;Appliance&gt;
              &lt;Name&gt;Refrigerator&lt;/Name&gt;
              &lt;Brand&gt;Maytag&lt;/Brand&gt;
              &lt;Model&gt;F2039-39&lt;/Model&gt;
          &lt;/Appliance&gt;
          &lt;Appliance&gt;
              &lt;Name&gt;Toaster&lt;/Name&gt;
              &lt;Brand&gt;Black and Decker&lt;/Brand&gt;
              &lt;Model&gt;B8d-k30&lt;/Model&gt;
          &lt;/Appliance&gt;
      &lt;/Kitchen&gt;
  &lt;/House&gt;
  </code></pre>
  
  <p>So for this, I would like to locate the appropriate Appliance node by searching for "Refrigerator" or "Toaster", and retrieve the brand from it.</p>
  
  <p>The second part of this question is this: Is this a stupid way to do it? Would using an attribute in the Appliance tag make this a lot easier? If so, how would I locate it that way?</p>
  
  <p>As for the third part, once I locate the Appliance, how would I go about changing say, the Model, of that particular appliance?</p>