Case 2-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:
Verified
Q62: _ content allows an element to contain
Q65: A(n)_ specifies an element's name and indicates
Q67: A(n)_ content model is a list of
Q68: Case 2-2
Rosalind wants to add attribute declarations
Q68: DTDs use more general numbering with a(n)_
Q71: Rosalind wants to add attribute declarations to
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents