I want to write schema which validates my following xml
<labtest>
<labtest_id1>10190</labtest_id1>
<labtest_id2> 10200</labtest_id2>
<labtest_id3> 10220</labtest_id3>
</labtest>
The number of tags <labtest_id>
may be increasing or decreasing. I validate like this but it is not working
<xs:element name="labtest" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="labtest_id" minOccurs="1" type="xs:decimal"/>
</xs:sequence>
</xs:complexType>
</xs:element>