Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_alt>
6
                <1>$subplot</1>
7
                <4>
8
                    <_if name="if indirect voucher">
9
                        <cond>
10
                            <_eq>
11
                                <right>indirect</right>
12
                                <left>$det_type</left>
13
                            </_eq>
14
                        </cond>
15
                        <else>
16
                            <_alt>
17
                                <1>$coll_number</1>
18
                                <2>$voucher_string</2>
19
                            </_alt>
20
                        </else>
21
                    </_if>
22
                </4>
23
            </_alt>
24
        </authorlocationcode>
25
        <locationevent>
26
            <obsstartdate><_date><date><_dateRangeStart><value>$census_date</value></_dateRangeStart></date></_date></obsstartdate>
27
            <taxonoccurrence>
28
                <aggregateoccurrence>
29
                    <count>$no_of_individuals</count>
30
                    <cover>$cover_percent</cover>
31
                    <definedvalue fkey="tablerecord_id">
32
                        <userdefined_id>
33
                            <userdefined>
34
                                <tablename>aggregateoccurrence</tablename>
35
                                <userdefinedname>censusNo</userdefinedname>
36
                            </userdefined>
37
                        </userdefined_id>
38
                        <definedvalue>$census_no</definedvalue>
39
                    </definedvalue>
40
                    <linecover>$intercept_cm</linecover>
41
                    <plantobservation>
42
                        <collectionnumber>$individual_code</collectionnumber>
43
                        <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
44
                        <specimenreplicate>
45
                            <catalognumber_dwc>
46
                                <_if name="if indirect voucher">
47
                                    <cond>
48
                                        <_eq>
49
                                            <right>indirect</right>
50
                                            <left>$det_type</left>
51
                                        </_eq>
52
                                    </cond>
53
                                    <else>
54
                                        <_alt>
55
                                            <1>$coll_number</1>
56
                                            <2>$voucher_string</2>
57
                                        </_alt>
58
                                    </else>
59
                                </_if>
60
                            </catalognumber_dwc>
61
                        </specimenreplicate>
62
                        <stemobservation>
63
                            <basaldiameter>$basal_diam</basaldiameter>
64
                            <definedvalue fkey="tablerecord_id">
65
                                <userdefined_id>
66
                                    <userdefined>
67
                                        <tablename>stemobservation</tablename>
68
                                        <userdefinedname>canopyForm</userdefinedname>
69
                                    </userdefined>
70
                                </userdefined_id>
71
                                <definedvalue>$stem_canopy_form</definedvalue>
72
                            </definedvalue>
73
                            <definedvalue fkey="tablerecord_id">
74
                                <userdefined_id>
75
                                    <userdefined>
76
                                        <tablename>stemobservation</tablename>
77
                                        <userdefinedname>canopyPosition</userdefinedname>
78
                                    </userdefined>
79
                                </userdefined_id>
80
                                <definedvalue>$stem_canopy_position</definedvalue>
81
                            </definedvalue>
82
                            <definedvalue fkey="tablerecord_id">
83
                                <userdefined_id>
84
                                    <userdefined>
85
                                        <tablename>stemobservation</tablename>
86
                                        <userdefinedname>lianaInfestation</userdefinedname>
87
                                    </userdefined>
88
                                </userdefined_id>
89
                                <definedvalue>$stem_liana_infestation</definedvalue>
90
                            </definedvalue>
91
                            <definedvalue fkey="tablerecord_id">
92
                                <userdefined_id>
93
                                    <userdefined>
94
                                        <tablename>stemobservation</tablename>
95
                                        <userdefinedname>notes</userdefinedname>
96
                                    </userdefined>
97
                                </userdefined_id>
98
                                <definedvalue>$notes</definedvalue>
99
                            </definedvalue>
100
                            <diameterbreastheight>$stem_dbh</diameterbreastheight>
101
                            <height>
102
                                <_alt>
103
                                    <1>$stem_height_m</1>
104
                                    <2>$height_m</2>
105
                                </_alt>
106
                            </height>
107
                            <heightfirstbranch>
108
                                <_alt>
109
                                    <0>$ht_first_branch_m</0>
110
                                    <1>$stem_height_first_branch_m</1>
111
                                </_alt>
112
                            </heightfirstbranch>
113
                            <stemtag>
114
                                <iscurrent>
115
                                    <_alt>
116
                                        <2>true</2>
117
                                        <1>false</1>
118
                                    </_alt>
119
                                </iscurrent>
120
                                <tag>
121
                                    <_alt>
122
                                        <1>$tag1</1>
123
                                        <2>$stem_tag1</2>
124
                                    </_alt>
125
                                </tag>
126
                            </stemtag>
127
                            <stemtag>
128
                                <iscurrent>true</iscurrent>
129
                                <tag>
130
                                    <_alt>
131
                                        <1>$tag2</1>
132
                                        <2>$stem_tag2</2>
133
                                    </_alt>
134
                                </tag>
135
                            </stemtag>
136
                            <xposition>$x_position</xposition>
137
                            <yposition>$y_position</yposition>
138
                        </stemobservation>
139
                    </plantobservation>
140
                </aggregateoccurrence>
141
                <authortaxoncode>
142
                    <_alt>
143
                        <1>$individual_code</1>
144
                        <2><_name><last>$orig_species</last></_name></2>
145
                    </_alt>
146
                </authortaxoncode>
147
                <growthform>
148
                    <_map>
149
                        <T>tree</T>
150
                        <Arbol>tree</Arbol>
