I'm writing a program that reads an XML (Element only) and stores the value into database.
But there are such no methods in XmlReader Class to get the name/value of Parent Node of a child node. Is there any workaround or should i use any other parser.
As XmlReader provides forward-only access, it is not possible at least without reading the document more than once. Why not to use Linq to XML?