Annotation of embedaddon/libxml2/test/schemas/decimal-3_1.xsd, revision 1.1.1.1
1.1 misho 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:totalDigits value="2"/>
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>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>