Annotation of embedaddon/libxml2/test/schemas/complex-type-extension_0.xsd, revision 1.1.1.1
1.1 misho 1: <?xml version="1.0"?>
2: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
3:
4: <xs:complexType name="Item" abstract="true">
5: <xs:sequence minOccurs="1" maxOccurs="unbounded">
6: <xs:element name="Name" type="xs:string"/>
7: </xs:sequence>
8: </xs:complexType>
9:
10: <xs:complexType name="ItemWithNumber">
11: <xs:complexContent>
12: <xs:extension base="Item">
13: <xs:sequence>
14: <xs:element name="Number" type="xs:nonNegativeInteger"/>
15: </xs:sequence>
16: </xs:extension>
17: </xs:complexContent>
18: </xs:complexType>
19:
20: <xs:element name="ItemsList">
21: <xs:complexType>
22: <xs:sequence>
23: <xs:element name="Item" type="Item" maxOccurs="unbounded"/>
24: </xs:sequence>
25: </xs:complexType>
26: </xs:element>
27: </xs:schema>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>