Kasimier T. Buchcik | bf442eb | 2005-11-30 11:24:18 +0000 | [diff] [blame^] | 1 | <?xml version="1.0"?> |
2 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||||
3 | |||||
4 | <xsd:simpleType name="myDecimal"> | ||||
5 | <xsd:restriction base="xsd:decimal"> | ||||
6 | <xsd:minInclusive value="0"/> | ||||
7 | </xsd:restriction> | ||||
8 | </xsd:simpleType> | ||||
9 | |||||
10 | <xsd:element name="foo"> | ||||
11 | <xsd:complexType> | ||||
12 | <xsd:sequence> | ||||
13 | <xsd:element name="val" type="myDecimal" maxOccurs="unbounded"/> | ||||
14 | </xsd:sequence> | ||||
15 | </xsd:complexType> | ||||
16 | </xsd:element> | ||||
17 | |||||
18 | </xsd:schema> |