source: trunk/examples/xmlpatterns/schema/files/order.xsd@ 875

Last change on this file since 875 was 561, checked in by Dmitry A. Kuminov, 15 years ago

trunk: Merged in qt 4.6.1 sources.

  • Property svn:eol-style set to native
File size: 871 bytes
Line 
1<?xml version="1.0"?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
4 <xsd:element name="order">
5 <xsd:complexType>
6 <xsd:sequence>
7 <xsd:element name="customerId" type="xsd:positiveInteger"/>
8 <xsd:element name="article" type="articleType" maxOccurs="unbounded"/>
9 <xsd:element name="deliveryDate" type="xsd:date"/>
10 <xsd:element name="payed" type="xsd:boolean"/>
11 </xsd:sequence>
12 </xsd:complexType>
13 </xsd:element>
14
15 <xsd:complexType name="articleType">
16 <xsd:sequence>
17 <xsd:element name="articleId" type="xsd:positiveInteger"/>
18 <xsd:element name="count" type="xsd:positiveInteger"/>
19 <xsd:element name="comment" type="xsd:string" minOccurs="0"/>
20 </xsd:sequence>
21 </xsd:complexType>
22
23</xsd:schema>
Note: See TracBrowser for help on using the repository browser.