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
                            <taxonlabel_id>
149
                                <taxonlabel>
150
                                    <matched_label_id>
151
                                        <taxonlabel>
152
                                            <creator_id>
153
                                                <party>
154
                                                    <creator_id>0</creator_id>
155
                                                    <organizationname>TNRS</organizationname>
156
                                                </party>
157
                                            </creator_id>
158
                                            <taxonomicname>
159
                                                <_join_words>
160
                                                    <1>
161
                                                        <_join_words>
162
                                                            <1>$family</1>
163
                                                            <2>$genus</2>
164
                                                            <3>$specific_epithet</3>
165
                                                            <5>
166
                                                                <_join_words>
167
                                                                    <1>
168
                                                                        <_if name="if has infraspecificEpithet">
169
                                                                            <cond>$infra_ep_1</cond>
170
                                                                            <then>$infra_rank_1</then>
171
                                                                        </_if>
172
                                                                    </1>
173
                                                                    <2>$infra_ep_1</2>
174
                                                                </_join_words>
175
                                                            </5>
176
                                                        </_join_words>
177
                                                    </1>
178
                                                    <2>$specific_authority</2>
179
                                                </_join_words>
180
                                            </taxonomicname>
181
                                        </taxonlabel>
182
                                    </matched_label_id>
183
                                    <parent_id>
184
                                        <taxonlabel>
185
                                            <rank>$infra_rank_1</rank>
186
                                            <taxonverbatim><verbatimrank>$infra_rank_1</verbatimrank></taxonverbatim>
187
                                            <parent_id>
188
                                                <taxonlabel>
189
                                                    <rank>cultivar</rank>
190
                                                    <parent_id>
191
                                                        <taxonlabel>
192
                                                            <rank>forma</rank>
193
                                                            <parent_id>
194
                                                                <taxonlabel>
195
                                                                    <rank>variety</rank>
196
                                                                    <parent_id>
197
                                                                        <taxonlabel>
198
                                                                            <rank>subspecies</rank>
199
                                                                            <parent_id>
200
                                                                                <taxonlabel>
201
                                                                                    <rank>species</rank>
202
                                                                                    <taxonepithet>$specific_epithet</taxonepithet>
203
                                                                                    <parent_id>
204
                                                                                        <taxonlabel>
205
                                                                                            <rank>genus</rank>
206
                                                                                            <taxonepithet>$genus</taxonepithet>
207
                                                                                            <parent_id>
208
                                                                                                <taxonlabel>
209
                                                                                                    <rank>family</rank>
210
                                                                                                    <taxonepithet>$family</taxonepithet>
211
                                                                                                </taxonlabel>
212
                                                                                            </parent_id>
213
                                                                                        </taxonlabel>
214
                                                                                    </parent_id>
215
                                                                                </taxonlabel>
216
                                                                            </parent_id>
217
                                                                        </taxonlabel>
218
                                                                    </parent_id>
219
                                                                </taxonlabel>
220
                                                            </parent_id>
221
                                                        </taxonlabel>
222
                                                    </parent_id>
223
                                                </taxonlabel>
224
                                            </parent_id>
225
                                            <taxonepithet>$infra_ep_1</taxonepithet>
226
                                        </taxonlabel>
227
                                    </parent_id>
228
                                    <rank>$infra_rank_1</rank>
229
                                    <taxonomicname>
230
                                        <_join_words>
231
                                            <1>
232
                                                <_join_words>
233
                                                    <1>$family</1>
234
                                                    <2>$genus</2>
235
                                                    <3>$specific_epithet</3>
236
                                                    <5>
237
                                                        <_join_words>
238
                                                            <1>
239
                                                                <_if name="if has infraspecificEpithet">
240
                                                                    <cond>$infra_ep_1</cond>
241
                                                                    <then>$infra_rank_1</then>
242
                                                                </_if>
243
                                                            </1>
244
                                                            <2>$infra_ep_1</2>
245
                                                        </_join_words>
246
                                                    </5>
247
                                                </_join_words>
248
                                            </1>
249
                                            <2>$specific_authority</2>
