Solved

Case 12-1 Casey Is Using XML to Store Information About the Students

Question 23

Multiple Choice

Case 12-1
Casey is using XML to store information about the students in the science classes that he teaches. He wants to design a DTD that he can use to validate the XML documents that he uses for this purpose, and he comes to you for help.

-Casey needs to declare an "address" element that can be used to store a student's address.If he intends to store the address as parsed character data, which of the following is an appropriate declaration for this element?


A) <!ELEMENT address (#PCDATA) >
B) <!ELEMENT address CHAR>
C) <!ELEMENT address TEXT>
D) <!ELEMENT address CDATA>

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions