I have cricket player profiles saved in the form of .xml files in a folder. each file has these tags in it
<playerid>547</playerid>
<majorteam>England</majorteam>
<playername>Don</playername>
the playerid is same as in .xml (each file is of different size,1kb to 5kb). These are about 500 files. What i need is to extract the playername, majorteam, and playerid from all these files to a list. I will convert that list to XML later. If you know how can i do it directly to XML i will be very thankful.
If there is way to do it with c# or windows batch files or vbscript, i can use Java also. I just need get my data (id and name) at one place.