Assignment No. 02
Total Marks: 20
Due Date: 16th June 2020
Lectures Covered: 9-15
Understand and get hands on experience of
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 .doc/.docx.
Note: All types of plagiarism are strictly prohibited.
For any query about the assignment, contact at CS311@vu.edu.pk
Consider the well-formed XML given below. You are required to:
1. Write XML Schema (.xsd) code for the given XML
2. Generate the following XML on a server as output using PHP . You can generate only 1 order element . You can use any method in PHP to generate xml
<?xml version="1.0" encoding="UTF-8"?>
<bookstore university="VU" city="Lahore">
<order id="1" date="23-4-2020" status="pending">
<book>Introduction to Web Services</book>
<customer email="firstname.lastname@example.org" mobile="03001001001">
<order id="2" date="23-4-2020" status="pending">
<book>Introduction to Programming</book>
<customer email="email@example.com" mobile="03001001001">
Assignment Uploading Instructions:
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.
+ 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)