Professional Documents
Culture Documents
Critical Thinking
Problem Solving
In this assignment, a tree structure diagram which contains information about Exam is given to
you. You are required to complete tasks 1 to 4 which mainly focuses on XML, DTD, XSL and
XPath.
TASK 1:
Convert the following tree structure diagram into Exam.xml program: [O2] [3 Marks]
Exam
Subject
Attribute Attribute
Date Dept
TASK 2:
Write the external DTD to verify the Exam.xml program (Created in task 1) [O3] [2
Marks]
Page 2 of 4
TASK 3:
Write the XSL program to show the following output for Exam.xml (Created in task 1).
[O4] [3 Marks]
TASK 4:
Write the XPath expressions to compute the following: [O5] [0.5*4=2 Marks]
WHAT TO SUBMIT
You are required to submit a PDF file of your assignment through Moodle which contains the
solution of tasks 1 to 4.
Page 3 of 4
Assessment Criteria:
Task 1: Exam.xml 1
Adherence with elements name
Adding appropriate data
Successfully showing well formedness
/3
Task 2: 2
/2 External DTD
Task 3: 3
XSL program
/3
Task 4: 4
XPath expressions
/2
/10 Total Marks
End of document
Page 4 of 4