Solved

Case 3-2 Judy Has Begun to Apply the Basic Information That You

Question 39

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions