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>$PlotCode</authorlocationcode>
10
                        <sourceaccessioncode>$PlotID</sourceaccessioncode>
11
                    </location>
12
                </parent_id>
13
                <authorlocationcode>$Line</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>$Line</cond>
22
                                            <then>$PlotCode</then>
23
                                        </_if>
24
                                    </authorlocationcode>
25
                                    <sourceaccessioncode>
26
                                        <_if name="if subplot">
27
                                            <cond>$Line</cond>
28
                                            <then>$PlotID</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>$NoInd</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
                            <notes>$Notes</notes>
54
                            <plantobservation>
55
                                <collectionnumber>$Ind</collectionnumber>
56
                                <sourceaccessioncode>$PlotObsID</sourceaccessioncode>
57
                                <specimenreplicate>
58
                                    <catalognumber_dwc>
59
                                        <_if name="if indirect voucher">
60
                                            <cond>
61
                                                <_eq>
62
                                                    <right>indirect</right>
63
                                                    <left>$DetType</left>
64
                                                </_eq>
65
                                            </cond>
66
                                            <else>
67
                                                <_alt>
68
                                                    <1>$coll_number</1>
69
                                                    <2>$SourceVoucher</2>
70
                                                </_alt>
71
                                            </else>
72
                                        </_if>
73
                                    </catalognumber_dwc>
74
                                </specimenreplicate>
75
                                <stemobservation>
76
                                    <definedvalue fkey="tablerecord_id">
77
                                        <userdefined_id>
78
                                            <userdefined>
79
                                                <tablename>stemobservation</tablename>
80
                                                <userdefinedname>canopyForm</userdefinedname>
81
                                            </userdefined>
82
                                        </userdefined_id>
83
                                        <definedvalue>$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>$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>$liana_infestation</definedvalue>
102
                                    </definedvalue>
103 4869 aaronmk
                                    <diameterbreastheight_m><_cm_to_m><value>$temp_dbh</value></_cm_to_m></diameterbreastheight_m>
104 4753 aaronmk
                                    <height_m>$height_m</height_m>
105
                                    <heightfirstbranch_m>$ht_first_branch_m</heightfirstbranch_m>
106 4828 aaronmk
                                    <tag>
107
                                        <_alt>
108
                                            <1>$tag2</1>
109
                                            <2>$tag1</2>
110
                                        </_alt>
111
                                    </tag>
112 4753 aaronmk
                                    <xposition_m>$x_position</xposition_m>
113
                                    <yposition_m>$y_position</yposition_m>
114 4621 aaronmk
                                </stemobservation>
115
                            </plantobservation>
116
                        </aggregateoccurrence>
117 4833 aaronmk
                        <authortaxoncode>$Ind</authortaxoncode>
118 6171 aaronmk
                        <collector_id>
119
                            <party>
120
                                <fullname>
121
                                    <_join_words>
122
                                        <1>$coll_firstname</1>
123
                                        <2>$coll_lastname</2>
124
                                    </_join_words>
125
                                </fullname>
126
                            </party>
127
                        </collector_id>
128 4621 aaronmk
                        <growthform>
129
                            <_map>
130
                                <T>tree</T>
131
                                <Arbol>tree</Arbol>
132
                                <palm>tree</palm>
133
                                <H>hemiepiphyte</H>
134
                                <Hemiepífito>hemiepiphyte</Hemiepífito>
135
                                <L>liana</L>
136
                                <l>liana</l>
137
                                <L?>liana</L?>
138
                                <Liana>liana</Liana>
139
                                <E>epiphyte</E>
140
                                <S>shrub</S>
141
                                <Hb>herb</Hb>
142
                                <vine-herbaceous>vine</vine-herbaceous>
143
                                <graminoid>grass</graminoid>
144
                                <rosette>forb</rosette>
