Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>SALVIAS-CSV</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <parent_id>
11
                            <location>
12
                                <authorlocationcode>$plot_code</authorlocationcode>
13
                                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
14
                            </location>
15
                        </parent_id>
16
                        <authorlocationcode>$subplot</authorlocationcode>
17
                        <locationevent>
18
                            <parent_id>
19
                                <locationevent>
20
                                    <location_id>
21
                                        <location>
22
                                            <authorlocationcode>
23
                                                <_if name="if subplot">
24
                                                    <cond>$subplot</cond>
25
                                                    <then>$plot_code</then>
26
                                                </_if>
27
                                            </authorlocationcode>
28
                                            <sourceaccessioncode>
29
                                                <_if name="if subplot">
30
                                                    <cond>$subplot</cond>
31
                                                    <then>$PLOT_ID</then>
32
                                                </_if>
33
                                            </sourceaccessioncode>
34
                                        </location>
35
                                    </location_id>
36
                                    <obsenddate><_dateRangeEnd><value>$census_date</value></_dateRangeEnd></obsenddate>
37
                                    <obsstartdate><_dateRangeStart><value>$census_date</value></_dateRangeStart></obsstartdate>
38
                                </locationevent>
39
                            </parent_id>
40
                            <obsenddate><_dateRangeEnd><value>$census_date</value></_dateRangeEnd></obsenddate>
41
                            <obsstartdate><_dateRangeStart><value>$census_date</value></_dateRangeStart></obsstartdate>
42
                            <taxonoccurrence>
43
                                <aggregateoccurrence>
44
                                    <count>$no_of_individuals</count>
45
                                    <cover_fraction><_percent_to_fraction><value>$cover_percent</value></_percent_to_fraction></cover_fraction>
46
                                    <definedvalue fkey="tablerecord_id">
47
                                        <userdefined_id>
48
                                            <userdefined>
49
                                                <tablename>aggregateoccurrence</tablename>
50
                                                <userdefinedname>censusNo</userdefinedname>
51
                                            </userdefined>
52
                                        </userdefined_id>
53
                                        <definedvalue>$census_no</definedvalue>
54
                                    </definedvalue>
55
                                    <linecover_m><_cm_to_m><value>$intercept_cm</value></_cm_to_m></linecover_m>
56
                                    <plantobservation>
57
                                        <collectionnumber>$individual_code</collectionnumber>
58
                                        <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
59
                                        <specimenreplicate>
60
                                            <catalognumber_dwc>
61
                                                <_if name="if indirect voucher">
62
                                                    <cond>
63
                                                        <_eq>
64
                                                            <right>indirect</right>
65
                                                            <left>$det_type</left>
66
                                                        </_eq>
67
                                                    </cond>
68
                                                    <else>
69
                                                        <_alt>
70
                                                            <1>$coll_number</1>
71
                                                            <2>$voucher_string</2>
72
                                                        </_alt>
73
                                                    </else>
74
                                                </_if>
75
                                            </catalognumber_dwc>
76
                                        </specimenreplicate>
77
                                        <stemobservation>
78
                                            <basaldiameter_m>$basal_diam</basaldiameter_m>
79
                                            <definedvalue fkey="tablerecord_id">
80
                                                <userdefined_id>
81
                                                    <userdefined>
82
                                                        <tablename>stemobservation</tablename>
83
                                                        <userdefinedname>canopyForm</userdefinedname>
84
                                                    </userdefined>
85
                                                </userdefined_id>
86
                                                <definedvalue>$stem_canopy_form</definedvalue>
87
                                            </definedvalue>
88
                                            <definedvalue fkey="tablerecord_id">
89
                                                <userdefined_id>
90
                                                    <userdefined>
91
                                                        <tablename>stemobservation</tablename>
92
                                                        <userdefinedname>canopyPosition</userdefinedname>
93
                                                    </userdefined>
94
                                                </userdefined_id>
95
                                                <definedvalue>$stem_canopy_position</definedvalue>
96
                                            </definedvalue>
97
                                            <definedvalue fkey="tablerecord_id">
98
                                                <userdefined_id>
99
                                                    <userdefined>
100
                                                        <tablename>stemobservation</tablename>
101
                                                        <userdefinedname>lianaInfestation</userdefinedname>
102
                                                    </userdefined>
