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