145
                                <*>*</*>
146
                                <value>$Habit</value>
147
                            </_map>
148
                        </growthform>
149
                        <sourceaccessioncode>$PlotObsID</sourceaccessioncode>
150
                        <taxondetermination>
151 6154 aaronmk
                            <party_id><party><fullname>$det_by</fullname></party></party_id>
152 5657 aaronmk
                            <taxonverbatim_id>
153
                                <taxonverbatim>
154
                                    <taxonlabel_id>
155 5608 aaronmk
                                        <taxonlabel>
156 5657 aaronmk
                                            <matched_label_id>
157
                                                <taxonlabel>
158 6179 aaronmk
                                                    <source_id><source><shortname>TNRS</shortname></source></source_id>
159 5657 aaronmk
                                                    <taxonomicname>
160 5012 aaronmk
                                                        <_join_words>
161 5790 aaronmk
                                                            <1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1>
162 5788 aaronmk
                                                            <2>
163 5138 aaronmk
                                                                <_join_words>
164 5788 aaronmk
                                                                    <1>
165 5657 aaronmk
                                                                        <_join_words>
166 5788 aaronmk
                                                                            <2>$Genus</2>
167
                                                                            <3>$Species</3>
168
                                                                            <5>
169
                                                                                <_join_words>
170
                                                                                    <1>
171
                                                                                        <_if name="if has infraspecificEpithet">
172
                                                                                            <cond>$infra_ep_1</cond>
173
                                                                                            <then>$infra_rank_1</then>
174
                                                                                        </_if>
175
                                                                                    </1>
176
                                                                                    <2>$infra_ep_1</2>
177
                                                                                </_join_words>
178
                                                                            </5>
179 5657 aaronmk
                                                                        </_join_words>
180 5788 aaronmk
                                                                    </1>
181
                                                                    <2>$auth</2>
182 5138 aaronmk
                                                                </_join_words>
183 5788 aaronmk
                                                            </2>
184 5012 aaronmk
                                                        </_join_words>
185 5657 aaronmk
                                                    </taxonomicname>
186
                                                </taxonlabel>
187
                                            </matched_label_id>
188 5294 aaronmk
                                            <parent_id>
189 5608 aaronmk
                                                <taxonlabel>
190 5657 aaronmk
                                                    <rank>$infra_rank_1</rank>
191
                                                    <taxonverbatim><verbatimrank>$infra_rank_1</verbatimrank></taxonverbatim>
192 5294 aaronmk
                                                    <parent_id>
193 5608 aaronmk
                                                        <taxonlabel>
194 5657 aaronmk
                                                            <rank>cultivar</rank>
195 5294 aaronmk
                                                            <parent_id>
196 5608 aaronmk
                                                                <taxonlabel>
197 5657 aaronmk
                                                                    <rank>forma</rank>
198 5294 aaronmk
                                                                    <parent_id>
199 5608 aaronmk
                                                                        <taxonlabel>
200 5657 aaronmk
                                                                            <rank>variety</rank>
201 5294 aaronmk
                                                                            <parent_id>
202 5608 aaronmk
                                                                                <taxonlabel>
203 5657 aaronmk
                                                                                    <rank>subspecies</rank>
204 5294 aaronmk
                                                                                    <parent_id>
205 5608 aaronmk
                                                                                        <taxonlabel>
206 5657 aaronmk
                                                                                            <rank>species</rank>
207
                                                                                            <taxonepithet>$Species</taxonepithet>
208 5306 aaronmk
                                                                                            <parent_id>
209 5608 aaronmk
                                                                                                <taxonlabel>
210 5657 aaronmk
                                                                                                    <rank>genus</rank>
211
                                                                                                    <taxonepithet>$Genus</taxonepithet>
212
                                                                                                    <parent_id>
213
                                                                                                        <taxonlabel>
214
                                                                                                            <rank>family</rank>
215
                                                                                                            <taxonepithet>$Family</taxonepithet>
216
                                                                                                        </taxonlabel>
217
                                                                                                    </parent_id>
218 5608 aaronmk
                                                                                                </taxonlabel>
219 5306 aaronmk
                                                                                            </parent_id>
220 5608 aaronmk
                                                                                        </taxonlabel>
221 5294 aaronmk
                                                                                    </parent_id>
222 5608 aaronmk
                                                                                </taxonlabel>
223 5294 aaronmk
                                                                            </parent_id>
224 5608 aaronmk
                                                                        </taxonlabel>
225 5294 aaronmk
                                                                    </parent_id>
226 5608 aaronmk
                                                                </taxonlabel>
227 5294 aaronmk
                                                            </parent_id>
228 5608 aaronmk
                                                        </taxonlabel>
229 5294 aaronmk
                                                    </parent_id>
230 5657 aaronmk
                                                    <taxonepithet>$infra_ep_1</taxonepithet>
231 5608 aaronmk
                                                </taxonlabel>
232 5294 aaronmk
                                            </parent_id>
233 5657 aaronmk
                                            <rank>$infra_rank_1</rank>
234
                                            <taxonomicname>
235 5656 aaronmk
                                                <_join_words>
236 5790 aaronmk
                                                    <1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1>
237 5788 aaronmk
                                                    <2>
238 5656 aaronmk
                                                        <_join_words>
239 5788 aaronmk
                                                            <1>
240 5657 aaronmk
                                                                <_join_words>
241 5788 aaronmk
                                                                    <2>$Genus</2>
242
                                                                    <3>$Species</3>
243
                                                                    <5>
244
                                                                        <_join_words>
245
                                                                            <1>
246
                                                                                <_if name="if has infraspecificEpithet">
247
                                                                                    <cond>$infra_ep_1</cond>
248
                                                                                    <then>$infra_rank_1</then>
249
                                                                                </_if>
250
                                                                            </1>
251
                                                                            <2>$infra_ep_1</2>
252
                                                                        </_join_words>
253
                                                                    </5>
254 5657 aaronmk
                                                                </_join_words>
255 5788 aaronmk
                                                            </1>
256
                                                            <2>$auth</2>
257 5656 aaronmk
                                                        </_join_words>
258 5788 aaronmk
                                                    </2>
259 5656 aaronmk
                                                </_join_words>
260 5657 aaronmk
                                            </taxonomicname>
261
                                        </taxonlabel>
262
                                    </taxonlabel_id>
263
                                    <author>$auth</author>
264
                                    <family>$Family</family>
265
                                    <genus>$Genus</genus>
266 5783 aaronmk
                                    <specific_epithet>$Species</specific_epithet>
267 5657 aaronmk
                                    <verbatimrank>$infra_rank_1</verbatimrank>
268
                                </taxonverbatim>
269
                            </taxonverbatim_id>
270 4621 aaronmk
                            <taxonfit>$cfaff</taxonfit>
271
                        </taxondetermination>
272
                        <taxondetermination>
273
                            <isoriginal>true</isoriginal>
274 5657 aaronmk
                            <taxonverbatim_id>
275
                                <taxonverbatim>
276
                                    <taxonlabel_id>
277 5608 aaronmk
                                        <taxonlabel>
278 5657 aaronmk
                                            <matched_label_id>
279
                                                <taxonlabel>
280 6179 aaronmk
                                                    <source_id><source><shortname>TNRS</shortname></source></source_id>
281 5657 aaronmk
                                                    <taxonomicname>
282
                                                        <_join_words>
283 5790 aaronmk
                                                            <1><_taxon_family_require_std><family>$OrigFamily</family></_taxon_family_require_std></1>
284 5788 aaronmk
                                                            <2>
285
                                                                <_join_words>
286
                                                                    <2>$OrigGenus</2>
287
                                                                    <3>$OrigSpecies</3>
288
                                                                </_join_words>
289
                                                            </2>
290 5657 aaronmk
                                                        </_join_words>
291
                                                    </taxonomicname>
292
                                                </taxonlabel>
293
                                            </matched_label_id>
294 5295 aaronmk
                                            <parent_id>
295 5608 aaronmk
                                                <taxonlabel>
296 5295 aaronmk
                                                    <parent_id>
297 5608 aaronmk
                                                        <taxonlabel>
298 5657 aaronmk
                                                            <rank>cultivar</rank>
299 5295 aaronmk
                                                            <parent_id>
300 5608 aaronmk
                                                                <taxonlabel>
301 5657 aaronmk
                                                                    <rank>forma</rank>
302 5295 aaronmk
                                                                    <parent_id>
303 5608 aaronmk
                                                                        <taxonlabel>
304 5657 aaronmk
                                                                            <rank>variety</rank>
305 5295 aaronmk
                                                                            <parent_id>
306 5608 aaronmk
                                                                                <taxonlabel>
307 5657 aaronmk
                                                                                    <rank>subspecies</rank>
308 5295 aaronmk
                                                                                    <parent_id>
309 5608 aaronmk
                                                                                        <taxonlabel>
310 5657 aaronmk
                                                                                            <rank>species</rank>
311
                                                                                            <taxonepithet>$OrigSpecies</taxonepithet>
312 5306 aaronmk
                                                                                            <parent_id>
313 5608 aaronmk
                                                                                                <taxonlabel>
314 5657 aaronmk
                                                                                                    <rank>genus</rank>
315
                                                                                                    <taxonepithet>$OrigGenus</taxonepithet>
316
                                                                                                    <parent_id>
317
                                                                                                        <taxonlabel>
318
                                                                                                            <rank>family</rank>
319
                                                                                                            <taxonepithet>$OrigFamily</taxonepithet>
320
                                                                                                        </taxonlabel>
321
                                                                                                    </parent_id>
322 5608 aaronmk
                                                                                                </taxonlabel>
323 5306 aaronmk
                                                                                            </parent_id>
324 5608 aaronmk
                                                                                        </taxonlabel>
325 5295 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 5657 aaronmk
                                            <taxonomicname>
337
                                                <_join_words>
338 5790 aaronmk
                                                    <1><_taxon_family_require_std><family>$OrigFamily</family></_taxon_family_require_std></1>
339 5788 aaronmk
                                                    <2>
340
                                                        <_join_words>
341
                                                            <2>$OrigGenus</2>
342
                                                            <3>$OrigSpecies</3>
343
                                                        </_join_words>
344
                                                    </2>
345 5657 aaronmk
                                                </_join_words>
346
                                            </taxonomicname>
347 5608 aaronmk
                                        </taxonlabel>
348 5657 aaronmk
                                    </taxonlabel_id>
349
                                    <family>$OrigFamily</family>
350
                                    <genus>$OrigGenus</genus>
351 5783 aaronmk
                                    <specific_epithet>$OrigSpecies</specific_epithet>
352 5657 aaronmk
                                </taxonverbatim>
353
                            </taxonverbatim_id>
354 4621 aaronmk
                        </taxondetermination>
355
                        <voucher>
356
                            <specimenreplicate_id>
357
                                <specimenreplicate>
358
                                    <catalognumber_dwc>
359
                                        <_if name="if indirect voucher">
360
                                            <cond>
361
                                                <_eq>
362
                                                    <right>indirect</right>
363
                                                    <left>$DetType</left>
364
                                                </_eq>
365
                                            </cond>
366
                                            <then>
367
                                                <_alt>
368
                                                    <1>$coll_number</1>
369
                                                    <2>$SourceVoucher</2>
370
                                                </_alt>
371
                                            </then>
372
                                        </_if>
373
                                    </catalognumber_dwc>
374
                                </specimenreplicate>
375
                            </specimenreplicate_id>
376
                        </voucher>
377
                    </taxonoccurrence>
378
                </locationevent>
379 5773 aaronmk
                <sourceaccessioncode>
380
                    <_join>
381
                        <1>$PlotID</1>
382
                        <2>$Line</2>
383
                    </_join>
384
                </sourceaccessioncode>
385 4621 aaronmk
            </location>
386
        </path>
387
    </_simplifyPath>
388 3641 aaronmk
</VegBIEN>
389 5977 aaronmk
Inserted 52 new rows into database