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
                            <obsenddate><_date><date><_dateRangeEnd><value>$census_date</value></_dateRangeEnd></date></_date></obsenddate>
34
                            <obsstartdate><_date><date><_dateRangeStart><value>$census_date</value></_dateRangeStart></date></_date></obsstartdate>
35
                        </locationevent>
36
                    </parent_id>
37 4621 aaronmk
                    <obsenddate><_date><date><_dateRangeEnd><value>$census_date</value></_dateRangeEnd></date></_date></obsenddate>
38
                    <obsstartdate><_date><date><_dateRangeStart><value>$census_date</value></_dateRangeStart></date></_date></obsstartdate>
39
                    <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 4621 aaronmk
                        <growthform>
148
                            <_map>
149
                                <T>tree</T>
150
                                <Arbol>tree</Arbol>
151
                                <palm>tree</palm>
152
                                <H>hemiepiphyte</H>
153
                                <Hemiepífito>hemiepiphyte</Hemiepífito>
154
                                <L>liana</L>
155
                                <l>liana</l>
156
                                <L?>liana</L?>
157
                                <Liana>liana</Liana>
158
                                <E>epiphyte</E>
159
                                <S>shrub</S>
160
                                <Hb>herb</Hb>
161
                                <vine-herbaceous>vine</vine-herbaceous>
162
                                <graminoid>grass</graminoid>
163
                                <rosette>forb</rosette>
