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