Get all XML attributes value matching criteria and update the same
<p>Need to iterate through all the XML attribute value which matches a particular criteria (using XPath) and then replace the same.</p>

<pre><code>&lt;?xml version= "1.0"?&gt;
&lt;inventory id= "toys"&gt;
&lt;bikes sex= "boy"&gt;
&lt;style id= "mountain" level= "high" size= "24"&gt;
&lt;model&gt;24-inch Boys Mountain Bike
&lt;price&gt;$200.00 &lt;/price&gt;
&lt;/model&gt;
&lt;/style&gt;
&lt;style id= "cruiser" level= "mid" size= "24"&gt;
&lt;model&gt;24-inch Boys Cruiser Bike
&lt;price&gt;$150.00 &lt;/price&gt;
&lt;/model&gt;
&lt;/style&gt;
&lt;/bike&gt;
&lt;/inventory&gt; 
</code></pre>

<p>In the above XML , there are attributes like id,level, etc. I would like to loop through all the attrbiute collection whilst the value of which matched a particular value . Need to use an XPath expression . This is what I have used in the XPath . Would need the actual code through loop through the attributes
//<em>[@</em>="../"] </p>

<p>Pardon me, if I have not tried , this posting wasn't necessary</p>
