Multiple Choice
Case 13-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.
-Judy has an attribute called "recipeType" that she uses to record whether the recipe is for an appetizer, entree, dessert, or other type of dish.This attribute only contains text.Which of the following would be a valid XML schema definition for this attribute?
A) <xs:attribute type="xs:string">recipeType</xs:attribute>
B) <xs:attribute name="recipeType" type="xs:string" />
C) <xs:attribute type="PCDATA">recipeType</xs:attribute>
D) <xs:attribute name="recipeType" type="PCDATA" />
Correct Answer:

Verified
Correct Answer:
Verified
Q26: Identify the letter of the choice that
Q27: Case 13-2<br>Judy has begun to apply the
Q28: The string data type is _ data
Q29: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB1894/.jpg" alt=" -As shown in
Q30: Case 13-1<br>Judy wants to be able to
Q32: A base type is one of _
Q33: Case 13-2<br>Judy has begun to apply the
Q34: Attributes use the same collection of data
Q35: Identify the letter of the choice that
Q36: DTDs employ a syntax called _, which