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>
-Judy would like to add a definition for an attribute called "substitution" to the element definition. It will indicate a possible substitution for the ingredient specified by the element. Where should the definition of this attribute appear in the element definition?
A) within the definition of the <xs:sequence> element
B) between the lines for <xs:complexType> and <xs:sequence>
C) between the lines for </xs:sequence> and </xs:complexType>
D) between the lines for </xs:complexType> and </xs:element>
Correct Answer:

Verified
Correct Answer:
Verified
Q8: DTDs employ a syntax called _.
Q20: The code to specify the location of
Q36: Case 3-1<br>Judy wants to be able to
Q36: DTDs employ a syntax called _, which
Q37: When the <u>mixed</u> attribute is set to
Q41: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TBX9153/.jpg" alt=" The arrow
Q43: The string data type is a(n)
Q61: Date values must be entered in the
Q62: The _ facet specifies the maximum number
Q63: Instead of a pattern involving specific characters,