Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>SALVIAS-CSV</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <parent_id>
11
                            <location>
12
                                <authorlocationcode>$plot_code</authorlocationcode>
13
                                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
14
                            </location>
15
                        </parent_id>
16
                        <authorlocationcode>$subplot</authorlocationcode>
17
                        <locationevent>
18
                            <parent_id>
19
                                <locationevent>
20
                                    <location_id>
21
                                        <location>
22
                                            <authorlocationcode>
23
                                                <_if name="if subplot">
24
                                                    <cond>$subplot</cond>
25
                                                    <then>$plot_code</then>
26
                                                </_if>
27
                                            </authorlocationcode>
28
                                            <sourceaccessioncode>
29
                                                <_if name="if subplot">
30
                                                    <cond>$subplot</cond>
31
                                                    <then>$PLOT_ID</then>
32
                                                </_if>
33
                                            </sourceaccessioncode>
34
                                        </location>
35
                                    </location_id>
36
                                    <obsenddate><_dateRangeEnd><value>$census_date</value></_dateRangeEnd></obsenddate>
37
                                    <obsstartdate><_dateRangeStart><value>$census_date</value></_dateRangeStart></obsstartdate>
38
                                </locationevent>
39
                            </parent_id>
40
                            <obsenddate><_dateRangeEnd><value>$census_date</value></_dateRangeEnd></obsenddate>
41
                            <obsstartdate><_dateRangeStart><value>$census_date</value></_dateRangeStart></obsstartdate>
42
                            <taxonoccurrence>
43
                                <aggregateoccurrence>
44
                                    <count>$no_of_individuals</count>
45
                                    <cover_fraction><_percent_to_fraction><value>$cover_percent</value></_percent_to_fraction></cover_fraction>
46
                                    <definedvalue fkey="tablerecord_id">
47
                                        <userdefined_id>
48
                                            <userdefined>
49
                                                <tablename>aggregateoccurrence</tablename>
50
                                                <userdefinedname>censusNo</userdefinedname>
51
                                            </userdefined>
52
                                        </userdefined_id>
53
                                        <definedvalue>$census_no</definedvalue>
54
                                    </definedvalue>
55
                                    <linecover_m><_cm_to_m><value>$intercept_cm</value></_cm_to_m></linecover_m>
56
                                    <plantobservation>
57
                                        <collectionnumber>$individual_code</collectionnumber>
58
                                        <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
59
                                        <specimenreplicate>
60
                                            <catalognumber_dwc>
61
                                                <_if name="if indirect voucher">
62
                                                    <cond>
63
                                                        <_eq>
64
                                                            <right>indirect</right>
65
                                                            <left>$det_type</left>
66
                                                        </_eq>
67
                                                    </cond>
68
                                                    <else>
69
                                                        <_alt>
70
                                                            <1>$coll_number</1>
71
                                                            <2>$voucher_string</2>
72
                                                        </_alt>
73
                                                    </else>
74
                                                </_if>
75
                                            </catalognumber_dwc>
76
                                        </specimenreplicate>
77
                                        <stemobservation>
78
                                            <basaldiameter_m>$basal_diam</basaldiameter_m>
79
                                            <definedvalue fkey="tablerecord_id">
80
                                                <userdefined_id>
81
                                                    <userdefined>
82
                                                        <tablename>stemobservation</tablename>
83
                                                        <userdefinedname>canopyForm</userdefinedname>
84
                                                    </userdefined>
85
                                                </userdefined_id>
86
                                                <definedvalue>$stem_canopy_form</definedvalue>
87
                                            </definedvalue>
88
                                            <definedvalue fkey="tablerecord_id">
89
                                                <userdefined_id>
90
                                                    <userdefined>
91
                                                        <tablename>stemobservation</tablename>
92
                                                        <userdefinedname>canopyPosition</userdefinedname>
93
                                                    </userdefined>
94
                                                </userdefined_id>
95
                                                <definedvalue>$stem_canopy_position</definedvalue>
96
                                            </definedvalue>
97
                                            <definedvalue fkey="tablerecord_id">
98
                                                <userdefined_id>
99
                                                    <userdefined>
100
                                                        <tablename>stemobservation</tablename>
101
                                                        <userdefinedname>lianaInfestation</userdefinedname>
