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