Objectives: Understand and get hands on experience on
Instructions: Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if:
§ The assignment is submitted after due date. § The assignment is submitted via email. § The assignment is copied from Internet or from any other student. § The submitted assignment does not open or file is corrupt. § It is in some format other than .java (JAVA File).
Note: All types of plagiarism are strictly prohibited.
For any query about the assignment, contact at CS311@vu.edu.pk
|
|
Suppose Virtual University of Pakistan decides to develop a web service which will provide the data of students in XML files to the team of each course. You are required to write code in JAVA to create XML file as output using the JDOM parser, this XML output file will show the data of CS311 students. The name of the output XML file should be student.xml and the output of XML will be follows: Sample Output: <?xml version="1.0" encoding="UTF-8"?> <CS311> <student vuid="bc10001"> <name>Ali</name> <semester>6</semester> <cgpa>3.20</cgpa> <city>Lahore</city> </student> <student vuid="bc100102"> <name>Ahmad</name> <semester>8</semester> <cgpa>2.95</cgpa> <city>Lahore</city> </student> </CS311>.
Note:
http://www.java2s.com/Code/Jar/j/Downloadjdom11jar.htm
Assignment Uploading Instructions: Ø To make and test your code, you can use Netbeans or Eclipse or any other IDE supports JAVA language. Ø You can use the following path in your code to save the XML file: “D:\\student.xml” or any other path of your local hard drive Ø Upload your assignment solution in .java file format on VULMS
Please note that due date of assignment will not extend, so do not wait for last date and submit your solution as quickly as possible. Due Date: 29 July, 2020 |
Tags:
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We are user-generated contents site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post