I am trying to read a XML file and want to store the text in tags in separate strings in C#

Posted by Daywalker21 on Stack Overflow See other posts from Stack Overflow or by Daywalker21
Published on 2010-04-02T04:58:47Z Indexed on 2010/04/02 5:13 UTC
Read the original article Hit count: 170

Filed under:
|
|

I am new to xml and unable to find a way to get content in between tags. My XML file is

<?xml version="1.0" encoding="utf-8"?>
<block1>
  <file name="c:\w0.xml">
    <word>Text</word>
    <number>67</number>
   </file>
  <file name="c:\w1.xml">
    <word>Text</word>
    <number>67</number>
  </file>
  <file name="c:\w2.xml">
    <word>Text</word>
    <number>67</number>
  </file>
</block1>

© Stack Overflow or respective owner

Related posts about Xml

Related posts about c#