Project

General

Profile

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