~ubuntu-branches/ubuntu/karmic/kdepim/karmic-backports

« back to all changes in this revision

Viewing changes to akonadi/xml/akonadi-xml.xsd

  • Committer: Bazaar Package Importer
  • Author(s): Christian Mangold
  • Date: 2009-07-10 06:34:50 UTC
  • mfrom: (1.1.40 upstream)
  • Revision ID: james.westby@ubuntu.com-20090710063450-neojgew2fh0n3y0u
Tags: 4:4.2.96-0ubuntu1
* New upstream release
* Bump kde build-deps to 4.2.96

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
 
 
3
 
<!--
4
 
 
5
 
    Copyright (c) 2008 Volker Krause <vkrause@kde.org>
6
 
 
7
 
    This library is free software; you can redistribute it and/or modify it
8
 
    under the terms of the GNU Library General Public License as published by
9
 
    the Free Software Foundation; either version 2 of the License, or (at your
10
 
    option) any later version.
11
 
 
12
 
    This library is distributed in the hope that it will be useful, but WITHOUT
13
 
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
 
    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
15
 
    License for more details.
16
 
 
17
 
    You should have received a copy of the GNU Library General Public License
18
 
    along with this library; see the file COPYING.LIB.  If not, write to the
19
 
    Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20
 
    02110-1301, USA.
21
 
 
22
 
-->
23
 
 
24
 
  <xsd:element name="knut">
25
 
   <xsd:complexType>
26
 
     <xsd:sequence>
27
 
       <xsd:element name="collection" type="collectionType" minOccurs="0" maxOccurs="unbounded"/>
28
 
       <xsd:element name="item"       type="itemType"       minOccurs="0" maxOccurs="unbounded"/>
29
 
     </xsd:sequence>
30
 
   </xsd:complexType>
31
 
  </xsd:element>
32
 
 
33
 
  <xsd:complexType name="collectionType">
34
 
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
35
 
      <xsd:element name="attribute"  type="attributeType" minOccurs="0" maxOccurs="unbounded"/>
36
 
      <xsd:element name="collection" type="collectionType" minOccurs="0" maxOccurs="unbounded"/>
37
 
      <xsd:element name="item"       type="itemType"       minOccurs="0" maxOccurs="unbounded"/>
38
 
    </xsd:choice>
39
 
    <xsd:attribute name="rid"        type="xsd:string"   use="required"/>
40
 
    <xsd:attribute name="name"       type="xsd:string"   use="required"/>
41
 
    <xsd:attribute name="content"    type="xsd:string"   use="required"/>
42
 
  </xsd:complexType>
43
 
 
44
 
  <xsd:complexType name="itemType">
45
 
    <xsd:sequence>
46
 
      <xsd:element name="payload"    type="payloadType"   minOccurs="0" maxOccurs="1"/>
47
 
      <xsd:element name="attribute"  type="attributeType" minOccurs="0" maxOccurs="unbounded"/>
48
 
      <xsd:element name="flag"       type="flagType"      minOccurs="0" maxOccurs="unbounded"/>
49
 
    </xsd:sequence>
50
 
    <xsd:attribute name="rid"        type="xsd:string" use="required"/>
51
 
    <xsd:attribute name="mimetype"   type="xsd:string" use="required"/>
52
 
  </xsd:complexType>
53
 
 
54
 
  <xsd:complexType name="payloadType">
55
 
    <xsd:simpleContent>
56
 
      <xsd:extension base="xsd:string"/>
57
 
    </xsd:simpleContent>
58
 
  </xsd:complexType>
59
 
 
60
 
  <xsd:complexType name="attributeType">
61
 
    <xsd:simpleContent>
62
 
      <xsd:extension base="xsd:string">
63
 
        <xsd:attribute name="type" type="xsd:string" use="required"/>
64
 
      </xsd:extension>
65
 
    </xsd:simpleContent>
66
 
  </xsd:complexType>
67
 
 
68
 
  <xsd:complexType name="flagType">
69
 
    <xsd:simpleContent>
70
 
      <xsd:extension base="xsd:string"/>
71
 
    </xsd:simpleContent>
72
 
  </xsd:complexType>
73
 
 
74
 
</xsd:schema>