Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

CS311 Introduction to Web Services Development Assignment No 02 Spring 2020 Solution & Discussion Due Date: 16-06-2020

Assignment No. 02
Semester: Spring 2020
Introduction to Web Services Development – CS311


Total Marks: 20

Due Date: 16th June 2020

Lectures Covered: 9-15



            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



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>

                    <lecture_dvd>5 dvds</lecture_dvd>


                     <customer email=""  mobile="03001001001">

                         <name>Std 1</name>




          <order id="2" date="23-4-2020" status="pending">

                    <book>Introduction to Programming</book>

                    <lecture_dvd>5 dvds</lecture_dvd>


                    <customer email=""  mobile="03001001001">

                          <name>Std 2</name>










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.


Views: 346


Replies to This Discussion

generate xsd code from here


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

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