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
                    <plantconcept_id>
138
                        <plantconcept>
139
                            <plantname_id>
140
                                <_simplifyPath>
141
                                    <next>parent_id</next>
142
                                    <path>
143
                                        <plantname>
144
                                            <rank>binomial</rank>
145
                                            <parent_id>
146
                                                <plantname>
147
                                                    <rank>authority</rank>
148
                                                    <plantname>$auth</plantname>
149
                                                    <parent_id>
150
                                                        <plantname>
151
                                                            <rank>subspecies</rank>
152
                                                            <plantname>
153
                                                                <_name>
154
                                                                    <first>$infra_rank_1</first>
155
                                                                    <last>$infra_ep_1</last>
156
                                                                </_name>
157
                                                            </plantname>
158
                                                            <parent_id>
159
                                                                <plantname>
160
                                                                    <rank>species</rank>
161
                                                                    <plantname>$Species</plantname>
162
                                                                    <parent_id>
163
                                                                        <plantname>
164
                                                                            <rank>genus</rank>
165
                                                                            <plantname>$Genus</plantname>
166
                                                                            <parent_id>
167
                                                                                <plantname>
168
                                                                                    <rank>family</rank>
169
                                                                                    <plantname>$Family</plantname>
170
                                                                                </plantname>
171
                                                                            </parent_id>
172
                                                                        </plantname>
173
                                                                    </parent_id>
174
                                                                </plantname>
175
                                                            </parent_id>
176
                                                        </plantname>
177
                                                    </parent_id>
178
                                                </plantname>
179
                                            </parent_id>
180
                                        </plantname>
181
                                    </path>
182
                                </_simplifyPath>
183
                            </plantname_id>
184
                        </plantconcept>
185
                    </plantconcept_id>
186
                    <taxonfit>$cfaff</taxonfit>
187
                </taxondetermination>
188
                <taxondetermination>
189
                    <isoriginal>true</isoriginal>
190
                    <plantconcept_id>
191
                        <plantconcept>
192
                            <plantname_id>
193
                                <_simplifyPath>
194
                                    <next>parent_id</next>
195
                                    <path>
196
                                        <plantname>
197
                                            <rank>binomial</rank>
198
                                            <parent_id>
199
                                                <plantname>
200
                                                    <rank>authority</rank>
201
                                                    <parent_id>
202
                                                        <plantname>
203
                                                            <rank>subspecies</rank>
204
                                                            <parent_id>
205
                                                                <plantname>
206
                                                                    <rank>species</rank>
207
                                                                    <plantname>$OrigSpecies</plantname>
208
                                                                    <parent_id>
209
                                                                        <plantname>
210
                                                                            <rank>genus</rank>
211
                                                                            <plantname>$OrigGenus</plantname>
212
                                                                            <parent_id>
213
                                                                                <plantname>
214
                                                                                    <rank>family</rank>
215
                                                                                    <plantname>$OrigFamily</plantname>
216
                                                                                </plantname>
217
                                                                            </parent_id>
218
                                                                        </plantname>
219
                                                                    </parent_id>
220
                                                                </plantname>
221
                                                            </parent_id>
222
                                                        </plantname>
223
                                                    </parent_id>
224
                                                </plantname>
225
                                            </parent_id>
226
                                        </plantname>
227
                                    </path>
228
                                </_simplifyPath>
229
                            </plantname_id>
230
                        </plantconcept>
231
                    </plantconcept_id>
232
                </taxondetermination>
233
                <verbatimcollectorname>
234
                    <_name>
235
                        <first>$coll_firstname</first>
236
                        <last>$coll_lastname</last>
237
                    </_name>
238
                </verbatimcollectorname>
239
                <voucher>
240
                    <specimenreplicate_id>
241
                        <specimenreplicate>
242
                            <catalognumber_dwc>
243
                                <_if name="if indirect voucher">
244
                                    <cond>
245
                                        <_eq>
246
                                            <right>indirect</right>
247
                                            <left>$DetType</left>
248
                                        </_eq>
249
                                    </cond>
250
                                    <then>
251
                                        <_alt>
252
                                            <1>$coll_number</1>
253
                                            <2>$SourceVoucher</2>
254
                                        </_alt>
255
                                    </then>
256
                                </_if>
257
                            </catalognumber_dwc>
258
                        </specimenreplicate>
259
                    </specimenreplicate_id>
260
                </voucher>
261
            </taxonoccurrence>
262
        </locationevent>
263
        <parent_id>
264
            <location>
265
                <authorlocationcode>$PlotCode</authorlocationcode>
266
                <sourceaccessioncode>$PlotID</sourceaccessioncode>
267
            </location>
268
        </parent_id>
269
    </location>
270
</VegBIEN>
271
Inserted 42 new rows into database
(7-7/7)