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