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>$PlotCode</authorlocationcode>
10
                        <sourceaccessioncode>$PlotID</sourceaccessioncode>
11
                    </location>
12
                </parent_id>
13
                <authorlocationcode>$Line</authorlocationcode>
14
                <locationevent>
15
                    <parent_id>
16
                        <locationevent>
17
                            <location_id>
18
                                <location>
19
                                    <authorlocationcode>$PlotCode</authorlocationcode>
20
                                    <sourceaccessioncode>$PlotID</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>$NoInd</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
                            <notes>$Notes</notes>
44
                            <plantobservation>
45
                                <collectionnumber>$Ind</collectionnumber>
46
                                <sourceaccessioncode>$PlotObsID</sourceaccessioncode>
47
                                <specimenreplicate>
48
                                    <catalognumber_dwc>
49
                                        <_if name="if indirect voucher">
50
                                            <cond>
51
                                                <_eq>
52
                                                    <right>indirect</right>
53
                                                    <left>$DetType</left>
54
                                                </_eq>
55
                                            </cond>
56
                                            <else>
57
                                                <_alt>
58
                                                    <1>$coll_number</1>
59
                                                    <2>$SourceVoucher</2>
60
                                                </_alt>
61
                                            </else>
62
                                        </_if>
63
                                    </catalognumber_dwc>
64
                                </specimenreplicate>
65
                                <stemobservation>
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>$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>$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>$liana_infestation</definedvalue>
92
                                    </definedvalue>
93
                                    <diameterbreastheight_m><_cm_to_m><value>$temp_dbh</value></_cm_to_m></diameterbreastheight_m>
94
                                    <height_m>$height_m</height_m>
95
                                    <heightfirstbranch_m>$ht_first_branch_m</heightfirstbranch_m>
96
                                    <tag>
97
                                        <_alt>
98
                                            <1>$tag2</1>
99
                                            <2>$tag1</2>
100
                                        </_alt>
101
                                    </tag>
102
                                    <xposition_m>$x_position</xposition_m>
103
                                    <yposition_m>$y_position</yposition_m>
104
                                </stemobservation>
105
                            </plantobservation>
106
                        </aggregateoccurrence>
107
                        <authortaxoncode>$Ind</authortaxoncode>
108
                        <growthform>
109
                            <_map>
110
                                <T>tree</T>
111
                                <Arbol>tree</Arbol>
112
                                <palm>tree</palm>
113
                                <H>hemiepiphyte</H>
114
                                <Hemiepífito>hemiepiphyte</Hemiepífito>
115
                                <L>liana</L>
116
                                <l>liana</l>
117
                                <L?>liana</L?>
118
                                <Liana>liana</Liana>
119
                                <E>epiphyte</E>
120
                                <S>shrub</S>
121
                                <Hb>herb</Hb>
122
                                <vine-herbaceous>vine</vine-herbaceous>
123
                                <graminoid>grass</graminoid>
124
                                <rosette>forb</rosette>
125
                                <*>*</*>
126
                                <value>$Habit</value>
127
                            </_map>
128
                        </growthform>
129
                        <sourceaccessioncode>$PlotObsID</sourceaccessioncode>
130
                        <taxondetermination>
131
                            <taxonverbatim_id>
132
                                <taxonverbatim>
133
                                    <taxonlabel_id>
134
                                        <taxonlabel>
135
                                            <matched_label_id>
136
                                                <taxonlabel>
137
                                                    <reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
138
                                                    <taxonomicname>
139
                                                        <_join_words>
140
                                                            <1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1>
141
                                                            <2>
142
                                                                <_join_words>
143
                                                                    <1>
144
                                                                        <_join_words>
145
                                                                            <2>$Genus</2>
146
                                                                            <3>$Species</3>
147
                                                                            <5>
148
                                                                                <_join_words>
149
                                                                                    <1>
150
                                                                                        <_if name="if has infraspecificEpithet">
151
                                                                                            <cond>$infra_ep_1</cond>
152
                                                                                            <then>$infra_rank_1</then>
153
                                                                                        </_if>
154
                                                                                    </1>
155
                                                                                    <2>$infra_ep_1</2>
156
                                                                                </_join_words>
157
                                                                            </5>
158
                                                                        </_join_words>
159
                                                                    </1>
160
                                                                    <2>$auth</2>
161
                                                                </_join_words>
162
                                                            </2>
163
                                                        </_join_words>
164
                                                    </taxonomicname>
165
                                                </taxonlabel>
166
                                            </matched_label_id>
167
                                            <parent_id>
168
                                                <taxonlabel>
169
                                                    <rank>$infra_rank_1</rank>
170
                                                    <taxonverbatim><verbatimrank>$infra_rank_1</verbatimrank></taxonverbatim>
171
                                                    <parent_id>
172
                                                        <taxonlabel>
173
                                                            <rank>cultivar</rank>
174
                                                            <parent_id>
175
                                                                <taxonlabel>
176
                                                                    <rank>forma</rank>
177
                                                                    <parent_id>
178
                                                                        <taxonlabel>
179
                                                                            <rank>variety</rank>
180
                                                                            <parent_id>
181
                                                                                <taxonlabel>
182
                                                                                    <rank>subspecies</rank>
183
                                                                                    <parent_id>
184
                                                                                        <taxonlabel>
185
                                                                                            <rank>species</rank>
186
                                                                                            <taxonepithet>$Species</taxonepithet>
187
                                                                                            <parent_id>
188
                                                                                                <taxonlabel>
189
                                                                                                    <rank>genus</rank>
190
                                                                                                    <taxonepithet>$Genus</taxonepithet>
191
                                                                                                    <parent_id>
192
                                                                                                        <taxonlabel>
193
                                                                                                            <rank>family</rank>
194
                                                                                                            <taxonepithet>$Family</taxonepithet>
195
                                                                                                        </taxonlabel>
196
                                                                                                    </parent_id>
197
                                                                                                </taxonlabel>
198
                                                                                            </parent_id>
199
                                                                                        </taxonlabel>
200
                                                                                    </parent_id>
201
                                                                                </taxonlabel>
202
                                                                            </parent_id>
203
                                                                        </taxonlabel>
204
                                                                    </parent_id>
205
                                                                </taxonlabel>
206
                                                            </parent_id>
207
                                                        </taxonlabel>
208
                                                    </parent_id>
209
                                                    <taxonepithet>$infra_ep_1</taxonepithet>
210
                                                </taxonlabel>
211
                                            </parent_id>
212
                                            <rank>$infra_rank_1</rank>
213
                                            <taxonomicname>
214
                                                <_join_words>
215
                                                    <1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1>
216
                                                    <2>
217
                                                        <_join_words>
218
                                                            <1>
219
                                                                <_join_words>
220
                                                                    <2>$Genus</2>
221
                                                                    <3>$Species</3>
222
                                                                    <5>
223
                                                                        <_join_words>
224
                                                                            <1>
225
                                                                                <_if name="if has infraspecificEpithet">
226
                                                                                    <cond>$infra_ep_1</cond>
227
                                                                                    <then>$infra_rank_1</then>
228
                                                                                </_if>
229
                                                                            </1>
230
                                                                            <2>$infra_ep_1</2>
231
                                                                        </_join_words>
232
                                                                    </5>
233
                                                                </_join_words>
234
                                                            </1>
235
                                                            <2>$auth</2>
236
                                                        </_join_words>
237
                                                    </2>
238
                                                </_join_words>
239
                                            </taxonomicname>
240
                                        </taxonlabel>
241
                                    </taxonlabel_id>
242
                                    <author>$auth</author>
243
                                    <family>$Family</family>
244
                                    <genus>$Genus</genus>
245
                                    <specific_epithet>$Species</specific_epithet>
246
                                    <verbatimrank>$infra_rank_1</verbatimrank>
247
                                </taxonverbatim>
248
                            </taxonverbatim_id>
249
                            <taxonfit>$cfaff</taxonfit>
250
                        </taxondetermination>
251
                        <taxondetermination>
252
                            <isoriginal>true</isoriginal>
253
                            <taxonverbatim_id>
254
                                <taxonverbatim>
255
                                    <taxonlabel_id>
256
                                        <taxonlabel>
257
                                            <matched_label_id>
258
                                                <taxonlabel>
259
                                                    <reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
260
                                                    <taxonomicname>
261
                                                        <_join_words>
262
                                                            <1><_taxon_family_require_std><family>$OrigFamily</family></_taxon_family_require_std></1>
263
                                                            <2>
264
                                                                <_join_words>
265
                                                                    <2>$OrigGenus</2>
266
                                                                    <3>$OrigSpecies</3>
267
                                                                </_join_words>
268
                                                            </2>
269
                                                        </_join_words>
270
                                                    </taxonomicname>
271
                                                </taxonlabel>
272
                                            </matched_label_id>
273
                                            <parent_id>
274
                                                <taxonlabel>
275
                                                    <parent_id>
276
                                                        <taxonlabel>
277
                                                            <rank>cultivar</rank>
278
                                                            <parent_id>
279
                                                                <taxonlabel>
280
                                                                    <rank>forma</rank>
281
                                                                    <parent_id>
282
                                                                        <taxonlabel>
283
                                                                            <rank>variety</rank>
284
                                                                            <parent_id>
285
                                                                                <taxonlabel>
286
                                                                                    <rank>subspecies</rank>
287
                                                                                    <parent_id>
288
                                                                                        <taxonlabel>
289
                                                                                            <rank>species</rank>
290
                                                                                            <taxonepithet>$OrigSpecies</taxonepithet>
291
                                                                                            <parent_id>
292
                                                                                                <taxonlabel>
293
                                                                                                    <rank>genus</rank>
294
                                                                                                    <taxonepithet>$OrigGenus</taxonepithet>
295
                                                                                                    <parent_id>
296
                                                                                                        <taxonlabel>
297
                                                                                                            <rank>family</rank>
298
                                                                                                            <taxonepithet>$OrigFamily</taxonepithet>
299
                                                                                                        </taxonlabel>
300
                                                                                                    </parent_id>
301
                                                                                                </taxonlabel>
302
                                                                                            </parent_id>
303
                                                                                        </taxonlabel>
304
                                                                                    </parent_id>
305
                                                                                </taxonlabel>
306
                                                                            </parent_id>
307
                                                                        </taxonlabel>
308
                                                                    </parent_id>
309
                                                                </taxonlabel>
310
                                                            </parent_id>
311
                                                        </taxonlabel>
312
                                                    </parent_id>
313
                                                </taxonlabel>
314
                                            </parent_id>
315
                                            <taxonomicname>
316
                                                <_join_words>
317
                                                    <1><_taxon_family_require_std><family>$OrigFamily</family></_taxon_family_require_std></1>
318
                                                    <2>
319
                                                        <_join_words>
320
                                                            <2>$OrigGenus</2>
321
                                                            <3>$OrigSpecies</3>
322
                                                        </_join_words>
323
                                                    </2>
324
                                                </_join_words>
325
                                            </taxonomicname>
326
                                        </taxonlabel>
327
                                    </taxonlabel_id>
328
                                    <family>$OrigFamily</family>
329
                                    <genus>$OrigGenus</genus>
330
                                    <specific_epithet>$OrigSpecies</specific_epithet>
331
                                </taxonverbatim>
332
                            </taxonverbatim_id>
333
                        </taxondetermination>
334
                        <verbatimcollectorname>
335
                            <_join_words>
336
                                <1>$coll_firstname</1>
337
                                <2>$coll_lastname</2>
338
                            </_join_words>
339
                        </verbatimcollectorname>
340
                        <voucher>
341
                            <specimenreplicate_id>
342
                                <specimenreplicate>
343
                                    <catalognumber_dwc>
344
                                        <_if name="if indirect voucher">
345
                                            <cond>
346
                                                <_eq>
347
                                                    <right>indirect</right>
348
                                                    <left>$DetType</left>
349
                                                </_eq>
350
                                            </cond>
351
                                            <then>
352
                                                <_alt>
353
                                                    <1>$coll_number</1>
354
                                                    <2>$SourceVoucher</2>
355
                                                </_alt>
356
                                            </then>
357
                                        </_if>
358
                                    </catalognumber_dwc>
359
                                </specimenreplicate>
360
                            </specimenreplicate_id>
361
                        </voucher>
362
                    </taxonoccurrence>
363
                </locationevent>
364
                <sourceaccessioncode>
365
                    <_join>
366
                        <1>$PlotID</1>
367
                        <2>$Line</2>
368
                    </_join>
369
                </sourceaccessioncode>
370
            </location>
371
        </path>
372
    </_simplifyPath>
373
</VegBIEN>
374
Inserted 52 new rows into database
(6-6/7)