Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_alt>
6
                <1>$subplot</1>
7
                <4>
8
                    <_if name="if indirect voucher">
9
                        <cond>
10
                            <_eq>
11
                                <right>indirect</right>
12
                                <left>$det_type</left>
13
                            </_eq>
14
                        </cond>
15
                        <else>
16
                            <_alt>
17
                                <1>$coll_number</1>
18
                                <2>$voucher_string</2>
19
                            </_alt>
20
                        </else>
21
                    </_if>
22
                </4>
23
            </_alt>
24
        </authorlocationcode>
25
        <locationevent>
26
            <obsstartdate><_date><date><_dateRangeStart><value>$census_date</value></_dateRangeStart></date></_date></obsstartdate>
27
            <taxonoccurrence>
28
                <aggregateoccurrence>
29
                    <count>$no_of_individuals</count>
30
                    <cover>$cover_percent</cover>
31
                    <definedvalue fkey="tablerecord_id">
32
                        <userdefined_id>
33
                            <userdefined>
34
                                <tablename>aggregateoccurrence</tablename>
35
                                <userdefinedname>censusNo</userdefinedname>
36
                            </userdefined>
37
                        </userdefined_id>
38
                        <definedvalue>$census_no</definedvalue>
39
                    </definedvalue>
40
                    <linecover>$intercept_cm</linecover>
41
                    <plantobservation>
42
                        <collectionnumber>$individual_code</collectionnumber>
43
                        <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
44
                        <specimenreplicate>
45
                            <catalognumber_dwc>
46
                                <_if name="if indirect voucher">
47
                                    <cond>
48
                                        <_eq>
49
                                            <right>indirect</right>
50
                                            <left>$det_type</left>
51
                                        </_eq>
52
                                    </cond>
53
                                    <else>
54
                                        <_alt>
55
                                            <1>$coll_number</1>
56
                                            <2>$voucher_string</2>
57
                                        </_alt>
58
                                    </else>
59
                                </_if>
60
                            </catalognumber_dwc>
61
                        </specimenreplicate>
62
                        <stemobservation>
63
                            <basaldiameter>$basal_diam</basaldiameter>
64
                            <definedvalue fkey="tablerecord_id">
65
                                <userdefined_id>
66
                                    <userdefined>
67
                                        <tablename>stemobservation</tablename>
68
                                        <userdefinedname>canopyForm</userdefinedname>
69
                                    </userdefined>
70
                                </userdefined_id>
71
                                <definedvalue>$stem_canopy_form</definedvalue>
72
                            </definedvalue>
73
                            <definedvalue fkey="tablerecord_id">
74
                                <userdefined_id>
75
                                    <userdefined>
76
                                        <tablename>stemobservation</tablename>
77
                                        <userdefinedname>canopyPosition</userdefinedname>
78
                                    </userdefined>
79
                                </userdefined_id>
80
                                <definedvalue>$stem_canopy_position</definedvalue>
81
                            </definedvalue>
82
                            <definedvalue fkey="tablerecord_id">
83
                                <userdefined_id>
84
                                    <userdefined>
85
                                        <tablename>stemobservation</tablename>
86
                                        <userdefinedname>lianaInfestation</userdefinedname>
87
                                    </userdefined>
88
                                </userdefined_id>
89
                                <definedvalue>$stem_liana_infestation</definedvalue>
90
                            </definedvalue>
91
                            <definedvalue fkey="tablerecord_id">
92
                                <userdefined_id>
93
                                    <userdefined>
94
                                        <tablename>stemobservation</tablename>
95
                                        <userdefinedname>notes</userdefinedname>
96
                                    </userdefined>
97
                                </userdefined_id>
98
                                <definedvalue>$notes</definedvalue>
99
                            </definedvalue>
100
                            <diameterbreastheight>$stem_dbh</diameterbreastheight>
101
                            <height>
102
                                <_alt>
103
                                    <1>$stem_height_m</1>
104
                                    <2>$height_m</2>
105
                                </_alt>
106
                            </height>
107
                            <heightfirstbranch>
108
                                <_alt>
109
                                    <0>$ht_first_branch_m</0>
110
                                    <1>$stem_height_first_branch_m</1>
111
                                </_alt>
112
                            </heightfirstbranch>
113
                            <stemtag>
114
                                <iscurrent>
115
                                    <_alt>
116
                                        <2>true</2>
117
                                        <1>false</1>
118
                                    </_alt>
119
                                </iscurrent>
120
                                <tag>
121
                                    <_alt>
122
                                        <1>$tag1</1>
123
                                        <2>$stem_tag1</2>
124
                                    </_alt>
125
                                </tag>
126
                            </stemtag>
127
                            <stemtag>
128
                                <iscurrent>true</iscurrent>
129
                                <tag>
130
                                    <_alt>
131
                                        <1>$tag2</1>
132
                                        <2>$stem_tag2</2>
133
                                    </_alt>
134
                                </tag>
135
                            </stemtag>
136
                            <xposition>$x_position</xposition>
137
                            <yposition>$y_position</yposition>
138
                        </stemobservation>
139
                    </plantobservation>
