<myroot>
some data.
</myroot>
I have an xml file with some data like above. I want to get all data coming between
<myroot> and </myroot>
In to a string variable.
There is some restriction to me, that is i should use only XMLTextReader for this how can i do this just using XmlTextReader with out using xdocument
you need a xmlnodelist and after that a foreach loop to go through the nodes. the xmlNode type has a innerHtml property. for ex: myxmlNode.SelectSingleNode("//REVNR").InnerText