Ticket #12161: empty-value.xml

File empty-value.xml, 1.6 KB (added by Nakaner, 10 years ago)

minimum working example

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0" author="Nakaner" version="0.1" shortdescription="Test preset" description="Test preset for a JOSM bug report">
4 <item name="Test Preset" icon="rail.png" type="way">
5 <combo key="usage" text="Type of railway infrastructure" values_sort="false" editable="false">
6 <list_entry
7 value="industrial"
8 display_value="industrial/mine railway"
9 short_description="A line only used for freight trains inside industrial areas or mines." />
10 <list_entry
11 value="branch"
12 display_value="branch line"
13 short_description="less important line; often single-tracked; not electrified; less than 100 km/h"
14 />
15 </combo>
16 <combo key="usage" text="Type of railway infrastructure" values_sort="false" editable="true">
17 <list_entry
18 value="industrial"
19 display_value="industrial/mine railway"
20 short_description="A line only used for freight trains inside industrial areas or mines." />
21 <list_entry
22 value="branch"
23 display_value="branch line"
24 short_description="less important line; often single-tracked; not electrified; less than 100 km/h"
25 />
26 </combo>
27 <combo
28 key="usage"
29 text="Type of railway infrastructure"
30 values_sort="false"
31 editable="true"
32 values="industrial,branch"
33 display_values="industrail railway line,branch railway line" />
34 <combo
35 key="usage"
36 text="Type of railway infrastructure"
37 values_sort="true"
38 editable="false"
39 values="industrial,branch"
40 display_values="industrail railway line,branch railway line" />
41 </item>
42</presets>