Project

General

Profile

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