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.
-After you teach Casey about declarations for elements with child elements, he constructs the element declaration <!ELEMENT class ((seminar | lesson | workshop) , time?) > . Given this declaration, which of the following is NOT a valid "class" element?
A) <class><seminar>Beginner Drawing</seminar><time>Mon. 3-4</time></class>
B) <class><lesson>One-on-One Painting</lesson><time>Tues. 11-noon</time></class>
C) <class><seminar>Oil Painting</seminar><lesson>brushstrokes</lesson></class>
D) <class><workshop>Working with Clay</workshop></class>
Correct Answer:
Verified
Q65: A(n)_ specifies an element's name and indicates
Q66: The chunks into which a DTD can
Q67: A(n)_ content model is a list of
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