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><_date><date><_dateRangeEnd><value>$census_date</value></_dateRangeEnd></date></_date></obsenddate>
34
                            <obsstartdate><_date><date><_dateRangeStart><value>$census_date</value></_dateRangeStart></date></_date></obsstartdate>
35
                        </locationevent>
36
                    </parent_id>
37
                    <obsenddate><_date><date><_dateRangeEnd><value>$census_date</value></_dateRangeEnd></date></_date></obsenddate>
38
                    <obsstartdate><_date><date><_dateRangeStart><value>$census_date</value></_dateRangeStart></date></_date></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
                        <growthform>
148
                            <_map>
149
                                <T>tree</T>
150
                                <Arbol>tree</Arbol>
151
                                <palm>tree</palm>
152
                                <H>hemiepiphyte</H>
153
                                <Hemiepífito>hemiepiphyte</Hemiepífito>
154
                                <L>liana</L>
155
                                <l>liana</l>
156
                                <L?>liana</L?>
157
                                <Liana>liana</Liana>
158
                                <E>epiphyte</E>
159
                                <S>shrub</S>
160
                                <Hb>herb</Hb>
161
                                <vine-herbaceous>vine</vine-herbaceous>
162
                                <graminoid>grass</graminoid>
163
                                <rosette>forb</rosette>
