MCQs > IT & Programming > XML > What does the DTD imply? ]>

XML MCQs

What does the following DTD imply?
<!DOCTYPE messagelist [
<!ELEMENT messagelist(message*)>
<!ELEMENT message(sender*,receiver,body+)>
<!ELEMENT sender (#PCDATA)>
<!ELEMENT receiver (#PCDATA)>
<!ELEMENT body (#PCDATA|subject|attachment)*>
<!ELEMENT subject (#PCDATA)>
<!ELEMENT attachment (#PCDATA)>
]>

Answer

Correct Answer: The subject and attachments element can appear in any sequence and can be repeated more than once

Explanation:

Note: This Question is unanswered, help us to find answer for this one

XML Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

XML Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it