Project

General

Profile

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