www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

CS311 Introduction to Web Services Development Assignment No 03 Spring 2020 Solution & Discussion Due Date: 29-07-2020

 

Objectives:

            Understand and get hands on experience on

  • SAX Builder
  • JDOM Classes & JDOM API
  • XML related packages
  • Document builder
  • JDOM XML parser
  • XML parsing using different parsers
  • Generate XML files through parsers

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:

  1. You should Use JDOM library for the creation of XML file. You can download JDOM libray from any link . The link below can also be used

http://www.java2s.com/Code/Jar/j/Downloadjdom11jar.htm

  1. It should be noted that you have to include JDOM . jar library in your program for XML output
  2. Output should be an XML file . Assignments with console based output will result in low marks

 

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


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 486

Attachments:

Replies to This Discussion

Solution file please

RSS

Looking For Something? Search Below

Latest Activity

+ !! Ήලᵯᵯℹ Ⲥⱨ !! + replied to Ammara Sabir's discussion @@@Happy Birthday Laila@@@
8 minutes ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + liked Mani Siddiqui Ex's discussion بھیانک کنوارے
13 minutes ago
Saqib replied to Saqib's discussion CS508 Assignment 03 Fall 2020 Solution / Discussion Due Date 29-12-2021 in the group CS508 Modern Programming Languages
14 minutes ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + liked Ammara Sabir's discussion !!!!!^^^Islamic History^^^!!!!!!
18 minutes ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + liked + ⵑⵑ ӍᎥŞŞ ⲤһᵘʳһშᎥⵏ ⵑⵑ +'s discussion KHATRA HY IN MN DOOB JANY KA.!!!!
18 minutes ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + liked Ammara Sabir's discussion !!!Real Love@@@
18 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion STA301 Statistics and Probability Assignment No 03 Fall 2020 Solution & Discussion in the group STA301 Statistics and Probability
24 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion STA301 Statistics and Probability Assignment No 03 Fall 2020 Solution & Discussion in the group STA301 Statistics and Probability
28 minutes ago
≋M≋S≋ replied to + !! Ήලᵯᵯℹ Ⲥⱨ !! +'s discussion !!!! exactely!!!!
36 minutes ago
≋M≋S≋ posted a discussion
42 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion BIO201 Assignment No 02 Fall 2020 Solution / Discussion Due Date: 25-01-2021 in the group BIO201 Basic Cell Biology
44 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion BIO201 Assignment No 02 Fall 2020 Solution / Discussion Due Date: 25-01-2021 in the group BIO201 Basic Cell Biology
45 minutes ago

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.