Project

General

Profile

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