Assignment No. 03
Semester: Fall 2019
Introduction to Web Services Development – CS311 Total Marks: 20
Due Date: 20-01-2020
Lectures Covered: 16-28
Understand and get hands on experience on
• XML Parser
• XML DOM
• XML Dom Nodes
• getElementsByTagName Method
• ChildNodes Property
• Displaying XML data in HTML file
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 .html (HTML File).
Note: All types of plagiarism are strictly prohibited.
For any query about the assignment, contact at [email protected]
Carefully analyze the file “books_data.xml” (which is attached with the assignment file). Information of different books is given in this xml file which includes book name, book price, book author etc.
You can see sample output in “Sample Output.mp4” video attached with this assignment file.
Assignment Uploading Instructions:
To make and test your code, you need to download Xampp Server from following link. https://www.apachefriends.org/index.html
After the installation of Xampp , you need to save your html file and “books_data.xml” file in the path given below
To run your file type the address http://localhost/your_assignment_file.html
Upload your assignment solution in .html 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: 20/01/2020
BEST OF LUCK
<?xml version="1.0" encoding="UTF-8"?> <BOOKS_LIST> <book> <name>History of Pakistan</name> <price>150</price> <author>Abc</author> </book> <book> <name>French Revolution</name> <price>300</price> <author>XYZ</author> </book> <book> <name>Biographies</name> <price>250</price> <author>WSD</author> </book> <book> <name>Gulf Countries</name> <price>150</price> <author>ASD</author> </book> <book> <name>Haunted Stories</name> <price>150</price> <author>Abc</author> </book> </BOOKS_LIST>