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 element called "recipeName" that she uses to record the name of a recipe.This element only contains text.Which of the following would be a valid XML schema definition for this element?
A) <xs:element type="xs:string">recipeName</xs:element>
B) <xs:element type="PCDATA">recipeName</xs:element>
C) <xs:element name="recipeName" type="xs:string" />
D) <xs:element name="recipeName" type="PCDATA" />
Correct Answer:

Verified
Correct Answer:
Verified
Q51: Identify the letter of the choice that
Q52: Case 13-2<br>Judy has begun to apply the
Q53: The choice compositor requires that child elements
Q54: Case 13-1<br>Judy wants to be able to
Q55: Discuss the limits of DTDs, using examples.
Q57: The _ value of the use attribute
Q58: A primitive data type is also known
Q59: A list data type uses _ as
Q60: The XML document to be validated is
Q61: Date values must be entered in the