Project

General

Profile

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