140
                </aggregateoccurrence>
141
                <authortaxoncode>
142
                    <_alt>
143
                        <1>$individual_code</1>
144
                        <2><_name><last>$orig_species</last></_name></2>
145
                    </_alt>
146
                </authortaxoncode>
147
                <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
                    <role>computer</role>
171
                    <plantconcept_id>
172
                        <plantconcept>
173
                            <plantname_id>
174
                                <_simplifyPath>
175
                                    <next>parent_id/plantname</next>
176
                                    <require>plantname</require>
177
                                    <path>
178
                                        <plantname>
179
                                            <rank>binomial</rank>
180
                                            <parent_id>
181
                                                <plantname>
182
                                                    <rank>authority</rank>
183
                                                    <plantname>$specific_authority</plantname>
184
                                                    <parent_id>
185
                                                        <plantname>
186
                                                            <rank>subspecies</rank>
187
                                                            <plantname>
188
                                                                <_name>
189
                                                                    <first>$infra_rank_1</first>
190
                                                                    <last>$infra_ep_1</last>
191
                                                                </_name>
192
                                                            </plantname>
193
                                                            <parent_id>
194
                                                                <plantname>
195
                                                                    <rank>species</rank>
196
                                                                    <plantname>$specific_epithet</plantname>
197
                                                                    <parent_id>
198
                                                                        <plantname>
199
                                                                            <rank>genus</rank>
200
                                                                            <plantname>$genus</plantname>
201
                                                                            <parent_id>
202
                                                                                <plantname>
203
                                                                                    <rank>family</rank>
204
                                                                                    <plantname>$family</plantname>
205
                                                                                </plantname>
206
                                                                            </parent_id>
207
                                                                        </plantname>
208
                                                                    </parent_id>
209
                                                                </plantname>
210
                                                            </parent_id>
211
                                                        </plantname>
212
                                                    </parent_id>
213
                                                </plantname>
214
                                            </parent_id>
215
                                        </plantname>
216
                                    </path>
217
                                </_simplifyPath>
218
                            </plantname_id>
219
                        </plantconcept>
220
                    </plantconcept_id>
221
                </taxondetermination>
222
                <taxondetermination>
223
                    <isoriginal>true</isoriginal>
224
                    <role>identifier</role>
225
                    <plantconcept_id>
226
                        <plantconcept>
227
                            <plantname_id>
228
                                <_simplifyPath>
229
                                    <next>parent_id/plantname</next>
230
                                    <require>plantname</require>
231
                                    <path>
232
                                        <plantname>
233
                                            <rank>binomial</rank>
234
                                            <plantname><_name><last>$orig_species</last></_name></plantname>
235
                                            <parent_id>
236
                                                <plantname>
237
                                                    <rank>authority</rank>
238
                                                    <parent_id>
239
                                                        <plantname>
240
                                                            <rank>subspecies</rank>
241
                                                            <parent_id>
242
                                                                <plantname>
243
                                                                    <rank>species</rank>
244
                                                                    <parent_id>
245
                                                                        <plantname>
246
                                                                            <rank>genus</rank>
247
                                                                            <parent_id>
248
                                                                                <plantname>
249
                                                                                    <rank>family</rank>
250
                                                                                    <plantname>$orig_family</plantname>
251
                                                                                </plantname>
252
                                                                            </parent_id>
253
                                                                        </plantname>
254
                                                                    </parent_id>
255
                                                                </plantname>
256
                                                            </parent_id>
257
                                                        </plantname>
258
                                                    </parent_id>
259
                                                </plantname>
260
                                            </parent_id>
261
                                        </plantname>
262
                                    </path>
263
                                </_simplifyPath>
264
                            </plantname_id>
265
                        </plantconcept>
266
                    </plantconcept_id>
267
                    <taxonfit>$cf_aff</taxonfit>
268
                </taxondetermination>
269
                <verbatimcollectorname>
270
                    <_name>
271
                        <first>$coll_firstname</first>
272
                        <last>$coll_lastname</last>
273
                    </_name>
274
                </verbatimcollectorname>
275
                <voucher>
276
                    <specimenreplicate_id>
277
                        <specimenreplicate>
278
                            <catalognumber_dwc>
279
                                <_if name="if indirect voucher">
280
                                    <cond>
281
                                        <_eq>
282
                                            <right>indirect</right>
283
                                            <left>$det_type</left>
284
                                        </_eq>
285
                                    </cond>
286
                                    <then>
287
                                        <_alt>
288
                                            <1>$coll_number</1>
289
                                            <2>$voucher_string</2>
290
                                        </_alt>
291
                                    </then>
292
                                </_if>
293
                            </catalognumber_dwc>
294
                        </specimenreplicate>
295
                    </specimenreplicate_id>
296
                </voucher>
297
            </taxonoccurrence>
298
        </locationevent>
299
        <parent_id>
300
            <location>
301
                <authorlocationcode>$plot_code</authorlocationcode>
302
                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
303
            </location>
304
        </parent_id>
305
    </location>
306
</VegBIEN>
307
Inserted 51 new rows into database
(7-7/7)