Get both XMl Node with it's associated text in C#

Aug 23 2005 8:40 AM

hai,

  I have one problem with reading both node and it's value. For Example,

  <book>
     <Author>krishna</Author>
     <Price>150</Price>
  </book>

I want both data such that :  <Price>150</Price>  and i also want it's parent node as <book>.
Could u please help me?