Project

General

Profile

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