Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Alwyn
(200)
Asheej T K
(125)
Avinash Mohan
(90)
Last 7 Days
Alwyn
(938)
Asheej T K
(548)
nishithraj
(525)
more...
Forums
»
.NET
»
XML
»
pls solve this XML question..?
Posted Date:
25 Jul 2008
Posted By:
Balaya
Member Level:
Gold
Points
: 1
Responses:
1
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.
Responses
Author:
Aundy
20 Mar 2009
Member Level:
Gold
Rating:
Points
: 2
Hi you posted this same question lot of time.Sure i will help you ok va.
Thanks
Aundy S
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Next :
convert .dae file into .3ds file
Previous :
How to write this XML program..?
Return to Discussion Forum
Post New Message
Category:
XML
Related Messages
Xml to Html Conversion
Hi
xml version
hai
hai
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use