title: Searching an XML file using PHP
body: <p>I have an XML file like this:</p>
  
  <pre><code>&lt;quotes&gt;
    &lt;quote&gt;
      &lt;symbol&gt;7UP&lt;/symbol&gt;
      &lt;change&gt;0&lt;/change&gt;
      &lt;close&gt;45&lt;/close&gt;
      &lt;date&gt;2011-08-24&lt;/date&gt;
      &lt;high&gt;45&lt;/high&gt;
    &lt;/quote&gt;
  &lt;/quotes&gt;
  </code></pre>
  
  <p>I want to search this document by <code>symbol</code> and obtain the matching <code>close</code> value, in PHP.</p>
  
  <p>Thanks.</p>