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
6 months agoBrice
7 months agoLilli
7 months agoAlishia
7 months agoQueenie
7 months agoJudy
7 months agoLauna
8 months agoAdell
8 months agoFelicidad
8 months agoLeoma
8 months agoVeronique
8 months agoGeorgene
8 months agoLaurel
8 months agoJules
8 months agoSherell
8 months agoKate
8 months agoAimee
1 year agoRyan
1 year agoAnabel
11 months agoBea
12 months agoFlorencia
12 months agoLeandro
1 year agoYuki
12 months agoChana
12 months agoLaquita
12 months 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