How to read the below xml file and write its content into a plain text file?
<!--
< config >
< compare >
< source >d:\demo\< /source >
< destination >e:\demo\< / destination >
< parameters >
< parameter >FileName< /parameter>
< parameter >Size< /parameter>
< parameter>Date< /parameter>
< /parameters >
< /compare >
< compare >
< source >d:\sample\< /source >
< destination >e:\sample\< /destination >
< parameters >
< parameter >Name< /parameter >
< parameter >FullName< /parameter >
< parameter >version< /parameter >
< parameter >culture< /parameter >
< /parameters >
< /compare >
< /config >
-->
Desired Output:
d:\demo e:\demo FileName Size Date
d:\sample e:\sample Name FullName Version Culture