# Parsing XML file using C#

**URL:** <https://forum.kirupa.com/t/parsing-xml-file-using-c/255803>\
**Category:** talk\
**Created:** [March 27, 2008, 5:13am UTC](https://forum.kirupa.com/t/parsing-xml-file-using-c/255803 "2008-03-27T05:13:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KAnjali](https://avatars.discourse-cdn.com/v4/letter/k/f17d59/32.png) [@KAnjali](https://forum.kirupa.com/u/KAnjali)\
**Post date:** [March 27, 2008, 5:13am UTC](https://forum.kirupa.com/t/parsing-xml-file-using-c/255803/1 "2008-03-27T05:13:38Z")

</div>

Hello ,

```
      I am new to .net(C#) programing.
      I need some help in my coding , from experts.
      I have the following Xml file,

```

Ex :  
\<propertybag name=“test” type=“a” flags=“0”\>  
\<property name=“help” type=“String” flags=“0” /\>  
\<property name=“path” type=“String” flags=“0”\>/ **abc** \</property\>  
\<propertyname="url"type="String"flags=“0”\>/ **abc1/Samlple.xml** \</property\>  
\<property name=“icon” type=“String” flags=“0” /\>  
\</propertybag\>

```
     Here i want to parse the Xml file till property name = "path" and wants to fetch the "abc" value from that element and same for bellow line.

     Please help me out of this, i got stucked here....
     i can tell that what method i used..

```

Expecting your precious reply !!!

Thanks in advance,  
Anjali…:devious:
