jit sun

jit sun

  • NA
  • 42
  • 61.9k

extract data with tages from one XML file to two text files in C#

Jan 20 2012 7:23 AM
hi,

i have xml file is like this.
<?xml version="1.0"?> <catalog>    <book id="bk101">       <author>Gambardella, Matthew</author>       <title>XML Developer's Guide</title>       </book>    <book id="bk102">       <author>Ralls, Kim</author>       <title>Midnight Rain</title>           </book>
<
/catalog>

i want to save the authors in one text file and titles in another text file.

can i get an idea how can i write the code.

jitendra





 




Answers (3)