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

Last change on this file since 4313 was 3938, checked in by stoecker, 14 years ago

fix applet preferences, move XML code to Preferences, as we may want to use it as standard format soon

File size: 1.0 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="collection" type="tns:collection" />
12 </choice>
13 </sequence>
14 </complexType>
15
16 <complexType name="tag">
17 <attribute name="key" type="string" use="required" />
18 <attribute name="value" type="string" use="required"/>
19 </complexType>
20
21 <complexType name="collection">
22 <sequence>
23 <choice minOccurs="1" maxOccurs="unbounded">
24 <element name="entry" type="tns:entry" />
25 </choice>
26 </sequence>
27 <attribute name="key" type="string" use="required" />
28 </complexType>
29
30 <complexType name="entry">
31 <attribute name="value" type="string" use="required"/>
32 </complexType>
33</schema>
Note: See TracBrowser for help on using the repository browser.