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