102
                                                    </userdefined>
103
                                                </userdefined_id>
104
                                                <definedvalue>$stem_liana_infestation</definedvalue>
105
                                            </definedvalue>
106
                                            <definedvalue fkey="tablerecord_id">
107
                                                <userdefined_id>
108
                                                    <userdefined>
109
                                                        <tablename>stemobservation</tablename>
110
                                                        <userdefinedname>notes</userdefinedname>
111
                                                    </userdefined>
112
                                                </userdefined_id>
113
                                                <definedvalue>$notes</definedvalue>
114
                                            </definedvalue>
115
                                            <diameterbreastheight_m><_cm_to_m><value>$stem_dbh</value></_cm_to_m></diameterbreastheight_m>
116
                                            <height_m>
117
                                                <_alt>
118
                                                    <1>$stem_height_m</1>
119
                                                    <2>$height_m</2>
120
                                                </_alt>
121
                                            </height_m>
122
                                            <heightfirstbranch_m>
123
                                                <_alt>
124
                                                    <0>$ht_first_branch_m</0>
125
                                                    <1>$stem_height_first_branch_m</1>
126
                                                </_alt>
127
                                            </heightfirstbranch_m>
128
                                            <tag>
129
                                                <_alt>
130
                                                    <1>
131
                                                        <_alt>
132
                                                            <1>$stem_tag2</1>
133
                                                            <2>$stem_tag1</2>
134
                                                        </_alt>
135
                                                    </1>
136
                                                    <2>
137
                                                        <_alt>
138
                                                            <1>$tag2</1>
139
                                                            <2>$tag1</2>
140
                                                        </_alt>
141
                                                    </2>
142
                                                </_alt>
143
                                            </tag>
144
                                            <xposition_m>$x_position</xposition_m>
145
                                            <yposition_m>$y_position</yposition_m>
146
                                        </stemobservation>
147
                                    </plantobservation>
148
                                </aggregateoccurrence>
149
                                <authortaxoncode>$individual_code</authortaxoncode>
150
                                <collector_id>
151
                                    <party>
152
                                        <fullname>
153
                                            <_join_words>
154
                                                <1>$coll_firstname</1>
155
                                                <2>$coll_lastname</2>
156
                                            </_join_words>
157
                                        </fullname>
158
                                    </party>
159
                                </collector_id>
160
                                <growthform>
161
                                    <_map>
162
                                        <T>tree</T>
163
                                        <Arbol>tree</Arbol>
164
                                        <palm>tree</palm>
165
                                        <H>hemiepiphyte</H>
166
                                        <Hemiepífito>hemiepiphyte</Hemiepífito>
167
                                        <L>liana</L>
168
                                        <l>liana</l>
169
                                        <L?>liana</L?>
170
                                        <Liana>liana</Liana>
171
                                        <E>epiphyte</E>
172
                                        <S>shrub</S>
173
                                        <Hb>herb</Hb>
174
                                        <vine-herbaceous>vine</vine-herbaceous>
175
                                        <graminoid>grass</graminoid>
176
                                        <rosette>forb</rosette>
