1
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
5
Copyright (c) 2008 Volker Krause <vkrause@kde.org>
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.
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.
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
24
<xsd:element name="knut">
27
<xsd:element name="collection" type="collectionType" minOccurs="0" maxOccurs="unbounded"/>
28
<xsd:element name="item" type="itemType" minOccurs="0" maxOccurs="unbounded"/>
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"/>
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"/>
44
<xsd:complexType name="itemType">
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"/>
50
<xsd:attribute name="rid" type="xsd:string" use="required"/>
51
<xsd:attribute name="mimetype" type="xsd:string" use="required"/>
54
<xsd:complexType name="payloadType">
56
<xsd:extension base="xsd:string"/>
60
<xsd:complexType name="attributeType">
62
<xsd:extension base="xsd:string">
63
<xsd:attribute name="type" type="xsd:string" use="required"/>
68
<xsd:complexType name="flagType">
70
<xsd:extension base="xsd:string"/>