read xml file using xmlreader
<p>i want to read xml file using xmlreader. i having xml file. in which i want to fine brandname using brandcode... </p>

<pre><code>    &lt;Root&gt;
- &lt;data&gt;
  &lt;Companycode&gt; TF&lt;/Companycode&gt; 
  &lt;Productcode&gt;00001&lt;/Productcode&gt; 
  &lt;Productname&gt;VPU&lt;/Productname&gt; 
  &lt;Brandcode&gt;001&lt;/Brandcode&gt; 
  &lt;Brandname&gt;DB&lt;/Brandname&gt; 
  &lt;/data&gt;
- &lt;data&gt;
  &lt;Companycode&gt;TF&lt;/Companycode&gt; 
  &lt;Productcode&gt;00002&lt;/Productcode&gt; 
  &lt;Productname&gt;SENDERCARD&lt;/Productname&gt; 
  &lt;Brandcode&gt;002&lt;/Brandcode&gt; 
  &lt;Brandname&gt;LINSN&lt;/Brandname&gt; 
  &lt;/data&gt;
</code></pre>
