Spring 2024 - CS311 - 1
Spring 2024 - CS311 - 1
01
Total Marks: 20
Semester: Spring 2024
Topics Covered: 90-118
Introduction to Web Services Development – CS311 Due Date: 29th April 2024
Instructions:
Please read the following instructions carefully before submitting assignment. It should be clear that
your assignment will not get any credit if:
XML Tree
XML Code
Instructions:
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
.DOC/DOCX word format file is required to submit on LMS (Don’t upload .xml
extension file)
Problem Statement: Marks 20
You are required to write XML code for the following description of a software house.
<company>: This is the root element representing the software house company.
o <name>: Specifies the name of the company.
o <location>: Contains information about the company's location.
<city>: Specifies the city where the company is located.
<country>: Specifies the country where the company is located.
o <departments>: Contains a list of departments within the company.
<department>: Represents a single department within the company.
<name>: Specifies the name of the department.
<employees>: Contains a list of employees within the department.
<employee>: Represents a single employee within the
department.
<name>: Specifies the name of the employee.
<position>: Specifies the position or role of the
employee.
o <projects>: Contains a list of projects being undertaken by the company.
<project>: Represents a single project.
<name>: Specifies the name of the project.
<department>: Specifies the department responsible for the project.
<status>: Specifies the current status of the project (e.g., "In Progress",
"Completed").
Note: You can take any data to write in xml code as text i.e
<location>
<city>
Faisalabad
</city>
</location>
.DOC/DOCX word format file is required to submit on LMS (Don’t upload .xml
extension file)
BEST OF LUCK