Multiple Choice
Case 3-2
Judy has begun to apply the basic information that you have given her about schemas, and she would now like your help in mastering the details of how schemas work.
Judy has included the following element definition in her schema:
<xs:element name="ingredient">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" />
<xs:element name="amount" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
-In her definition of the recipe element, Judy would like to reference the existing definition of the ingredient element. Which of the following element declarations accomplishes this?
A) <xs:element id="ingredient" />
B) <xs:element idref="ingredient" />
C) <xs:element name="ingredient" ref= "existing" />
D) <xs:element ref="ingredient" />
Correct Answer:

Verified
Correct Answer:
Verified
Q17: XML Schema allows for ample flexibility in
Q28: Case 3-1<br>Judy wants to be able to
Q32: Case 3-2<br>Judy has begun to apply the
Q61: Date values must be entered in the
Q66: Which of the following is a category
Q71: <u>Unlike</u> DTDs, schemas do not use a
Q80: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB1894/.jpg" alt=" -A(n)_ data type
Q84: When data values belong to a range
Q86: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB1894/.jpg" alt=" -A(n)_ data type
Q100: _ is the most widely adopted schema