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
9 months agoBrice
10 months agoLilli
10 months agoAlishia
10 months agoQueenie
10 months agoJudy
10 months agoLauna
11 months agoAdell
11 months agoFelicidad
11 months agoLeoma
11 months agoVeronique
11 months agoGeorgene
11 months agoLaurel
11 months agoJules
11 months agoSherell
11 months agoKate
11 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