151
                        <palm>tree</palm>
152
                        <H>hemiepiphyte</H>
153
                        <Hemiepífito>hemiepiphyte</Hemiepífito>
154
                        <L>liana</L>
155
                        <l>liana</l>
156
                        <L?>liana</L?>
157
                        <Liana>liana</Liana>
158
                        <E>epiphyte</E>
159
                        <S>shrub</S>
160
                        <Hb>herb</Hb>
161
                        <vine-herbaceous>vine</vine-herbaceous>
162
                        <graminoid>grass</graminoid>
163
                        <rosette>forb</rosette>
164
                        <*>*</*>
165
                        <value>$habit</value>
166
                    </_map>
167
                </growthform>
168
                <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
169
                <taxondetermination>
170
                    <role>computer</role>
171
                    <plantconcept_id>
172
                        <plantconcept>
173
                            <plantname_id>
174
                                <_simplifyPath>
175
                                    <next>parent_id/plantname</next>
176
                                    <require>plantname</require>
177
                                    <path>
178
                                        <plantname>
179
                                            <rank>binomial</rank>
180
                                            <parent_id>
181
                                                <plantname>
182
                                                    <rank>authority</rank>
183
                                                    <plantname>$specific_authority</plantname>
184
                                                    <parent_id>
185
                                                        <plantname>
186
                                                            <rank>subspecies</rank>
187
                                                            <plantname>
188
                                                                <_name>
189
                                                                    <first>$infra_rank_1</first>
190
                                                                    <last>$infra_ep_1</last>
191
                                                                </_name>
192
                                                            </plantname>
193
                                                            <parent_id>
194
                                                                <plantname>
195
                                                                    <rank>species</rank>
196
                                                                    <plantname>$specific_epithet</plantname>
197
                                                                    <parent_id>
198
                                                                        <plantname>
199
                                                                            <rank>genus</rank>
200
                                                                            <plantname>$genus</plantname>
201
                                                                            <parent_id>
202
                                                                                <plantname>
203
                                                                                    <rank>family</rank>
204
                                                                                    <plantname>$family</plantname>
205
                                                                                </plantname>
206
                                                                            </parent_id>
207
                                                                        </plantname>
208
                                                                    </parent_id>
209
                                                                </plantname>
210
                                                            </parent_id>
211
                                                        </plantname>
212
                                                    </parent_id>
213
                                                </plantname>
214
                                            </parent_id>
215
                                        </plantname>
216
                                    </path>
217
                                </_simplifyPath>
218
                            </plantname_id>
219
                        </plantconcept>
220
                    </plantconcept_id>
221
                </taxondetermination>
222
                <taxondetermination>
223
                    <role>identifier</role>
224
                    <plantconcept_id>
225
                        <plantconcept>
226
                            <plantname_id>
227
                                <_simplifyPath>
228
                                    <next>parent_id/plantname</next>
229
                                    <require>plantname</require>
230
                                    <path>
231
                                        <plantname>
232
                                            <rank>binomial</rank>
233
                                            <plantname><_name><last>$orig_species</last></_name></plantname>
234
                                            <parent_id>
235
                                                <plantname>
236
                                                    <rank>authority</rank>
237
                                                    <parent_id>
238
                                                        <plantname>
239
                                                            <rank>subspecies</rank>
240
                                                            <parent_id>
241
                                                                <plantname>
242
                                                                    <rank>species</rank>
243
                                                                    <parent_id>
244
                                                                        <plantname>
245
                                                                            <rank>genus</rank>
246
                                                                            <parent_id>
247
                                                                                <plantname>
248
                                                                                    <rank>family</rank>
249
                                                                                    <plantname>$orig_family</plantname>
250
                                                                                </plantname>
251
                                                                            </parent_id>
252
                                                                        </plantname>
253
                                                                    </parent_id>
254
                                                                </plantname>
255
                                                            </parent_id>
256
                                                        </plantname>
257
                                                    </parent_id>
258
                                                </plantname>
259
                                            </parent_id>
260
                                        </plantname>
261
                                    </path>
262
                                </_simplifyPath>
263
                            </plantname_id>
264
                        </plantconcept>
265
                    </plantconcept_id>
266
                    <taxonfit>$cf_aff</taxonfit>
267
                </taxondetermination>
268
                <verbatimcollectorname>
269
                    <_name>
270
                        <first>$coll_firstname</first>
271
                        <last>$coll_lastname</last>
272
                    </_name>
273
                </verbatimcollectorname>
274
                <voucher>
275
                    <specimenreplicate_id>
276
                        <specimenreplicate>
277
                            <catalognumber_dwc>
278
                                <_if name="if indirect voucher">
279
                                    <cond>
280
                                        <_eq>
281
                                            <right>indirect</right>
282
                                            <left>$det_type</left>
283
                                        </_eq>
284
                                    </cond>
285
                                    <then>
286
                                        <_alt>
287
                                            <1>$coll_number</1>
288
                                            <2>$voucher_string</2>
289
                                        </_alt>
290
                                    </then>
291
                                </_if>
292
                            </catalognumber_dwc>
293
                        </specimenreplicate>
294
                    </specimenreplicate_id>
295
                </voucher>
296
            </taxonoccurrence>
297
        </locationevent>
298
        <parent_id>
299
            <location>
300
                <authorlocationcode>$plot_code</authorlocationcode>
301
                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
302
            </location>
303
        </parent_id>
304
    </location>
305
</VegBIEN>
306
Inserted 51 new rows into database
(7-7/7)