Question 1(a)
Question 1(b)
Question 2 (a)
<?xml version="1.0" ?>
<person>
<firstname> Zahra </firstname>
<lastname> Adib </lastname>
<profession> doctor, therapist,
surgeon </profession>
</person>
Question 2(b)
Question 2(c)
<?xml version= "1.0" ?>
<person>
<name firstname= "Jiahwee" lastname= "Lee"></name>
<profession> doctor, therapist, surgeon </profession>
</person>
Question 3.
a. Give an
XML-document (by not using attributes), which includes the following
information: the social security number (123456789A), the first name of a
person is Adha, and his last name is Hadif, his address is composed of postcode
(86400), city (Batu Pahat) and street (Jalan Puding), and his telephone numbers
are 12345 and 67890.
b. Give the tree
diagram of the document given in exercise 3a.
c. Give a DTD (Document Type Definition) for the XML-document specified in 3a.
d. Give an XML Schema for the information specified
in exercise 3a.
No comments:
Post a Comment