Solved

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

Question 32

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 indicate that the ingredient element must appear at least once in a recipe, and that it cannot appear more than 20 times. Which of the following should she add to the element declaration to indicate these restrictions?


A) occurs="1:20"
B) occurs="[1:20]"
C) use="1:20"
D) minOccurs="1" maxOccurs="20"

Correct Answer:

verifed

Verified

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

Related Questions