having issue in extracting an element from xml

mikywtf

New Member
I have a xml like this :\[code\] <?xml version="1.0" encoding="UTF-8"?> <InsertReceipts> <receipts xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <a:string> <![CDATA[ test]]> </a:string> </receipts> </InsertReceipts>\[/code\]I want to extract element a:string from this xml,but can't figure out to do this?as i use \[code\]XmlElement foo = (XmlElement)doc.SelectSingleNode("//a:string");\[/code\]it gives a parsing errorFeedback and help appreciated
 
Back
Top