read and write at the same time

amitguitarplayer

Active member
Joined
Jul 5, 2008
Messages
27
Programming Experience
5-10
Hi Guys
is there a way to read an xml file with xmltextreader and then copy all contents of that xmlfile and write it to new a new file with xmltextwriter ?
like a do while reader.read and it reads each line from xmltest.txt and writes the contents to a new file xmltest_copy.txt

please help !
 
Back
Top