forked from getodk/sample-forms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Birds.xml
331 lines (331 loc) · 11.6 KB
/
Birds.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
<?xml version="1.0"?>
<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://openrosa.org/javarosa">
<h:head>
<h:title>Birds</h:title>
<model>
<itext>
<translation lang="English" default="">
<!-- Birds -->
<text id="bird_question">
<value form="long">What bird did you see?</value>
<value form="short">What bird did you see?</value>
<value form="audio">jr://audio/question.wav</value>
</text>
<text id="sparrow">
<value form="long">House sparrow</value>
<value form="short">House sparrow</value>
<value form="image">jr://images/sparrow.png</value>
</text>
<text id="pigeon">
<value form="long">Rock pigeon</value>
<value form="short">Rock pigeon</value>
<value form="image">jr://images/pigeon.png</value>
</text>
<text id="nuthatch">
<value form="long">European nuthatch</value>
<value form="short">European nuthatch</value>
<value form="image">jr://images/nuthatch.png</value>
</text>
<text id="robin">
<value form="long">European robin</value>
<value form="short">European robin</value>
<value form="image">jr://images/robin.png</value>
<value form="audio">jr://audio/european-robin.mp3</value>
</text>
<text id="tit">
<value form="long">Great tit</value>
<value form="short">Great tit</value>
<value form="image">jr://images/tit.png</value>
</text>
<text id="starling">
<value form="long">Common starling</value>
<value form="short">Common starling</value>
<value form="image">jr://images/starling.png</value>
</text>
<text id="hawfinch">
<value form="long">Hawfinch</value>
<value form="short">Hawfinch</value>
<value form="image">jr://images/hawfinch.png</value>
</text>
<text id="bluethroat">
<value form="long">Bluethroat</value>
<value form="short">Bluethroat</value>
<value form="image">jr://images/bluethroat.png</value>
</text>
<text id="wren">
<value form="long">Winter wren</value>
<value form="short">Winter wren</value>
<value form="image">jr://images/wren.png</value>
</text>
<text id="knot">
<value form="long">Red knot</value>
<value form="short">Red knot</value>
<value form="image">jr://images/knot.png</value>
</text>
<text id="jay">
<value form="long">Eurasian jay</value>
<value form="short">Eurasian jay</value>
<value form="image">jr://images/jay.png</value>
</text>
<text id="woodpecker">
<value form="long">Great spotted woodpecker</value>
<value form="short">Great spotted woodpecker</value>
<value form="image">jr://images/woodpecker.png</value>
</text>
<text id="eagle">
<value form="long">Golden eagle</value>
<value form="short">Golden eagle</value>
<value form="image">jr://images/eagle.png</value>
<value form="audio">jr://audio/goldeneagle.mp3</value>
</text>
<text id="kingfisher">
<value form="long">Kingfisher</value>
<value form="short">Kingfisher</value>
<value form="image">jr://images/kingfisher.png</value>
<value form="video">jr://video/kingfisher.3gp</value>
</text>
<text id="blackbird">
<value form="long">Blackbird</value>
<value form="short">Blackbird</value>
<value form="image">jr://images/blackbird.png</value>
</text>
<text id="crow">
<value form="long">Carrion crow</value>
<value form="short">Carrion crow</value>
<value form="image">jr://images/crow.png</value>
<value form="audio">jr://audio/carrioncrow.mp3</value>
</text>
<text id="gull">
<value form="long">Glaucous gull</value>
<value form="short">Glaucous gull</value>
<value form="image">jr://images/gull.png</value>
</text>
<text id="yellowgull">
<value form="long">Yellow-legged gull</value>
<value form="short">Yellow-legged gull</value>
<value form="image">jr://images/yellowgull.png</value>
</text>
<text id="shag">
<value form="long">European shag</value>
<value form="short">European shag</value>
<value form="image">jr://images/shag.png</value>
</text>
<text id="pelican">
<value form="long">Dalmatian pelican</value>
<value form="short">Dalmatian pelican</value>
<value form="image">jr://images/pelican.png</value>
</text>
<text id="heron">
<value form="long">Grey heron</value>
<value form="short">Grey heron</value>
<value form="image">jr://images/heron.png</value>
</text>
<text id="egret">
<value form="long">Grey egret</value>
<value form="short">Grey egret</value>
<value form="image">jr://images/egret.png</value>
</text>
<text id="goose">
<value form="long">Canada goose</value>
<value form="short">Canada goose</value>
<value form="image">jr://images/goose.png</value>
</text>
<text id="otherbird">
<value form="long">Other bird</value>
<value form="short">Other bird</value>
</text>
</translation>
</itext>
<instance>
<nm id="Birds">
<name/>
<nationality/>
<temp/>
<humidity/>
<wind/>
<repeat_observation>
<habitat/>
<observe/>
<bird/>
<location/>
<image/>
<notes/>
</repeat_observation>
</nm>
</instance>
<bind nodeset="/nm/name" type="string"/>
<bind nodeset="/nm/nationality" type="string"/>
<bind nodeset="/nm/temp" type="integer"/>
<bind nodeset="/nm/humidity" type="select1"/>
<bind nodeset="/nm/wind" type="select1"/>
<bind nodeset="/nm/repeat_observation/habitat" type="select1"/>
<bind nodeset="/nm/repeat_observation/observe" type="select1"/>
<bind nodeset="/nm/repeat_observation/bird" type="select1"/>
<bind nodeset="/nm/repeat_observation/location" type="geopoint"/>
<bind nodeset="/nm/repeat_observation/image" type="binary"/>
<bind nodeset="/nm/repeat_observation/notes" type="string"/>
</model>
</h:head>
<h:body>
<group appearance="field-list">
<label>Demographic information</label>
<input ref="name">
<label>Please enter your name:</label>
</input>
<input ref="nationality">
<label>Please enter your country:</label>
</input>
</group>
<group appearance="field-list">
<label>Weather information</label>
<input ref="temp">
<label>Temperature:</label>
</input>
<select1 ref="humidity">
<label>Humidity:</label>
<item>
<label>Dry or low</label>
<value>low</value>
</item>
<item>
<label>Normal or medium</label>
<value>med</value>
</item>
<item>
<label>Wet or High</label>
<value>high</value>
</item>
</select1>
<select1 ref="wind">
<label>Wind conditions:</label>
<item>
<label>Little or no wind</label>
<value>low</value>
</item>
<item>
<label>Breezy or light wind</label>
<value>med</value>
</item>
<item>
<label>Strong or very windy</label>
<value>high</value>
</item>
</select1>
</group>
<group>
<label>observation</label>
<repeat nodeset="/nm/repeat_observation">
<upload ref="image" mediatype="image/*">
<label>If possible, please take a picture of your observation</label>
</upload>
<select1 ref="bird">
<label ref="jr:itext('bird_question')"/>
<hint>Some birds have included audio or video</hint>
<item>
<label ref="jr:itext('eagle')"/>
<value>eagle</value>
</item>
<item>
<label ref="jr:itext('kingfisher')"/>
<value>kingfisher</value>
</item>
<item>
<label ref="jr:itext('pigeon')"/>
<value>pigeon</value>
</item>
<item>
<label ref="jr:itext('nuthatch')"/>
<value>nuthatch</value>
</item>
<item>
<label ref="jr:itext('robin')"/>
<value>robin</value>
</item>
<item>
<label ref="jr:itext('tit')"/>
<value>tit</value>
</item>
<item>
<label ref="jr:itext('sparrow')"/>
<value>sparrow</value>
</item>
<item>
<label ref="jr:itext('starling')"/>
<value>starling</value>
</item>
<item>
<label ref="jr:itext('hawfinch')"/>
<value>hawfinch</value>
</item>
<item>
<label ref="jr:itext('bluethroat')"/>
<value>bluethroat</value>
</item>
<item>
<label ref="jr:itext('wren')"/>
<value>wren</value>
</item>
<item>
<label ref="jr:itext('knot')"/>
<value>knot</value>
</item>
<item>
<label ref="jr:itext('jay')"/>
<value>jay</value>
</item>
<item>
<label ref="jr:itext('woodpecker')"/>
<value>woodpecker</value>
</item>
<item>
<label ref="jr:itext('blackbird')"/>
<value>blackbird</value>
</item>
<item>
<label ref="jr:itext('crow')"/>
<value>crow</value>
</item>
<item>
<label ref="jr:itext('gull')"/>
<value>gull</value>
</item>
<item>
<label ref="jr:itext('yellowgull')"/>
<value>yellowgull</value>
</item>
<item>
<label ref="jr:itext('shag')"/>
<value>shag</value>
</item>
<item>
<label ref="jr:itext('pelican')"/>
<value>pelican</value>
</item>
<item>
<label ref="jr:itext('heron')"/>
<value>heron</value>
</item>
<item>
<label ref="jr:itext('egret')"/>
<value>egret</value>
</item>
<item>
<label ref="jr:itext('goose')"/>
<value>goose</value>
</item>
<item>
<label ref="jr:itext('otherbird')"/>
<value>otherbird</value>
</item>
</select1>
<input ref="location">
<label>Please record your location</label>
</input>
<input ref="notes">
<label>Please enter any notes about your observation</label>
<hint>This is optional, of course.</hint>
</input>
</repeat>
</group>
</h:body>
</h:html>