103
                                                </userdefined_id>
104
                                                <definedvalue>$stem_liana_infestation</definedvalue>
105
                                            </definedvalue>
106
                                            <definedvalue fkey="tablerecord_id">
107
                                                <userdefined_id>
108
                                                    <userdefined>
109
                                                        <tablename>stemobservation</tablename>
110
                                                        <userdefinedname>notes</userdefinedname>
111
                                                    </userdefined>
112
                                                </userdefined_id>
113
                                                <definedvalue>$notes</definedvalue>
114
                                            </definedvalue>
115
                                            <diameterbreastheight_m><_cm_to_m><value>$stem_dbh</value></_cm_to_m></diameterbreastheight_m>
116
                                            <height_m>
117
                                                <_alt>
118
                                                    <1>$stem_height_m</1>
119
                                                    <2>$height_m</2>
120
                                                </_alt>
121
                                            </height_m>
122
                                            <heightfirstbranch_m>
123
                                                <_alt>
124
                                                    <0>$ht_first_branch_m</0>
125
                                                    <1>$stem_height_first_branch_m</1>
126
                                                </_alt>
127
                                            </heightfirstbranch_m>
128
                                            <tag>
129
                                                <_alt>
130
                                                    <1>
131
                                                        <_alt>
132
                                                            <1>$stem_tag2</1>
133
                                                            <2>$stem_tag1</2>
134
                                                        </_alt>
135
                                                    </1>
136
                                                    <2>
137
                                                        <_alt>
138
                                                            <1>$tag2</1>
139
                                                            <2>$tag1</2>
140
                                                        </_alt>
141
                                                    </2>
142
                                                </_alt>
143
                                            </tag>
144
                                            <xposition_m>$x_position</xposition_m>
145
                                            <yposition_m>$y_position</yposition_m>
146
                                        </stemobservation>
147
                                    </plantobservation>
148
                                </aggregateoccurrence>
149
                                <authortaxoncode>$individual_code</authortaxoncode>
150
                                <collector_id>
151
                                    <party>
152
                                        <fullname>
153
                                            <_join_words>
154
                                                <1>$coll_firstname</1>
155
                                                <2>$coll_lastname</2>
156
                                            </_join_words>
157
                                        </fullname>
158
                                    </party>
159
                                </collector_id>
160
                                <growthform>
161
                                    <_map>
162
                                        <T>tree</T>
163
                                        <Arbol>tree</Arbol>
164
                                        <palm>tree</palm>
165
                                        <H>hemiepiphyte</H>
166
                                        <Hemiepífito>hemiepiphyte</Hemiepífito>
167
                                        <L>liana</L>
168
                                        <l>liana</l>
169
                                        <L?>liana</L?>
170
                                        <Liana>liana</Liana>
171
                                        <E>epiphyte</E>
172
                                        <S>shrub</S>
173
                                        <Hb>herb</Hb>
174
                                        <vine-herbaceous>vine</vine-herbaceous>
175
                                        <graminoid>grass</graminoid>
176
                                        <rosette>forb</rosette>
