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 Assignment No 01 Fall 2020 Solution & Discussion Due Date: 27-11-2020

Question:

Suppose a customer place an order to purchase five different items including gloves, hand sanitizer, test kit, medicine, and face mask form an online medical store. The XML tree of the following scenario is given below:

Now you are required to create an internal DTD and XML document form the given XML Tree.

DTD Code (10 marks)
XML Code (10 marks)

Views: 448

Replies to This Discussion

********

Answer

 

<?xml version="1.0"?>

<!--Introduction to Web services Development - CS311 -->

<!--Assignment No. 01 Fall 2020 -->

<!--DTD-->

<!DOCTYPE Online_Medical_Store

[

<!ELEMENT Online_Medical_Store (Customer)>

<!ELEMENT Customer (Order)>

<!ATTLIST Customer

Name CDATA #REQUIRED

Address CDATA #REQUIRED>

<!ELEMENT Order (Gloves,Hand_Sanitizer,Test_Kit,Medicine,Face_Mask)>

<!ELEMENT Gloves (#PCDATA)>

<!ELEMENT Hand_Sanitizer (#PCDATA)>

<!ELEMENT Test_Kit (#PCDATA)>

<!ELEMENT Medicine (#PCDATA)>

<!ELEMENT Face_Mask (#PCDATA)>

<!ATTLIST Face_Mask

Name CDATA #REQUIRED

Company CDATA #REQUIRED>

 

<!ELEMENT Name (#PCDATA)>

<!ELEMENT Address (#PCDATA)>

]>

          

<!--  XML Document -->

<!-- Root Element – Online Medical Store-->

<Online_Medical_Store>

      <Customer Name="Abc" Address= "Raiwind Road Lahore">

           <Order Id="01" Date="27-Nov-2020">

                <Gloves >06</Gloves >

                <Hand_Sanitizer >08</Hand_Sanitizer >

                <Test_Kit>04</Test_Kit>

                <Medicine>02</Medicine>

                <Face_Mask Name="Green" Company="Xyz">

                </Face_Mask>

           </Order>

</Customer>

</Online_Medical_Store>

 

 

Important Note:

Please change the all highlighted values in yellow color only

Important Note:

Please change the all highlighted values in yellow color only:

*******

CS311 Solution File Assignment#01 Fall 2020

Right Click on the below link, then click on “Save link as” to download the file.

CS311_Assignment_No_01_Solution_Fall_2020_

CS311 Assignment 1 Solution 2020 | CS311 Assignment No 1 Solution Fall 2020

CS311 Assignment No 1 Solution Fall 2020, CS311 Assignment 1 Solution Fall 2020, CS311, CS311Assignment1, CS311AssignmentSolution, CS311SolvedAssignment, CS311Assignment1Solution2020, CS311Assignment1fall2020, CS311AssignmentSolution, CS311Programming, CS311AssignmentNo1, CS311Assignment1Solution2020, CS311Solution CS311Assignment1Solution2020 CS311SolutionLink CS311Assignment1Solution2020 CS311DownloadLink CS311AssignmentPDF CS311AssignmentCPP CS311Assignment1Solution2020 CS311AssignmentSolutionCPP CS311CPPFile CS311Assignment CS311Assignment1Solution2020 CS311AssignmentDownload CS311Solve CS311Assignment1Solution2020 CS311Assignment1 CS311Assignment1Solution2020 CS311 Assignment 1 Solution 2020 CS311 Assignment 1 Solution 2020 CS311 Assignment 1 Solution 2020 CS311 Assignment 1 Solution 2020 CS311 Assignment 1 Solution 2020 CS311 Assignment 1 Solution 2020 CS311 Assignment 1 Solution 2020 CS311 Assignment 1 Solution 2020

CS311 Assignment Solution # 1 Fall 2020 |Introduction to Web Services Development|

********

Attachments:

***********

/************

RSS

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

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