164
                                <*>*</*>
165
                                <value>$habit</value>
166
                            </_map>
167
                        </growthform>
168
                        <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
169
                        <taxondetermination>
170
                            <taxonverbatim_id>
171
                                <taxonverbatim>
172
                                    <taxonlabel_id>
173
                                        <taxonlabel>
174
                                            <matched_label_id>
175
                                                <taxonlabel>
176
                                                    <reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
177
                                                    <taxonomicname>
178
                                                        <_join_words>
179
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
180
                                                            <2>
181
                                                                <_join_words>
182
                                                                    <1>
183
                                                                        <_join_words>
184
                                                                            <2>$genus</2>
185
                                                                            <3>$specific_epithet</3>
186
                                                                            <5>
187
                                                                                <_join_words>
188
                                                                                    <1>
189
                                                                                        <_if name="if has infraspecificEpithet">
190
                                                                                            <cond>$infra_ep_1</cond>
191
                                                                                            <then>$infra_rank_1</then>
192
                                                                                        </_if>
193
                                                                                    </1>
194
                                                                                    <2>$infra_ep_1</2>
195
                                                                                </_join_words>
196
                                                                            </5>
197
                                                                        </_join_words>
198
                                                                    </1>
199
                                                                    <2>$specific_authority</2>
200
                                                                </_join_words>
201
                                                            </2>
202
                                                        </_join_words>
203
                                                    </taxonomicname>
204
                                                </taxonlabel>
205
                                            </matched_label_id>
206
                                            <parent_id>
207
                                                <taxonlabel>
208
                                                    <rank>$infra_rank_1</rank>
209
                                                    <taxonverbatim><verbatimrank>$infra_rank_1</verbatimrank></taxonverbatim>
210
                                                    <parent_id>
211
                                                        <taxonlabel>
212
                                                            <rank>cultivar</rank>
213
                                                            <parent_id>
214
                                                                <taxonlabel>
215
                                                                    <rank>forma</rank>
216
                                                                    <parent_id>
217
                                                                        <taxonlabel>
218
                                                                            <rank>variety</rank>
219
                                                                            <parent_id>
220
                                                                                <taxonlabel>
221
                                                                                    <rank>subspecies</rank>
222
                                                                                    <parent_id>
223
                                                                                        <taxonlabel>
224
                                                                                            <rank>species</rank>
225
                                                                                            <taxonepithet>$specific_epithet</taxonepithet>
226
                                                                                            <parent_id>
227
                                                                                                <taxonlabel>
228
                                                                                                    <rank>genus</rank>
229
                                                                                                    <taxonepithet>$genus</taxonepithet>
230
                                                                                                    <parent_id>
231
                                                                                                        <taxonlabel>
232
                                                                                                            <rank>family</rank>
233
                                                                                                            <taxonepithet>$family</taxonepithet>
234
                                                                                                        </taxonlabel>
235
                                                                                                    </parent_id>
236
                                                                                                </taxonlabel>
237
                                                                                            </parent_id>
238
                                                                                        </taxonlabel>
239
                                                                                    </parent_id>
240
                                                                                </taxonlabel>
241
                                                                            </parent_id>
242
                                                                        </taxonlabel>
243
                                                                    </parent_id>
244
                                                                </taxonlabel>
245
                                                            </parent_id>
246
                                                        </taxonlabel>
247
                                                    </parent_id>
248
                                                    <taxonepithet>$infra_ep_1</taxonepithet>
249
                                                </taxonlabel>
250
                                            </parent_id>
251
                                            <rank>$infra_rank_1</rank>
252
                                            <taxonomicname>
253
                                                <_join_words>
254
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
255
                                                    <2>
256
                                                        <_join_words>
257
                                                            <1>
258
                                                                <_join_words>
259
                                                                    <2>$genus</2>
260
                                                                    <3>$specific_epithet</3>
261
                                                                    <5>
262
                                                                        <_join_words>
263
                                                                            <1>
264
                                                                                <_if name="if has infraspecificEpithet">
265
                                                                                    <cond>$infra_ep_1</cond>
266
                                                                                    <then>$infra_rank_1</then>
267
                                                                                </_if>
268
                                                                            </1>
269
                                                                            <2>$infra_ep_1</2>
270
                                                                        </_join_words>
271
                                                                    </5>
272
                                                                </_join_words>
273
                                                            </1>
274
                                                            <2>$specific_authority</2>
275
                                                        </_join_words>
276
                                                    </2>
277
                                                </_join_words>
278
                                            </taxonomicname>
279
                                        </taxonlabel>
280
                                    </taxonlabel_id>
281
                                    <author>$specific_authority</author>
282
                                    <family>$family</family>
283
                                    <genus>$genus</genus>
284
                                    <specific_epithet>$specific_epithet</specific_epithet>
285
                                    <verbatimrank>$infra_rank_1</verbatimrank>
286
                                </taxonverbatim>
287
                            </taxonverbatim_id>
288
                            <taxonfit>$cf_aff</taxonfit>
289
                        </taxondetermination>
290
                        <taxondetermination>
291
                            <isoriginal>true</isoriginal>
292
                            <taxonverbatim_id>
293
                                <taxonverbatim>
294
                                    <taxonlabel_id>
295
                                        <taxonlabel>
296
                                            <matched_label_id>
297
                                                <taxonlabel>
298
                                                    <reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
299
                                                    <taxonomicname>
300
                                                        <_join_words>
301
                                                            <1><_taxon_family_require_std><family>$orig_family</family></_taxon_family_require_std></1>
302
                                                            <2>$orig_species</2>
303
                                                        </_join_words>
304
                                                    </taxonomicname>
305
                                                </taxonlabel>
306
                                            </matched_label_id>
307
                                            <parent_id>
308
                                                <taxonlabel>
309
                                                    <parent_id>
310
                                                        <taxonlabel>
311
                                                            <rank>cultivar</rank>
312
                                                            <parent_id>
313
                                                                <taxonlabel>
314
                                                                    <rank>forma</rank>
315
                                                                    <parent_id>
316
                                                                        <taxonlabel>
317
                                                                            <rank>variety</rank>
318
                                                                            <parent_id>
319
                                                                                <taxonlabel>
320
                                                                                    <rank>subspecies</rank>
321
                                                                                    <parent_id>
322
                                                                                        <taxonlabel>
323
                                                                                            <rank>species</rank>
324
                                                                                            <taxonepithet>$orig_species</taxonepithet>
325
                                                                                            <parent_id>
326
                                                                                                <taxonlabel>
327
                                                                                                    <rank>genus</rank>
328
                                                                                                    <parent_id>
329
                                                                                                        <taxonlabel>
330
                                                                                                            <rank>family</rank>
331
                                                                                                            <taxonepithet>$orig_family</taxonepithet>
332
                                                                                                        </taxonlabel>
333
                                                                                                    </parent_id>
334
                                                                                                </taxonlabel>
335
                                                                                            </parent_id>
336
                                                                                        </taxonlabel>
337
                                                                                    </parent_id>
338
                                                                                </taxonlabel>
339
                                                                            </parent_id>
340
                                                                        </taxonlabel>
341
                                                                    </parent_id>
342
                                                                </taxonlabel>
343
                                                            </parent_id>
344
                                                        </taxonlabel>
345
                                                    </parent_id>
346
                                                </taxonlabel>
347
                                            </parent_id>
348
                                            <taxonomicname>
349
                                                <_join_words>
350
                                                    <1><_taxon_family_require_std><family>$orig_family</family></_taxon_family_require_std></1>
351
                                                    <2>$orig_species</2>
352
                                                </_join_words>
353
                                            </taxonomicname>
354
                                        </taxonlabel>
355
                                    </taxonlabel_id>
356
                                    <family>$orig_family</family>
357
                                    <specific_epithet>$orig_species</specific_epithet>
358
                                </taxonverbatim>
359
                            </taxonverbatim_id>
360
                        </taxondetermination>
361
                        <verbatimcollectorname>
362
                            <_join_words>
363
                                <1>$coll_firstname</1>
364
                                <2>$coll_lastname</2>
365
                            </_join_words>
366
                        </verbatimcollectorname>
367
                        <voucher>
368
                            <specimenreplicate_id>
369
                                <specimenreplicate>
370
                                    <catalognumber_dwc>
371
                                        <_if name="if indirect voucher">
372
                                            <cond>
373
                                                <_eq>
374
                                                    <right>indirect</right>
375
                                                    <left>$det_type</left>
376
                                                </_eq>
377
                                            </cond>
378
                                            <then>
379
                                                <_alt>
380
                                                    <1>$coll_number</1>
381
                                                    <2>$voucher_string</2>
382
                                                </_alt>
383
                                            </then>
384
                                        </_if>
385
                                    </catalognumber_dwc>
386
                                </specimenreplicate>
387
                            </specimenreplicate_id>
388
                        </voucher>
389
                    </taxonoccurrence>
390
                </locationevent>
391
                <sourceaccessioncode>
392
                    <_join>
393
                        <1>$PLOT_ID</1>
394
                        <2>$subplot</2>
395
                    </_join>
396
                </sourceaccessioncode>
397
            </location>
398
        </path>
399
    </_simplifyPath>
400
</VegBIEN>
401
Inserted 53 new rows into database
(5-5/6)