C H A P T E R 2 3
X
M
L
E
x
e
r
c
i
s
e
s
23.1 What is meant by recursion in a DTD. Explain with an example.
. .
.3
23.2 Given an XML dataset with DTD as follows
<!DOCTYPE marks [
<!ELEMENT coursemarks(coursename, studentmark*) >
<!ELEMENT studentmark(name, mark)>
…
]>
with elements coursename, name and mark all being of type
PCDATA.
23.3 XML
a. Give an XML DTD to represent academic information
including
i. Student name and information on courses taken by the student
(in-
cluding course number, year, semester, and grade). Nest course
taken
details inside student elements.