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
                    <plantconcept_id>
166
                        <plantconcept>
167
                            <plantname_id>
168
                                <_simplifyPath>
169
                                    <next>parent_id</next>
170
                                    <path>
171
                                        <plantname>
172
                                            <rank>binomial</rank>
173
                                            <parent_id>
174
                                                <plantname>
175
                                                    <rank>authority</rank>
176
                                                    <plantname>$specific_authority</plantname>
177
                                                    <parent_id>
178
                                                        <plantname>
179
                                                            <rank>subspecies</rank>
180
                                                            <plantname>
181
                                                                <_name>
182
                                                                    <first>$infra_rank_1</first>
183
                                                                    <last>$infra_ep_1</last>
184
                                                                </_name>
185
                                                            </plantname>
186
                                                            <parent_id>
187
                                                                <plantname>
188
                                                                    <rank>species</rank>
189
                                                                    <plantname>$specific_epithet</plantname>
190
                                                                    <parent_id>
191
                                                                        <plantname>
192
                                                                            <rank>genus</rank>
193
                                                                            <plantname>$genus</plantname>
194
                                                                            <parent_id>
195
                                                                                <plantname>
196
                                                                                    <rank>family</rank>
197
                                                                                    <plantname>$family</plantname>
198
                                                                                </plantname>
199
                                                                            </parent_id>
200
                                                                        </plantname>
201
                                                                    </parent_id>
202
                                                                </plantname>
203
                                                            </parent_id>
204
                                                        </plantname>
205
                                                    </parent_id>
206
                                                </plantname>
207
                                            </parent_id>
208
                                        </plantname>
209
                                    </path>
210
                                </_simplifyPath>
211
                            </plantname_id>
212
                        </plantconcept>
213
                    </plantconcept_id>
214
                    <taxonfit>$cf_aff</taxonfit>
215
                </taxondetermination>
216
                <taxondetermination>
217
                    <isoriginal>true</isoriginal>
218
                    <plantconcept_id>
219
                        <plantconcept>
220
                            <plantname_id>
221
                                <_simplifyPath>
222
                                    <next>parent_id</next>
223
                                    <path>
224
                                        <plantname>
225
                                            <rank>binomial</rank>
226
                                            <parent_id>
227
                                                <plantname>
228
                                                    <rank>authority</rank>
229
                                                    <parent_id>
230
                                                        <plantname>
231
                                                            <rank>subspecies</rank>
232
                                                            <parent_id>
233
                                                                <plantname>
234
                                                                    <rank>species</rank>
235
                                                                    <plantname>$orig_species</plantname>
236
                                                                    <parent_id>
237
                                                                        <plantname>
238
                                                                            <rank>genus</rank>
239
                                                                            <parent_id>
240
                                                                                <plantname>
241
                                                                                    <rank>family</rank>
242
                                                                                    <plantname>$orig_family</plantname>
243
                                                                                </plantname>
244
                                                                            </parent_id>
245
                                                                        </plantname>
246
                                                                    </parent_id>
247
                                                                </plantname>
248
                                                            </parent_id>
249
                                                        </plantname>
250
                                                    </parent_id>
251
                                                </plantname>
252
                                            </parent_id>
253
                                        </plantname>
254
                                    </path>
255
                                </_simplifyPath>
256
                            </plantname_id>
257
                        </plantconcept>
258
                    </plantconcept_id>
259
                </taxondetermination>
260
                <verbatimcollectorname>
261
                    <_name>
262
                        <first>$coll_firstname</first>
263
                        <last>$coll_lastname</last>
264
                    </_name>
265
                </verbatimcollectorname>
266
                <voucher>
267
                    <specimenreplicate_id>
268
                        <specimenreplicate>
269
                            <catalognumber_dwc>
270
                                <_if name="if indirect voucher">
271
                                    <cond>
272
                                        <_eq>
273
                                            <right>indirect</right>
274
                                            <left>$det_type</left>
275
                                        </_eq>
276
                                    </cond>
277
                                    <then>
278
                                        <_alt>
279
                                            <1>$coll_number</1>
280
                                            <2>$voucher_string</2>
281
                                        </_alt>
282
                                    </then>
283
                                </_if>
284
                            </catalognumber_dwc>
285
                        </specimenreplicate>
286
                    </specimenreplicate_id>
287
                </voucher>
288
            </taxonoccurrence>
289
        </locationevent>
290
        <parent_id>
291
            <location>
292
                <authorlocationcode>$plot_code</authorlocationcode>
293
                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
294
            </location>
295
        </parent_id>
296
    </location>
297
</VegBIEN>
298
Inserted 51 new rows into database
(7-7/7)