Project

General

Profile

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