Assignment No. 02
Semester: Fall 2019
Introduction to Web Services Development – CS311
Total Marks: 20
Due Date: 4/12/2019
Understand and get hands on experience of
• XML schema
• Generating XML schema (XSD) of a given XML
• Generate XML using PHP
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 [email protected]
Consider the well-formed XML given below. You are required to:
- Write XML Schema (.xsd) code for the given XML
- Generate the following XML on a server as output using PHP
<?xml version="1.0"?> <BookStore> <Book> <Title>Introduction to Computing</Title> <Course>CS101</Course> <Year>2016</Year> <Publisher>Virtual University of Pakistan</Publisher> <Author>Dr Tanveer Ahmad</Author> </Book> <Book> <Title>Object Oriented Programming</Title> <Course>CS304</Course> <Year>2017</Year> <Publisher>Virtual University of Pakistan</Publisher> <Author>Dr Shafeeq</Author> </Book> </BookStore>
Assignment Uploading Instructions:
• You need to upload your assignment in .doc/.docx file format.
• Copy your code for both the questions and paste it in word file(.doc/.docx) and then upload your assignment
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.