I have a similar XML file which i required to search for its values .. as if for example when the Product Name is entered relevant price should be displayed
if there a easy way than parsing and search for values by loops ?
<products>
<product>
<Name> PRODUCT 1</Name>
<price>150</price>
</product>
<product>
<Name> PRODUCT 2</Name>
<price>250</price>
</product>
<product>
<Name> PRODUCT 3</Name>
<price>300</price>
</product>
<products>
Linq to Xml is another possible solution that should minimise processing to the task at hand
see msdn for more details:
http://msdn.microsoft.com/en-us/library/bb387085.aspx