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>$individual_code</authortaxoncode>
142
                <growthform>
143
                    <_map>
144
                        <T>tree</T>
145
                        <Arbol>tree</Arbol>
146
                        <palm>tree</palm>
147
                        <H>hemiepiphyte</H>
148
                        <Hemiepífito>hemiepiphyte</Hemiepífito>
149
                        <L>liana</L>
150
                        <l>liana</l>
151
                        <L?>liana</L?>
152
                        <Liana>liana</Liana>
153
                        <E>epiphyte</E>
154
                        <S>shrub</S>
155
                        <Hb>herb</Hb>
156
                        <vine-herbaceous>vine</vine-herbaceous>
157
                        <graminoid>grass</graminoid>
158
                        <rosette>forb</rosette>
159
                        <*>*</*>
160
                        <value>$habit</value>
161
                    </_map>
162
                </growthform>
163
                <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
164
                <taxondetermination>
165
                    <isoriginal>true</isoriginal>
166
                    <plantconcept_id>
167
                        <plantconcept>
168
                            <plantname_id>
169
                                <_simplifyPath>
170
                                    <next>parent_id/plantname</next>
171
                                    <require>plantname</require>
172
                                    <path>
173
                                        <plantname>
174
                                            <rank>binomial</rank>
175
                                            <parent_id>
176
                                                <plantname>
177
                                                    <rank>authority</rank>
178
                                                    <parent_id>
179
                                                        <plantname>
180
                                                            <rank>subspecies</rank>
181
                                                            <parent_id>
182
                                                                <plantname>
183
                                                                    <rank>species</rank>
184
                                                                    <plantname>$orig_species</plantname>
185
                                                                    <parent_id>
186
                                                                        <plantname>
187
                                                                            <rank>genus</rank>
188
                                                                            <parent_id>
189
                                                                                <plantname>
190
                                                                                    <rank>family</rank>
191
                                                                                    <plantname>$orig_family</plantname>
192
                                                                                </plantname>
193
                                                                            </parent_id>
194
                                                                        </plantname>
195
                                                                    </parent_id>
196
                                                                </plantname>
197
                                                            </parent_id>
198
                                                        </plantname>
199
                                                    </parent_id>
200
                                                </plantname>
201
                                            </parent_id>
202
                                        </plantname>
203
                                    </path>
204
                                </_simplifyPath>
205
                            </plantname_id>
206
                        </plantconcept>
207
                    </plantconcept_id>
208
                </taxondetermination>
209
                <taxondetermination>
210
                    <role>identifier</role>
211
                    <plantconcept_id>
212
                        <plantconcept>
213
                            <plantname_id>
214
                                <_simplifyPath>
215
                                    <next>parent_id/plantname</next>
216
                                    <require>plantname</require>
217
                                    <path>
218
                                        <plantname>
219
                                            <rank>binomial</rank>
220
                                            <parent_id>
221
                                                <plantname>
222
                                                    <rank>authority</rank>
223
                                                    <plantname>$specific_authority</plantname>
224
                                                    <parent_id>
225
                                                        <plantname>
226
                                                            <rank>subspecies</rank>
227
                                                            <plantname>
228
                                                                <_name>
229
                                                                    <first>$infra_rank_1</first>
230
                                                                    <last>$infra_ep_1</last>
231
                                                                </_name>
232
                                                            </plantname>
233
                                                            <parent_id>
234
                                                                <plantname>
235
                                                                    <rank>species</rank>
236
                                                                    <plantname>$specific_epithet</plantname>
237
                                                                    <parent_id>
238
                                                                        <plantname>
239
                                                                            <rank>genus</rank>
240
                                                                            <plantname>$genus</plantname>
241
                                                                            <parent_id>
242
                                                                                <plantname>
243
                                                                                    <rank>family</rank>
244
                                                                                    <plantname>$family</plantname>
245
                                                                                </plantname>
246
                                                                            </parent_id>
247
                                                                        </plantname>
248
                                                                    </parent_id>
249
                                                                </plantname>
250
                                                            </parent_id>
251
                                                        </plantname>
252
                                                    </parent_id>
253
                                                </plantname>
254
                                            </parent_id>
255
                                        </plantname>
256
                                    </path>
257
                                </_simplifyPath>
258
                            </plantname_id>
259
                        </plantconcept>
260
                    </plantconcept_id>
261
                    <taxonfit>$cf_aff</taxonfit>
262
                </taxondetermination>
263
                <verbatimcollectorname>
264
                    <_name>
265
                        <first>$coll_firstname</first>
266
                        <last>$coll_lastname</last>
267
                    </_name>
268
                </verbatimcollectorname>
269
                <voucher>
270
                    <specimenreplicate_id>
271
                        <specimenreplicate>
272
                            <catalognumber_dwc>
273
                                <_if name="if indirect voucher">
274
                                    <cond>
275
                                        <_eq>
276
                                            <right>indirect</right>
277
                                            <left>$det_type</left>
278
                                        </_eq>
279
                                    </cond>
280
                                    <then>
281
                                        <_alt>
282
                                            <1>$coll_number</1>
283
                                            <2>$voucher_string</2>
284
                                        </_alt>
285
                                    </then>
286
                                </_if>
287
                            </catalognumber_dwc>
288
                        </specimenreplicate>
289
                    </specimenreplicate_id>
290
                </voucher>
291
            </taxonoccurrence>
292
        </locationevent>
293
        <parent_id>
294
            <location>
295
                <authorlocationcode>$plot_code</authorlocationcode>
296
                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
297
            </location>
298
        </parent_id>
299
    </location>
300
</VegBIEN>
301
Inserted 51 new rows into database
(7-7/7)