Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>HVAA.new</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$occurrenceID</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$specimenHolderInstitutions</1>
16
                                        <2>$collection</2>
17
                                        <3>$accessionNumber</3>
18
                                    </_join>
19
                                </2>
20
                            </_alt>
21
                        </authorlocationcode>
22
                        <accessconditions>$rights</accessconditions>
23
                        <accesslevel>$accessRights</accesslevel>
24
                        <elevation_m>
25
                            <_alt>
26
                                <1>
27
                                    <_units>
28
                                        <to>m</to>
29
                                        <to></to>
30
                                        <value>$verbatimElevation</value>
31
                                    </_units>
32
                                </1>
33
                                <2>
34
                                    <_avg>
35
                                        <1>$minimumElevationInMeters</1>
36
                                        <2>$maximumElevationInMeters</2>
37
                                    </_avg>
38
                                </2>
39
                            </_alt>
40
                        </elevation_m>
41
                        <iscultivated>
42
                            <_locationnarrative_is_cultivated>
43
                                <locationnarrative>
44
                                    <_join>
45
                                        <1>$locality</1>
46
                                        <3>$habitat</3>
47
                                    </_join>
48
                                </locationnarrative>
49
                            </_locationnarrative_is_cultivated>
50
                        </iscultivated>
51
                        <locationevent>
52
                            <method_id><method><name>$samplingProtocol</name></method></method_id>
53
                            <taxonoccurrence>
54
                                <aggregateoccurrence>
55
                                    <collectiondate>
56
                                        <_alt>
57
                                            <1>$dateCollected</1>
58
                                            <2>
59
                                                <_date>
60
                                                    <day>
61
                                                        <_nullIf>
62
                                                            <null>0</null>
63
                                                            <type>float</type>
64
                                                            <value>$dayCollected</value>
65
                                                        </_nullIf>
66
                                                    </day>
67
                                                    <month>
68
                                                        <_nullIf>
69
                                                            <null>0</null>
70
                                                            <type>float</type>
71
                                                            <value>$monthCollected</value>
72
                                                        </_nullIf>
73
                                                    </month>
74
                                                    <year>
75
                                                        <_nullIf>
76
                                                            <null>0</null>
77
                                                            <type>float</type>
78
                                                            <value>$yearCollected</value>
79
                                                        </_nullIf>
80
                                                    </year>
81
                                                </_date>
82
                                            </2>
83
                                        </_alt>
84
                                    </collectiondate>
85
                                    <count>$individualCount</count>
86
                                    <notes>$occurrenceRemarks</notes>
87
                                    <plantobservation>
88
                                        <authorplantcode>$collectorNumber</authorplantcode>
89
                                        <definedvalue fkey="tablerecord_id">
90
                                            <userdefined_id>
91
                                                <userdefined>
92
                                                    <tablename>plantobservation</tablename>
93
                                                    <userdefinedname>sex</userdefinedname>
94
                                                </userdefined>
95
                                            </userdefined_id>
96
                                            <definedvalue>$sex</definedvalue>
97
                                        </definedvalue>
98
                                        <reproductivecondition>$reproductiveCondition</reproductivecondition>
99
                                        <specimenreplicate>
100
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
101
                                            <collectioncode_dwc>$collection</collectioncode_dwc>
102
                                            <collectionnumber>$collectorNumber</collectionnumber>
103
                                            <institution_id>
104
                                                <sourcelist>
105
                                                    <name>$specimenHolderInstitutions</name>
106
                                                    <sourcename>
107
                                                        <name>
108
                                                            <_split>
109
                                                                <separator>[,;] *</separator>
110
                                                                <value>$specimenHolderInstitutions</value>
111
                                                            </_split>
112
                                                        </name>
113
                                                    </sourcename>
114
                                                </sourcelist>
115
                                            </institution_id>
116
                                            <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
117
                                        </specimenreplicate>
118
                                    </plantobservation>
119
                                </aggregateoccurrence>
120
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
121
                                <iscultivated>
122
                                    <_map>
123
                                        <cultivated>t</cultivated>
124
                                        <wild>f</wild>
