How to get an xml node element value using XDocument?
- by Krishnan
Here I am listing an xml.
< ? xml version="1.0" encoding="utf-8" ?
< data
< dataitemqqqqqqq< / dataitem
< templatedata
< Year2001< /Year
< /templatedata
< mailmergedata
< row
< facilitynameABC Corporation< /facilityname
< dueamount200.00< /dueamount
< /row
< row
< facilitynameXYZ Corporation< /facilityname
< DueAmount50.00< /DueAmount
< /row
< /mailmergedata
< /data
I want to retrive the value of the node facilityname
Anybody pls help
Thanks & Regards
Krishnan