Project

General

Profile

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