164
                                <*>*</*>
165
                                <value>$habit</value>
166
                            </_map>
167
                        </growthform>
168
                        <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
169
                        <taxondetermination>
170 5657 aaronmk
                            <taxonverbatim_id>
171
                                <taxonverbatim>
172
                                    <taxonlabel_id>
173 5608 aaronmk
                                        <taxonlabel>
174 5657 aaronmk
                                            <matched_label_id>
175
                                                <taxonlabel>
176 5953 aaronmk
                                                    <reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
177 5657 aaronmk
                                                    <taxonomicname>
178 5012 aaronmk
                                                        <_join_words>
179 5790 aaronmk
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
180 5788 aaronmk
                                                            <2>
181 5138 aaronmk
                                                                <_join_words>
182 5788 aaronmk
                                                                    <1>
183 5657 aaronmk
                                                                        <_join_words>
184 5788 aaronmk
                                                                            <2>$genus</2>
185
                                                                            <3>$specific_epithet</3>
186
                                                                            <5>
187
                                                                                <_join_words>
188
                                                                                    <1>
189
                                                                                        <_if name="if has infraspecificEpithet">
190
                                                                                            <cond>$infra_ep_1</cond>
191
                                                                                            <then>$infra_rank_1</then>
192
                                                                                        </_if>
193
                                                                                    </1>
194
                                                                                    <2>$infra_ep_1</2>
195
                                                                                </_join_words>
196
                                                                            </5>
197 5657 aaronmk
                                                                        </_join_words>
198 5788 aaronmk
                                                                    </1>
199
                                                                    <2>$specific_authority</2>
200 5138 aaronmk
                                                                </_join_words>
201 5788 aaronmk
                                                            </2>
202 5012 aaronmk
                                                        </_join_words>
203 5657 aaronmk
                                                    </taxonomicname>
204
                                                </taxonlabel>
205
                                            </matched_label_id>
206 5294 aaronmk
                                            <parent_id>
207 5608 aaronmk
                                                <taxonlabel>
208 5657 aaronmk
                                                    <rank>$infra_rank_1</rank>
209
                                                    <taxonverbatim><verbatimrank>$infra_rank_1</verbatimrank></taxonverbatim>
210 5294 aaronmk
                                                    <parent_id>
211 5608 aaronmk
                                                        <taxonlabel>
212 5657 aaronmk
                                                            <rank>cultivar</rank>
213 5294 aaronmk
                                                            <parent_id>
214 5608 aaronmk
                                                                <taxonlabel>
215 5657 aaronmk
                                                                    <rank>forma</rank>
216 5294 aaronmk
                                                                    <parent_id>
217 5608 aaronmk
                                                                        <taxonlabel>
218 5657 aaronmk
                                                                            <rank>variety</rank>
219 5294 aaronmk
                                                                            <parent_id>
220 5608 aaronmk
                                                                                <taxonlabel>
221 5657 aaronmk
                                                                                    <rank>subspecies</rank>
222 5294 aaronmk
                                                                                    <parent_id>
223 5608 aaronmk
                                                                                        <taxonlabel>
224 5657 aaronmk
                                                                                            <rank>species</rank>
225
                                                                                            <taxonepithet>$specific_epithet</taxonepithet>
226 5306 aaronmk
                                                                                            <parent_id>
227 5608 aaronmk
                                                                                                <taxonlabel>
228 5657 aaronmk
                                                                                                    <rank>genus</rank>
229
                                                                                                    <taxonepithet>$genus</taxonepithet>
230
                                                                                                    <parent_id>
231
                                                                                                        <taxonlabel>
232
                                                                                                            <rank>family</rank>
233
                                                                                                            <taxonepithet>$family</taxonepithet>
234
                                                                                                        </taxonlabel>
235
                                                                                                    </parent_id>
236 5608 aaronmk
                                                                                                </taxonlabel>
237 5306 aaronmk
                                                                                            </parent_id>
238 5608 aaronmk
                                                                                        </taxonlabel>
239 5294 aaronmk
                                                                                    </parent_id>
240 5608 aaronmk
                                                                                </taxonlabel>
241 5294 aaronmk
                                                                            </parent_id>
242 5608 aaronmk
                                                                        </taxonlabel>
243 5294 aaronmk
                                                                    </parent_id>
244 5608 aaronmk
                                                                </taxonlabel>
245 5294 aaronmk
                                                            </parent_id>
246 5608 aaronmk
                                                        </taxonlabel>
247 5294 aaronmk
                                                    </parent_id>
248 5657 aaronmk
                                                    <taxonepithet>$infra_ep_1</taxonepithet>
249 5608 aaronmk
                                                </taxonlabel>
250 5294 aaronmk
                                            </parent_id>
251 5657 aaronmk
                                            <rank>$infra_rank_1</rank>
252
                                            <taxonomicname>
253 5656 aaronmk
                                                <_join_words>
254 5790 aaronmk
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
255 5788 aaronmk
                                                    <2>
256 5656 aaronmk
                                                        <_join_words>
257 5788 aaronmk
                                                            <1>
258 5657 aaronmk
                                                                <_join_words>
259 5788 aaronmk
                                                                    <2>$genus</2>
260
                                                                    <3>$specific_epithet</3>
261
                                                                    <5>
262
                                                                        <_join_words>
263
                                                                            <1>
264
                                                                                <_if name="if has infraspecificEpithet">
265
                                                                                    <cond>$infra_ep_1</cond>
266
                                                                                    <then>$infra_rank_1</then>
267
                                                                                </_if>
268
                                                                            </1>
269
                                                                            <2>$infra_ep_1</2>
270
                                                                        </_join_words>
271
                                                                    </5>
272 5657 aaronmk
                                                                </_join_words>
273 5788 aaronmk
                                                            </1>
274
                                                            <2>$specific_authority</2>
275 5656 aaronmk
                                                        </_join_words>
276 5788 aaronmk
                                                    </2>
277 5656 aaronmk
                                                </_join_words>
278 5657 aaronmk
                                            </taxonomicname>
279
                                        </taxonlabel>
280
                                    </taxonlabel_id>
281
                                    <author>$specific_authority</author>
282
                                    <family>$family</family>
283
                                    <genus>$genus</genus>
284 5783 aaronmk
                                    <specific_epithet>$specific_epithet</specific_epithet>
285 5657 aaronmk
                                    <verbatimrank>$infra_rank_1</verbatimrank>
286
                                </taxonverbatim>
287
                            </taxonverbatim_id>
288 4621 aaronmk
                            <taxonfit>$cf_aff</taxonfit>
289
                        </taxondetermination>
290
                        <taxondetermination>
291
                            <isoriginal>true</isoriginal>
292 5657 aaronmk
                            <taxonverbatim_id>
293
                                <taxonverbatim>
294
                                    <taxonlabel_id>
295 5608 aaronmk
                                        <taxonlabel>
296 5657 aaronmk
                                            <matched_label_id>
297
                                                <taxonlabel>
298 5953 aaronmk
                                                    <reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
299 5657 aaronmk
                                                    <taxonomicname>
300
                                                        <_join_words>
301 5790 aaronmk
                                                            <1><_taxon_family_require_std><family>$orig_family</family></_taxon_family_require_std></1>
302 5788 aaronmk
                                                            <2>$orig_species</2>
303 5657 aaronmk
                                                        </_join_words>
304
                                                    </taxonomicname>
305
                                                </taxonlabel>
306
                                            </matched_label_id>
307 5295 aaronmk
                                            <parent_id>
308 5608 aaronmk
                                                <taxonlabel>
309 5295 aaronmk
                                                    <parent_id>
310 5608 aaronmk
                                                        <taxonlabel>
311 5657 aaronmk
                                                            <rank>cultivar</rank>
312 5295 aaronmk
                                                            <parent_id>
313 5608 aaronmk
                                                                <taxonlabel>
314 5657 aaronmk
                                                                    <rank>forma</rank>
315 5295 aaronmk
                                                                    <parent_id>
316 5608 aaronmk
                                                                        <taxonlabel>
317 5657 aaronmk
                                                                            <rank>variety</rank>
318 5295 aaronmk
                                                                            <parent_id>
319 5608 aaronmk
                                                                                <taxonlabel>
320 5657 aaronmk
                                                                                    <rank>subspecies</rank>
321 5295 aaronmk
                                                                                    <parent_id>
322 5608 aaronmk
                                                                                        <taxonlabel>
323 5657 aaronmk
                                                                                            <rank>species</rank>
324
                                                                                            <taxonepithet>$orig_species</taxonepithet>
325 5306 aaronmk
                                                                                            <parent_id>
326 5608 aaronmk
                                                                                                <taxonlabel>
327 5657 aaronmk
                                                                                                    <rank>genus</rank>
328
                                                                                                    <parent_id>
329
                                                                                                        <taxonlabel>
330
                                                                                                            <rank>family</rank>
331
                                                                                                            <taxonepithet>$orig_family</taxonepithet>
332
                                                                                                        </taxonlabel>
333
                                                                                                    </parent_id>
334 5608 aaronmk
                                                                                                </taxonlabel>
335 5306 aaronmk
                                                                                            </parent_id>
336 5608 aaronmk
                                                                                        </taxonlabel>
337 5295 aaronmk
                                                                                    </parent_id>
338 5608 aaronmk
                                                                                </taxonlabel>
339 5295 aaronmk
                                                                            </parent_id>
340 5608 aaronmk
                                                                        </taxonlabel>
341 5295 aaronmk
                                                                    </parent_id>
342 5608 aaronmk
                                                                </taxonlabel>
343 5295 aaronmk
                                                            </parent_id>
344 5608 aaronmk
                                                        </taxonlabel>
345 5295 aaronmk
                                                    </parent_id>
346 5608 aaronmk
                                                </taxonlabel>
347 5295 aaronmk
                                            </parent_id>
348 5657 aaronmk
                                            <taxonomicname>
349
                                                <_join_words>
350 5790 aaronmk
                                                    <1><_taxon_family_require_std><family>$orig_family</family></_taxon_family_require_std></1>
351 5788 aaronmk
                                                    <2>$orig_species</2>
352 5657 aaronmk
                                                </_join_words>
353
                                            </taxonomicname>
354 5608 aaronmk
                                        </taxonlabel>
355 5657 aaronmk
                                    </taxonlabel_id>
356
                                    <family>$orig_family</family>
357 5783 aaronmk
                                    <specific_epithet>$orig_species</specific_epithet>
358 5657 aaronmk
                                </taxonverbatim>
359
                            </taxonverbatim_id>
360 4621 aaronmk
                        </taxondetermination>
361
                        <verbatimcollectorname>
362 5014 aaronmk
                            <_join_words>
363
                                <1>$coll_firstname</1>
364
                                <2>$coll_lastname</2>
365
                            </_join_words>
366 4621 aaronmk
                        </verbatimcollectorname>
367
                        <voucher>
368
                            <specimenreplicate_id>
369
                                <specimenreplicate>
370
                                    <catalognumber_dwc>
371
                                        <_if name="if indirect voucher">
372
                                            <cond>
373
                                                <_eq>
374
                                                    <right>indirect</right>
375
                                                    <left>$det_type</left>
376
                                                </_eq>
377
                                            </cond>
378
                                            <then>
379
                                                <_alt>
380
                                                    <1>$coll_number</1>
381
                                                    <2>$voucher_string</2>
382
                                                </_alt>
383
                                            </then>
384
                                        </_if>
385
                                    </catalognumber_dwc>
386
                                </specimenreplicate>
387
                            </specimenreplicate_id>
388
                        </voucher>
389
                    </taxonoccurrence>
390
                </locationevent>
391 5773 aaronmk
                <sourceaccessioncode>
392
                    <_join>
393
                        <1>$PLOT_ID</1>
394
                        <2>$subplot</2>
395
                    </_join>
396
                </sourceaccessioncode>
397 4621 aaronmk
            </location>
398
        </path>
399
    </_simplifyPath>
400 3641 aaronmk
</VegBIEN>
401 5977 aaronmk
Inserted 53 new rows into database