Multiple Choice
Case 3-1
Judy wants to be able to validate the XML documents that she uses for recipes. These documents include numeric elements that specify ingredient amounts and cooking times, so you recommend that she use a schema instead of a DTD, and you teach her some of the key facts about schemas.
-You teach Judy about the differences between simple and complex data types. Which of the following would NOT require a complex type?
A) an element containing only text
B) an empty element containing attributes
C) an element containing child elements
D) an element containing child elements and an attribute
Correct Answer:

Verified
Correct Answer:
Verified
Q2: The _ facet constrains the data type
Q3: The _ compositor defines a specific order
Q9: If both the maxOccurs and minOccurs attributes
Q12: The <u>xs:float</u> data type is a double
Q34: Attributes use the same collection of data
Q47: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TBX9153/.jpg" alt=" According to the
Q49: Schemas <u>do not</u> allow numeric data types._
Q60: The XML document to be validated is
Q73: The _ data type is a text
Q85: The root element in any XML Schema