177
                                        <*>*</*>
178
                                        <value>$habit</value>
179
                                    </_map>
180
                                </growthform>
181
                                <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
182
                                <taxondetermination>
183
                                    <taxonverbatim_id>
184
                                        <taxonverbatim>
185
                                            <taxonlabel_id>
186
                                                <taxonlabel>
187
                                                    <matched_label_id>
188
                                                        <taxonlabel>
189
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
190
                                                            <taxonomicname>
191
                                                                <_merge_prefix>
192
                                                                    <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
193
                                                                    <value>
194
                                                                        <_join_words>
195
                                                                            <1>
196
                                                                                <_join_words>
197
                                                                                    <2>$genus</2>
198
                                                                                    <3>$specific_epithet</3>
199
                                                                                    <5>
200
                                                                                        <_join_words>
201
                                                                                            <1>
202
                                                                                                <_if name="if has infraspecificEpithet">
203
                                                                                                    <cond>$infra_ep_1</cond>
204
                                                                                                    <then>$infra_rank_1</then>
205
                                                                                                </_if>
206
                                                                                            </1>
207
                                                                                            <2>$infra_ep_1</2>
208
                                                                                        </_join_words>
209
                                                                                    </5>
210
                                                                                </_join_words>
211
                                                                            </1>
212
                                                                            <2>$specific_authority</2>
213
                                                                        </_join_words>
214
                                                                    </value>
215
                                                                </_merge_prefix>
216
                                                            </taxonomicname>
217
                                                        </taxonlabel>
218
                                                    </matched_label_id>
219
                                                    <parent_id>
220
                                                        <taxonlabel>
221
                                                            <rank>$infra_rank_1</rank>
222
                                                            <taxonverbatim><verbatimrank>$infra_rank_1</verbatimrank></taxonverbatim>
223
                                                            <parent_id>
224
                                                                <taxonlabel>
225
                                                                    <rank>cultivar</rank>
226
                                                                    <parent_id>
227
                                                                        <taxonlabel>
228
                                                                            <rank>forma</rank>
229
                                                                            <parent_id>
230
                                                                                <taxonlabel>
231
                                                                                    <rank>variety</rank>
232
                                                                                    <parent_id>
233
                                                                                        <taxonlabel>
234
                                                                                            <rank>subspecies</rank>
235
                                                                                            <parent_id>
236
                                                                                                <taxonlabel>
237
                                                                                                    <rank>species</rank>
238
                                                                                                    <taxonepithet>$specific_epithet</taxonepithet>
239
                                                                                                    <parent_id>
240
                                                                                                        <taxonlabel>
241
                                                                                                            <rank>genus</rank>
242
                                                                                                            <taxonepithet>$genus</taxonepithet>
243
                                                                                                            <parent_id>
244
                                                                                                                <taxonlabel>
245
                                                                                                                    <rank>family</rank>
246
                                                                                                                    <taxonepithet>$family</taxonepithet>
247
                                                                                                                </taxonlabel>
248
                                                                                                            </parent_id>
249
                                                                                                        </taxonlabel>
250
                                                                                                    </parent_id>
251
                                                                                                </taxonlabel>
252
                                                                                            </parent_id>
253
                                                                                        </taxonlabel>
254
                                                                                    </parent_id>
255
                                                                                </taxonlabel>
256
                                                                            </parent_id>
257
                                                                        </taxonlabel>
258
                                                                    </parent_id>
259
                                                                </taxonlabel>
260
                                                            </parent_id>
261
                                                            <taxonepithet>$infra_ep_1</taxonepithet>
262
                                                        </taxonlabel>
263
                                                    </parent_id>
264
                                                    <rank>$infra_rank_1</rank>
265
                                                    <taxonomicname>
266
                                                        <_merge_prefix>
267
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
268
                                                            <value>
269
                                                                <_join_words>
270
                                                                    <1>
271
                                                                        <_join_words>
272
                                                                            <2>$genus</2>
273
                                                                            <3>$specific_epithet</3>
274
                                                                            <5>
275
                                                                                <_join_words>
276
                                                                                    <1>
277
                                                                                        <_if name="if has infraspecificEpithet">
278
                                                                                            <cond>$infra_ep_1</cond>
279
                                                                                            <then>$infra_rank_1</then>
280
                                                                                        </_if>
281
                                                                                    </1>
282
                                                                                    <2>$infra_ep_1</2>
283
                                                                                </_join_words>
284
                                                                            </5>
285
                                                                        </_join_words>
286
                                                                    </1>
287
                                                                    <2>$specific_authority</2>
288
                                                                </_join_words>
289
                                                            </value>
290
                                                        </_merge_prefix>
291
                                                    </taxonomicname>
292
                                                </taxonlabel>
293
                                            </taxonlabel_id>
294
                                            <author>$specific_authority</author>
295
                                            <family>$family</family>
296
                                            <genus>$genus</genus>
297
                                            <specific_epithet>$specific_epithet</specific_epithet>
298
                                            <verbatimrank>$infra_rank_1</verbatimrank>
299
                                        </taxonverbatim>
300
                                    </taxonverbatim_id>
301
                                    <taxonfit>$cf_aff</taxonfit>
302
                                </taxondetermination>
303
                                <taxondetermination>
304
                                    <isoriginal>true</isoriginal>
305
                                    <taxonverbatim_id>
306
                                        <taxonverbatim>
307
                                            <taxonlabel_id>
308
                                                <taxonlabel>
309
                                                    <matched_label_id>
310
                                                        <taxonlabel>
311
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
312
                                                            <taxonomicname>
313
                                                                <_merge_prefix>
314
                                                                    <prefix><_taxon_family_require_std><family>$orig_family</family></_taxon_family_require_std></prefix>
315
                                                                    <value>$orig_species</value>
316
                                                                </_merge_prefix>
317
                                                            </taxonomicname>
318
                                                        </taxonlabel>
319
                                                    </matched_label_id>
320
                                                    <parent_id>
321
                                                        <taxonlabel>
322
                                                            <parent_id>
323
                                                                <taxonlabel>
324
                                                                    <rank>cultivar</rank>
325
                                                                    <parent_id>
326
                                                                        <taxonlabel>
327
                                                                            <rank>forma</rank>
328
                                                                            <parent_id>
329
                                                                                <taxonlabel>
330
                                                                                    <rank>variety</rank>
331
                                                                                    <parent_id>
332
                                                                                        <taxonlabel>
333
                                                                                            <rank>subspecies</rank>
334
                                                                                            <parent_id>
335
                                                                                                <taxonlabel>
336
                                                                                                    <rank>species</rank>
337
                                                                                                    <taxonepithet>$orig_species</taxonepithet>
338
                                                                                                    <parent_id>
339
                                                                                                        <taxonlabel>
340
                                                                                                            <rank>genus</rank>
341
                                                                                                            <parent_id>
342
                                                                                                                <taxonlabel>
343
                                                                                                                    <rank>family</rank>
344
                                                                                                                    <taxonepithet>$orig_family</taxonepithet>
345
                                                                                                                </taxonlabel>
346
                                                                                                            </parent_id>
347
                                                                                                        </taxonlabel>
348
                                                                                                    </parent_id>
349
                                                                                                </taxonlabel>
350
                                                                                            </parent_id>
351
                                                                                        </taxonlabel>
352
                                                                                    </parent_id>
353
                                                                                </taxonlabel>
354
                                                                            </parent_id>
355
                                                                        </taxonlabel>
356
                                                                    </parent_id>
357
                                                                </taxonlabel>
358
                                                            </parent_id>
359
                                                        </taxonlabel>
360
                                                    </parent_id>
361
                                                    <taxonomicname>
362
                                                        <_merge_prefix>
363
                                                            <prefix><_taxon_family_require_std><family>$orig_family</family></_taxon_family_require_std></prefix>
364
                                                            <value>$orig_species</value>
365
                                                        </_merge_prefix>
366
                                                    </taxonomicname>
367
                                                </taxonlabel>
368
                                            </taxonlabel_id>
369
                                            <family>$orig_family</family>
370
                                            <specific_epithet>$orig_species</specific_epithet>
371
                                        </taxonverbatim>
372
                                    </taxonverbatim_id>
373
                                </taxondetermination>
374
                                <voucher>
375
                                    <specimenreplicate_id>
376
                                        <specimenreplicate>
377
                                            <catalognumber_dwc>
378
                                                <_if name="if indirect voucher">
379
                                                    <cond>
380
                                                        <_eq>
381
                                                            <right>indirect</right>
382
                                                            <left>$det_type</left>
383
                                                        </_eq>
384
                                                    </cond>
385
                                                    <then>
386
                                                        <_alt>
387
                                                            <1>$coll_number</1>
388
                                                            <2>$voucher_string</2>
389
                                                        </_alt>
390
                                                    </then>
391
                                                </_if>
392
                                            </catalognumber_dwc>
393
                                        </specimenreplicate>
394
                                    </specimenreplicate_id>
395
                                </voucher>
396
                            </taxonoccurrence>
397
                        </locationevent>
398
                        <sourceaccessioncode>
399
                            <_join>
400
                                <1>$PLOT_ID</1>
401
                                <2>$subplot</2>
402
                            </_join>
403
                        </sourceaccessioncode>
404
                    </location>
405
                </path>
406
            </_simplifyPath>
407
        </path>
408
    </_setDefault>
409
</VegBIEN>
410
Inserted 54 new rows into database
(5-5/6)