source: josm/trunk/data/preferences.xsd@ 9812

Last change on this file since 9812 was 9812, checked in by bastiK, 8 years ago

remove tabs

  • Property svn:eol-style set to native
File size: 2.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://josm.openstreetmap.de/preferences-1.0"
3 xmlns:tns="http://josm.openstreetmap.de/preferences-1.0" elementFormDefault="qualified">
4
5 <element name="preferences" type="tns:root"/>
6
7 <complexType name="root">
8 <sequence>
9 <choice minOccurs="0" maxOccurs="unbounded">
10 <element name="tag" type="tns:tag" />
11 <element name="list" type="tns:list" />
12 <element name="lists" type="tns:lists" />
13 <element name="maps" type="tns:maps" />
14 </choice>
15 </sequence>
16 <attribute name="version" type="string" />
17 </complexType>
18
19 <complexType name="tag">
20 <attribute name="key" type="string" use="required" />
21 <attribute name="value" type="string" use="required"/>
22 </complexType>
23
24 <complexType name="list">
25 <choice>
26 <sequence>
27 <element name="entry" type="tns:entry" minOccurs="0" maxOccurs="unbounded"/>
28 </sequence>
29 <!-- deprecated: remove mid 2012 -->
30 <sequence>
31 <element name="list" type="tns:slist" minOccurs="0" maxOccurs="unbounded"/>
32 </sequence>
33 <!-- deprecated: remove mid 2012 -->
34 <sequence>
35 <element name="map" type="tns:map" minOccurs="0" maxOccurs="unbounded"/>
36 </sequence>
37 </choice>
38 <attribute name="key" type="string" use="required" />
39 </complexType>
40
41 <complexType name="lists">
42 <sequence>
43 <element name="list" type="tns:slist" minOccurs="0" maxOccurs="unbounded"/>
44 </sequence>
45 <attribute name="key" type="string" use="required" />
46 </complexType>
47
48 <complexType name="maps">
49 <sequence>
50 <element name="map" type="tns:map" minOccurs="0" maxOccurs="unbounded"/>
51 </sequence>
52 <attribute name="key" type="string" use="required" />
53 </complexType>
54
55 <complexType name="slist">
56 <sequence>
57 <element name="entry" type="tns:entry" minOccurs="0" maxOccurs="unbounded"/>
58 </sequence>
59 </complexType>
60
61 <complexType name="map">
62 <sequence>
63 <element name="tag" type="tns:tag" minOccurs="0" maxOccurs="unbounded"/>
64 </sequence>
65 </complexType>
66
67 <complexType name="entry">
68 <attribute name="value" type="string" use="required"/>
69 </complexType>
70</schema>
Note: See TracBrowser for help on using the repository browser.