Jump to content

XML Program


balaya

Recommended Posts

The program is:-The test is to create a small XML Translator.The input XML is in the form <EMPLOYEE><EMPFNAME>ANIL</EMPFNAME><EMPLNAME>JOSHI</EMPLNAME><EMPCODE>213</EMPCODE><MANAGEREMPCODE>211</MANAGEREMPCODE><SALARY>5000</SALARY><DEPT>FINANCE</DEPT></EMPLOYEE> Assume that for each Employee in the company there is a XML of the structure above lying in a source folder.Your application should read all the XMLs and create a single XML of the structure <COMPANY><DEPT NAME='FINANCE'><MANAGER>AJIT MAHUT</MANAGER><EMPLOYEE>ANIL JOSHI</EMPLOYEE><EMPLOYEE>SRIKANTH SINGH</EMPLOYEE><EMPLOYEE>KAMAL ADNAN</EMPLOYEE></DEPT><DEPT NAME='MIS'><MANAGER>SAM PITRODA</MANAGER><EMPLOYEE>ANIL KAPOOR</EMPLOYEE><EMPLOYEE>MANGAL PANDEY</EMPLOYEE><EMPLOYEE>R MADHAVAN</EMPLOYEE></DEPT></COMPANY>Please try to use the ADO.Net in your solution.Make suitable assumptions in your solution and well document the code.

Link to comment
Share on other sites

Is this an exam of some sort?If so, we don't do homework/test questions. Feel free to ask for specific hints on an existing solution of yours, but it's rude to expect that someone will write the whole application for you from start to finish. Not only that, but you're even expecting the use of a specific technology (ADO.NET) and want good documentation.If not... How much money are you giving for this again?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...