Ok... here is my problem...

I want to read what is inside of a tag even if it is another tag... but I just cannot seem to figure it out!

My XML is :

<doc>
<page><title>Hi</title></page>
</doc>

How do I get what is inside the page tag? (the return should be "title>Hi</title>") but so far I cannot get that!

Right now I'm using the XmlTextReader to read the file and then switch the NodeTypes to find the Elements/Text/EndElements...

But Elements returns the Elements, and the Text return what is inside the inner most Element! NOT the particular element.

I think the problem is that it reads the XML line by line rather than whole and then process...

Any help is appreciated.