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
                    <taxonfit>$cf_aff</taxonfit>
209
                </taxondetermination>
210
                <taxondetermination>
211
                    <role>identifier</role>
212
                    <plantconcept_id>
213
                        <plantconcept>
214
                            <plantname_id>
215
                                <_simplifyPath>
216
                                    <next>parent_id/plantname</next>
217
                                    <require>plantname</require>
218
                                    <path>
219
                                        <plantname>
220
                                            <rank>binomial</rank>
221
                                            <parent_id>
222
                                                <plantname>
223
                                                    <rank>authority</rank>
224
                                                    <plantname>$specific_authority</plantname>
225
                                                    <parent_id>
226
                                                        <plantname>
227
                                                            <rank>subspecies</rank>
228
                                                            <plantname>
229
                                                                <_name>
230
                                                                    <first>$infra_rank_1</first>
231
                                                                    <last>$infra_ep_1</last>
232
                                                                </_name>
233
                                                            </plantname>
234
                                                            <parent_id>
235
                                                                <plantname>
236
                                                                    <rank>species</rank>
237
                                                                    <plantname>$specific_epithet</plantname>
238
                                                                    <parent_id>
239
                                                                        <plantname>
240
                                                                            <rank>genus</rank>
241
                                                                            <plantname>$genus</plantname>
242
                                                                            <parent_id>
243
                                                                                <plantname>
244
                                                                                    <rank>family</rank>
245
                                                                                    <plantname>$family</plantname>
246
                                                                                </plantname>
247
                                                                            </parent_id>
248
                                                                        </plantname>
249
                                                                    </parent_id>
250
                                                                </plantname>
251
                                                            </parent_id>
252
                                                        </plantname>
253
                                                    </parent_id>
254
                                                </plantname>
255
                                            </parent_id>
256
                                        </plantname>
257
                                    </path>
258
                                </_simplifyPath>
259
                            </plantname_id>
260
                        </plantconcept>
261
                    </plantconcept_id>
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)