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