We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

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 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

 

Objectives:

            Understand and get hands on experience of

  • XML schema
  • Generating XML schema (XSD) of a given XML
  • Generate XML using PHP

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 .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>

                    <lecture_dvd>5 dvds</lecture_dvd>

                    <handouts>CS311</handouts>

                     <customer email="student1@vu.edu.pk"  mobile="03001001001">

                         <name>Std 1</name>

                         <address>Lahore</address>

                    </customer>

          </order>

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

                    <book>Introduction to Programming</book>

                    <lecture_dvd>5 dvds</lecture_dvd>

                    <handouts>CS311</handouts>

                    <customer email="student2@vu.edu.pk"  mobile="03001001001">

                          <name>Std 2</name>

                          <address>Lahore</address>

                   </customer>

          </order>

</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.

 


+ 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: 291

Attachments:

Replies to This Discussion

https://xmlgrid.net/xml2xsd.html

generate xsd code from here

RSS

Looking For Something? Search Here

HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!

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

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

.