~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to examples/xmlpatterns/schema/files/order.xsd

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>