125
                                        <*></*>
126
                                        <value>$establishmentMeans</value>
127
                                    </_map>
128
                                </iscultivated>
129
                                <isnative>
130
                                    <_map>
131
                                        <native>t</native>
132
                                        <exotic>f</exotic>
133
                                        <*></*>
134
                                        <value>$establishmentMeans</value>
135
                                    </_map>
136
                                </isnative>
137
                                <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
138
                                <taxondetermination>
139
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
140
                                    <taxonverbatim_id>
141
                                        <taxonverbatim>
142
                                            <taxonlabel_id>
143
                                                <taxonlabel>
144
                                                    <parent_id>
145
                                                        <taxonlabel>
146
                                                            <rank>$taxonRank</rank>
147
                                                            <parent_id>
148
                                                                <taxonlabel>
149
                                                                    <rank>cultivar</rank>
150
                                                                    <parent_id>
151
                                                                        <taxonlabel>
152
                                                                            <rank>forma</rank>
153
                                                                            <parent_id>
154
                                                                                <taxonlabel>
155
                                                                                    <rank>variety</rank>
156
                                                                                    <parent_id>
157
                                                                                        <taxonlabel>
158
                                                                                            <rank>subspecies</rank>
159
                                                                                            <parent_id>
160
                                                                                                <taxonlabel>
161
                                                                                                    <rank>species</rank>
162
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
163
                                                                                                    <parent_id>
164
                                                                                                        <taxonlabel>
165
                                                                                                            <rank>genus</rank>
166
                                                                                                            <taxonepithet>$genus</taxonepithet>
167
                                                                                                            <parent_id>
168
                                                                                                                <taxonlabel>
169
                                                                                                                    <rank>family</rank>
170
                                                                                                                    <taxonepithet>$family</taxonepithet>
171
                                                                                                                </taxonlabel>
172
                                                                                                            </parent_id>
173
                                                                                                        </taxonlabel>
174
                                                                                                    </parent_id>
175
                                                                                                </taxonlabel>
176
                                                                                            </parent_id>
177
                                                                                        </taxonlabel>
178
                                                                                    </parent_id>
179
                                                                                </taxonlabel>
180
                                                                            </parent_id>
181
                                                                        </taxonlabel>
182
                                                                    </parent_id>
183
                                                                </taxonlabel>
184
                                                            </parent_id>
185
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
186
                                                        </taxonlabel>
187
                                                    </parent_id>
188
                                                    <rank>$taxonRank</rank>
189
                                                    <taxonomicname>
190
                                                        <_merge_prefix>
191
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
192
                                                            <value>
193
                                                                <_alt>
194
                                                                    <1>$scientificName</1>
195
                                                                    <2>
196
                                                                        <_join_words>
197
                                                                            <1>
198
                                                                                <_join_words>
199
                                                                                    <2><_filter_genus><value>$genus</value></_filter_genus></2>
200
                                                                                    <3>$specificEpithet</3>
201
                                                                                    <5>
202
                                                                                        <_join_words>
203
                                                                                            <1>
204
                                                                                                <_if name="if has infraspecificEpithet">
205
                                                                                                    <cond>$infraspecificEpithet</cond>
206
                                                                                                    <then>$taxonRank</then>
207
                                                                                                </_if>
208
                                                                                            </1>
209
                                                                                            <2>$infraspecificEpithet</2>
210
                                                                                        </_join_words>
211
                                                                                    </5>
212
                                                                                </_join_words>
213
                                                                            </1>
214
                                                                            <2>$scientificNameAuthorship</2>
215
                                                                        </_join_words>
216
                                                                    </2>
217
                                                                </_alt>
218
                                                            </value>
219
                                                        </_merge_prefix>
220
                                                    </taxonomicname>
221
                                                </taxonlabel>
222
                                            </taxonlabel_id>
223
                                            <author>$scientificNameAuthorship</author>
224
                                            <family>$family</family>
225
                                            <genus>$genus</genus>
226
                                            <specific_epithet>$specificEpithet</specific_epithet>
227
                                            <taxonomicname>$scientificName</taxonomicname>
228
                                            <verbatimrank>$taxonRank</verbatimrank>
229
                                        </taxonverbatim>
230
                                    </taxonverbatim_id>
231
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
232
                                    <notes>$taxonRemarks</notes>
233
                                    <taxonfit>$identificationQualifier</taxonfit>
234
                                </taxondetermination>
235
                            </taxonoccurrence>
236
                        </locationevent>
237
                        <locationnarrative>
238
                            <_merge>
239
                                <1>$locality</1>
240
                                <3>
241
                                    <_label>
242
                                        <label>habitat</label>
243
                                        <value>$habitat</value>
244
                                    </_label>
245
                                </3>
246
                                <4>$locationRemarks</4>
247
                            </_merge>
248
                        </locationnarrative>
249
                        <locationplace>
250
                            <place_id>
251
                                <place>
252
                                    <coordinates_id>
253
                                        <coordinates>
254
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
255
                                            <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
256
                                            <latitude_deg>
257
                                                <_nullIf>
258
                                                    <null>0</null>
259
                                                    <type>float</type>
260
                                                    <value>$decimalLatitude</value>
261
                                                </_nullIf>
262
                                            </latitude_deg>
263
                                            <longitude_deg>
264
                                                <_nullIf>
265
                                                    <null>0</null>
266
                                                    <type>float</type>
267
                                                    <value>$decimalLongitude</value>
268
                                                </_nullIf>
269
                                            </longitude_deg>
270
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
271
                                        </coordinates>
272
                                    </coordinates_id>
273
                                    <placename_id>
274
                                        <placename>
275
                                            <rank>municipality</rank>
276
                                            <placename>$municipality</placename>
277
                                        </placename>
278
                                    </placename_id>
279
                                    <country>$country</country>
280
                                    <county>$county</county>
281
                                    <matched_place_id>
282
                                        <place>
283
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
284
                                            <coordinates_id>
285
                                                <coordinates>
286
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
287
                                                    <latitude_deg>
288
                                                        <_nullIf>
289
                                                            <null>0</null>
290
                                                            <type>float</type>
291
                                                            <value>$decimalLatitude</value>
292
                                                        </_nullIf>
293
                                                    </latitude_deg>
294
                                                    <longitude_deg>
295
                                                        <_nullIf>
296
                                                            <null>0</null>
297
                                                            <type>float</type>
298
                                                            <value>$decimalLongitude</value>
299
                                                        </_nullIf>
300
                                                    </longitude_deg>
301
                                                </coordinates>
302
                                            </coordinates_id>
303
                                            <country>$country</country>
304
                                            <county>$county</county>
305
                                            <stateprovince>$stateProvince</stateprovince>
306
                                        </place>
307
                                    </matched_place_id>
308
                                    <stateprovince>$stateProvince</stateprovince>
309
                                </place>
310
                            </place_id>
311
                        </locationplace>
312
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
313
                    </location>
314
                </path>
315
            </_simplifyPath>
316
        </path>
317
    </_setDefault>
318
</VegBIEN>
319
Inserted 39 new rows into database
(10-10/11)