This repository has been archived by the owner on Feb 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Tree Measurement.xml
72 lines (72 loc) · 3.41 KB
/
Tree Measurement.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
<?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>Tree Measurement Form</h:title>
<model>
<itext>
<translation lang="Swahili">
<text id="surveyor_name"><value>Jina lako ni nani?</value></text>
<text id="surveyor_name_hint"><value>Andika jina la ukoo na la kwanza.</value></text>
<text id="tree_location"><value>Chagua mti na chukua nukta?</value></text>
<text id="tree_location_hint"><value>Simama karibu na mti.</value></text>
<text id="tree_dbh"><value>Pima unene wa mti (cm)?</value></text>
<text id="tree_dbh_hint"><value>Pima urefu wamita 1.3m kutoka chini.</value></text>
<text id="tree_name"><value>Andika jina la mti?</value></text>
<text id="tree_name_hint"><value>Andika jina la mti; kwa kilugha au jina la kitaalam.</value></text>
<text id="tree_picture"><value>Piga picha ya mti?</value></text>
<text id="tree_picture_hint"><value>Simama sehemu unayoweza kupata picha nzuri ya mti.</value></text>
</translation>
<translation lang="English">
<text id="surveyor_name"><value>What is your name?</value></text>
<text id="surveyor_name_hint"><value>Please enter first and last name.</value></text>
<text id="tree_location"><value>Select a tree and capture its GPS location.</value></text>
<text id="tree_location_hint"><value>Stand as close to the tree as possible.</value></text>
<text id="tree_dbh"><value>Measure the tree diameter in centimeters (cm).</value></text>
<text id="tree_dbh_hint"><value>Make the measurement 1.3m up from the ground.</value></text>
<text id="tree_name"><value>What is the name of this tree?</value></text>
<text id="tree_name_hint"><value>Enter either the common name or scientific name.</value></text>
<text id="tree_picture"><value>Take a photo of the tree.</value></text>
<text id="tree_picture_hint"><value>Stand where you can get a good picture of the tree.</value></text>
</translation>
</itext>
<instance>
<tree id="tree">
<DeviceId/>
<SurveyorName/>
<TreeLocation/>
<TreeDBH/>
<TreeName/>
<TreePicture/>
</tree>
</instance>
<bind nodeset="/tree/DeviceId" type="string" jr:preload="property" jr:preloadParams="deviceid"/>
<bind nodeset="/tree/SurveyorName" type="string"/>
<bind nodeset="/tree/TreeLocation" type="geopoint"/>
<bind nodeset="/tree/TreeDBH" type="decimal"/>
<bind nodeset="/tree/TreeName" type="string"/>
<bind nodeset="/tree/TreePicture" type="binary"/>
</model>
</h:head>
<h:body>
<input ref="SurveyorName">
<label ref="jr:itext('surveyor_name')"/>
<hint ref="jr:itext('surveyor_name_hint')"/>
</input>
<input ref="TreeLocation">
<label ref="jr:itext('tree_location')"/>
<hint ref="jr:itext('tree_location_hint')"/>
</input>
<input ref="TreeDBH">
<label ref="jr:itext('tree_dbh')"/>
<hint ref="jr:itext('tree_dbh_hint')"/>
</input>
<input ref="TreeName">
<label ref="jr:itext('tree_name')"/>
<hint ref="jr:itext('tree_name_hint')"/>
</input>
<upload ref="TreePicture" mediatype="image/*">
<label ref="jr:itext('tree_picture')"/>
<hint ref="jr:itext('tree_picture_hint')"/>
</upload>
</h:body>
</h:html>