250
                                        </_join_words>
251
                                    </taxonomicname>
252
                                    <taxonverbatim>
253
                                        <author>$specific_authority</author>
254
                                        <family>$family</family>
255
                                        <genus>$genus</genus>
256
                                        <species>$specific_epithet</species>
257
                                        <verbatimrank>$infra_rank_1</verbatimrank>
258
                                    </taxonverbatim>
259
                                </taxonlabel>
260
                            </taxonlabel_id>
261
                            <taxonfit>$cf_aff</taxonfit>
262
                        </taxondetermination>
263
                        <taxondetermination>
264
                            <isoriginal>true</isoriginal>
265
                            <taxonlabel_id>
266
                                <taxonlabel>
267
                                    <matched_label_id>
268
                                        <taxonlabel>
269
                                            <creator_id>
270
                                                <party>
271
                                                    <creator_id>0</creator_id>
272
                                                    <organizationname>TNRS</organizationname>
273
                                                </party>
274
                                            </creator_id>
275
                                            <taxonomicname>
276
                                                <_join_words>
277
                                                    <1>$orig_family</1>
278
                                                    <3>$orig_species</3>
279
                                                </_join_words>
280
                                            </taxonomicname>
281
                                        </taxonlabel>
282
                                    </matched_label_id>
283
                                    <parent_id>
284
                                        <taxonlabel>
285
                                            <parent_id>
286
                                                <taxonlabel>
287
                                                    <rank>cultivar</rank>
288
                                                    <parent_id>
289
                                                        <taxonlabel>
290
                                                            <rank>forma</rank>
291
                                                            <parent_id>
292
                                                                <taxonlabel>
293
                                                                    <rank>variety</rank>
294
                                                                    <parent_id>
295
                                                                        <taxonlabel>
296
                                                                            <rank>subspecies</rank>
297
                                                                            <parent_id>
298
                                                                                <taxonlabel>
299
                                                                                    <rank>species</rank>
300
                                                                                    <taxonepithet>$orig_species</taxonepithet>
301
                                                                                    <parent_id>
302
                                                                                        <taxonlabel>
303
                                                                                            <rank>genus</rank>
304
                                                                                            <parent_id>
305
                                                                                                <taxonlabel>
306
                                                                                                    <rank>family</rank>
307
                                                                                                    <taxonepithet>$orig_family</taxonepithet>
308
                                                                                                </taxonlabel>
309
                                                                                            </parent_id>
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
                                    <taxonomicname>
325
                                        <_join_words>
326
                                            <1>$orig_family</1>
327
                                            <3>$orig_species</3>
328
                                        </_join_words>
329
                                    </taxonomicname>
330
                                    <taxonverbatim>
331
                                        <family>$orig_family</family>
332
                                        <species>$orig_species</species>
333
                                    </taxonverbatim>
334
                                </taxonlabel>
335
                            </taxonlabel_id>
336
                        </taxondetermination>
337
                        <verbatimcollectorname>
338
                            <_join_words>
339
                                <1>$coll_firstname</1>
340
                                <2>$coll_lastname</2>
341
                            </_join_words>
342
                        </verbatimcollectorname>
343
                        <voucher>
344
                            <specimenreplicate_id>
345
                                <specimenreplicate>
346
                                    <catalognumber_dwc>
347
                                        <_if name="if indirect voucher">
348
                                            <cond>
349
                                                <_eq>
350
                                                    <right>indirect</right>
351
                                                    <left>$det_type</left>
352
                                                </_eq>
353
                                            </cond>
354
                                            <then>
355
                                                <_alt>
356
                                                    <1>$coll_number</1>
357
                                                    <2>$voucher_string</2>
358
                                                </_alt>
359
                                            </then>
360
                                        </_if>
361
                                    </catalognumber_dwc>
362
                                </specimenreplicate>
363
                            </specimenreplicate_id>
364
                        </voucher>
365
                    </taxonoccurrence>
366
                </locationevent>
367
            </location>
368
        </path>
369
    </_simplifyPath>
370
</VegBIEN>
371
Inserted 52 new rows into database
(5-5/6)