177
                                        <*>*</*>
178
                                        <value>$habit</value>
179
                                    </_map>
180
                                </growthform>
181
                                <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
182
                                <taxondetermination>
183
                                    <taxonverbatim_id>
184
                                        <taxonverbatim>
185
                                            <taxonlabel_id>
186
                                                <taxonlabel>
187
                                                    <parent_id>
188
                                                        <taxonlabel>
189
                                                            <rank>$infra_rank_1</rank>
190
                                                            <parent_id>
191
                                                                <taxonlabel>
192
                                                                    <rank>cultivar</rank>
193
                                                                    <parent_id>
194
                                                                        <taxonlabel>
195
                                                                            <rank>forma</rank>
196
                                                                            <parent_id>
197
                                                                                <taxonlabel>
198
                                                                                    <rank>variety</rank>
199
                                                                                    <parent_id>
200
                                                                                        <taxonlabel>
201
                                                                                            <rank>subspecies</rank>
202
                                                                                            <parent_id>
203
                                                                                                <taxonlabel>
204
                                                                                                    <rank>species</rank>
205
                                                                                                    <taxonepithet>$specific_epithet</taxonepithet>
206
                                                                                                    <parent_id>
207
                                                                                                        <taxonlabel>
208
                                                                                                            <rank>genus</rank>
209
                                                                                                            <taxonepithet>$genus</taxonepithet>
210
                                                                                                            <parent_id>
211
                                                                                                                <taxonlabel>
212
                                                                                                                    <rank>family</rank>
213
                                                                                                                    <taxonepithet>$family</taxonepithet>
214
                                                                                                                </taxonlabel>
215
                                                                                                            </parent_id>
216
                                                                                                        </taxonlabel>
217
                                                                                                    </parent_id>
218
                                                                                                </taxonlabel>
219
                                                                                            </parent_id>
220
                                                                                        </taxonlabel>
221
                                                                                    </parent_id>
222
                                                                                </taxonlabel>
223
                                                                            </parent_id>
224
                                                                        </taxonlabel>
225
                                                                    </parent_id>
226
                                                                </taxonlabel>
227
                                                            </parent_id>
228
                                                            <taxonepithet>$infra_ep_1</taxonepithet>
229
                                                        </taxonlabel>
230
                                                    </parent_id>
231
                                                    <rank>$infra_rank_1</rank>
232
                                                    <taxonomicname>
233
                                                        <_merge_prefix>
234
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
235
                                                            <value>
236
                                                                <_join_words>
237
                                                                    <1>
238
                                                                        <_join_words>
239
                                                                            <2>$genus</2>
240
                                                                            <3>$specific_epithet</3>
241
                                                                            <5>
242
                                                                                <_join_words>
243
                                                                                    <1>
244
                                                                                        <_if name="if has infraspecificEpithet">
245
                                                                                            <cond>$infra_ep_1</cond>
246
                                                                                            <then>$infra_rank_1</then>
247
                                                                                        </_if>
248
                                                                                    </1>
249
                                                                                    <2>$infra_ep_1</2>
250
                                                                                </_join_words>
251
                                                                            </5>
252
                                                                        </_join_words>
253
                                                                    </1>
254
                                                                    <2>$specific_authority</2>
255
                                                                </_join_words>
256
                                                            </value>
257
                                                        </_merge_prefix>
258
                                                    </taxonomicname>
259
                                                </taxonlabel>
260
                                            </taxonlabel_id>
261
                                            <author>$specific_authority</author>
262
                                            <family>$family</family>
263
                                            <genus>$genus</genus>
264
                                            <specific_epithet>$specific_epithet</specific_epithet>
265
                                            <verbatimrank>$infra_rank_1</verbatimrank>
266
                                        </taxonverbatim>
267
                                    </taxonverbatim_id>
268
                                    <taxonfit>$cf_aff</taxonfit>
269
                                </taxondetermination>
270
                                <taxondetermination>
271
                                    <isoriginal>true</isoriginal>
272
                                    <taxonverbatim_id>
273
                                        <taxonverbatim>
274
                                            <family>$orig_family</family>
275
                                            <specific_epithet>$orig_species</specific_epithet>
276
                                        </taxonverbatim>
277
                                    </taxonverbatim_id>
278
                                </taxondetermination>
279
                                <voucher>
280
                                    <specimenreplicate_id>
281
                                        <specimenreplicate>
282
                                            <catalognumber_dwc>
283
                                                <_if name="if indirect voucher">
284
                                                    <cond>
285
                                                        <_eq>
286
                                                            <right>indirect</right>
287
                                                            <left>$det_type</left>
288
                                                        </_eq>
289
                                                    </cond>
290
                                                    <then>
291
                                                        <_alt>
292
                                                            <1>$coll_number</1>
293
                                                            <2>$voucher_string</2>
294
                                                        </_alt>
295
                                                    </then>
296
                                                </_if>
297
                                            </catalognumber_dwc>
298
                                        </specimenreplicate>
299
                                    </specimenreplicate_id>
300
                                </voucher>
301
                            </taxonoccurrence>
302
                        </locationevent>
303
                        <sourceaccessioncode>
304
                            <_join>
305
                                <1>$PLOT_ID</1>
306
                                <2>$subplot</2>
307
                            </_join>
308
                        </sourceaccessioncode>
309
                    </location>
310
                </path>
311
            </_simplifyPath>
312
        </path>
313
    </_setDefault>
314
</VegBIEN>
315
Inserted 41 new rows into database
(5-5/6)