Project

General

Profile

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