XML I10-001 Exam - Topic 5 Question 63 Discussion
The content of the Product Quantity element is an integer restricted to a value of between 1 and 100. Select which of the following is correct when the prefix to specify XML Schema namespace is xs.
A) <xs:element name='ProductQuantity'>
<xs:simpleType>
<xs:restriction>
<xs:value type='1 <= ProductQuantity <= 100'/>
</xs:restriction>
</xs:simpleType>
</xs:element> and C) <xs:element name='ProductQuantity'>
<xs:simpleType>
<xs:restriction base='xs:integer'>
<xs:minInclusive value='1'/>
<xs:maxInclusive value='100'/>
</xs:restriction>
</xs:simpleType>
</xs:element>
B) <xs:element name='ProductQuantity'>
<xs:simpleType>
<xs:restriction>
<xs:minInclusive value='1'/>
<xs:maxInclusive value='100'/>
</xs:restriction>
</xs:simpleType>
</xs:element>
D) <xs:element name='ProductQuantity'>
<xs:simpleType>
<xs:restriction base='xs:integer'>
<xs:minExclusive value='1'/>
<xs:maxExclusive value='100'/>
</xs:restriction>
</xs:simpleType>
</xs:element>
E) <xs:element name='ProductQuantity'>
<xs:simpleType>
<xs:restriction base='xs:int'>
<xs:minLength value='1'/>
<xs:maxLength value='100'/>
</xs:restriction>
</xs:simpleType>
</xs:element>W Courier Newlr Z
Christiane
8 months agoBrice
8 months agoLilli
8 months agoAlishia
9 months agoQueenie
9 months agoJudy
9 months agoLauna
9 months agoAdell
9 months agoFelicidad
9 months agoLeoma
9 months agoVeronique
10 months agoGeorgene
10 months agoLaurel
10 months agoJules
10 months agoSherell
10 months agoKate
10 months agoAimee
1 year agoRyan
1 year agoAnabel
1 year agoBea
1 year agoFlorencia
1 year agoLeandro
1 year agoYuki
1 year agoChana
1 year agoLaquita
1 year agoRutha
1 year agoHerminia
1 year agoElise
1 year agoAbel
1 year agoMeghann
1 year agoDarell
1 year agoUna
1 year agoGeorgiana
1 year ago