Given the following DTD expression, which section element is valid? <!ELEMENT section (title, (paragraph | (image, title?) ) +) >
A) <section>
<title/>
<paragraph/>
<image/>
<title/>
<paragraph/>
</section>
B) <section>
<paragraph/>
<paragraph/>
<title/>
</section>
C) <section>
<paragraph/>
<title/>
<title/>
<paragraph/>
</section>
D) <section>
<paragraph/>
<image/>
<title/>
<paragraph/>
</section>
Correct Answer:
Verified
Q25: The package javax.xml.parsers contains:
A)Element and Text
B)Document and
Q27: What kind of object do you need
Q32: What kind of object do you need
Q33: You set element attributes with the _method.
A)setElementAttributes
B)setElement
C)setAttributes
D)setAttribute
Q37: To insert text, you need the _methods.
A)insertElement
Q47: In an attribute definition in a DTD,
Q48: The #PCDATA rule means _.
A)the children can
Q49: In an attribute definition in a DTD,
Q52: The XML encoding for the ">" character
Q60: An EMPTY element is:
A)an element that may
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