1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<authorlocationcode>
|
8
|
<_alt>
|
9
|
<1>$id</1>
|
10
|
<2>
|
11
|
<_join>
|
12
|
<1>$institutionCode</1>
|
13
|
<2>
|
14
|
<_join>
|
15
|
<1>$collectionCode</1>
|
16
|
<2>$collectionID</2>
|
17
|
</_join>
|
18
|
</2>
|
19
|
<3>$catalogNumber</3>
|
20
|
</_join>
|
21
|
</2>
|
22
|
</_alt>
|
23
|
</authorlocationcode>
|
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
|
<max>$maximumElevationInMeters</max>
|
36
|
<min>$minimumElevationInMeters</min>
|
37
|
</_avg>
|
38
|
</2>
|
39
|
</_alt>
|
40
|
</elevation_m>
|
41
|
<locationevent>
|
42
|
<obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
|
43
|
<obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
|
44
|
<taxonoccurrence>
|
45
|
<aggregateoccurrence>
|
46
|
<plantobservation>
|
47
|
<collectionnumber>$recordNumber</collectionnumber>
|
48
|
<definedvalue fkey="tablerecord_id">
|
49
|
<userdefined_id>
|
50
|
<userdefined>
|
51
|
<tablename>plantobservation</tablename>
|
52
|
<userdefinedname>sex</userdefinedname>
|
53
|
</userdefined>
|
54
|
</userdefined_id>
|
55
|
<definedvalue>$sex</definedvalue>
|
56
|
</definedvalue>
|
57
|
<specimenreplicate>
|
58
|
<catalognumber_dwc>$catalogNumber</catalognumber_dwc>
|
59
|
<collectioncode_dwc>
|
60
|
<_join>
|
61
|
<1>$collectionCode</1>
|
62
|
<2>$collectionID</2>
|
63
|
</_join>
|
64
|
</collectioncode_dwc>
|
65
|
<institution_id>
|
66
|
<sourcename>
|
67
|
<matched_source_id><source><shortname>$institutionCode</shortname></source></matched_source_id>
|
68
|
<name>$institutionCode</name>
|
69
|
</sourcename>
|
70
|
</institution_id>
|
71
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
72
|
</specimenreplicate>
|
73
|
</plantobservation>
|
74
|
</aggregateoccurrence>
|
75
|
<collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
|
76
|
<iscultivated>
|
77
|
<_map>
|
78
|
<cultivated>t</cultivated>
|
79
|
<wild>f</wild>
|
80
|
<*></*>
|
81
|
<value>$establishmentMeans</value>
|
82
|
</_map>
|
83
|
</iscultivated>
|
84
|
<isnative>
|
85
|
<_map>
|
86
|
<native>t</native>
|
87
|
<exotic>f</exotic>
|
88
|
<*></*>
|
89
|
<value>$establishmentMeans</value>
|
90
|
</_map>
|
91
|
</isnative>
|
92
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
93
|
<taxondetermination>
|
94
|
<party_id><party><fullname>$identifiedBy</fullname></party></party_id>
|
95
|
<taxonverbatim_id>
|
96
|
<taxonverbatim>
|
97
|
<taxonlabel_id>
|
98
|
<taxonlabel>
|
99
|
<matched_label_id>
|
100
|
<taxonlabel>
|
101
|
<source_id><source><shortname>TNRS</shortname></source></source_id>
|
102
|
<taxonomicname>
|
103
|
<_join_words>
|
104
|
<1>
|
105
|
<_taxon_family_require_std>
|
106
|
<family>
|
107
|
<_nullIf>
|
108
|
<null>$scientificName</null>
|
109
|
<value>$family</value>
|
110
|
</_nullIf>
|
111
|
</family>
|
112
|
</_taxon_family_require_std>
|
113
|
</1>
|
114
|
<2>
|
115
|
<_alt>
|
116
|
<1>$scientificName</1>
|
117
|
<2>
|
118
|
<_join_words>
|
119
|
<1>
|
120
|
<_join_words>
|
121
|
<2>$genus</2>
|
122
|
<3>$specificEpithet</3>
|
123
|
<5>
|
124
|
<_join_words>
|
125
|
<1>
|
126
|
<_if name="if has infraspecificEpithet">
|
127
|
<cond>$infraspecificEpithet</cond>
|
128
|
<then>$taxonRank</then>
|
129
|
</_if>
|
130
|
</1>
|
131
|
<2>$infraspecificEpithet</2>
|
132
|
</_join_words>
|
133
|
</5>
|
134
|
</_join_words>
|
135
|
</1>
|
136
|
<2>$scientificNameAuthorship</2>
|
137
|
</_join_words>
|
138
|
</2>
|
139
|
</_alt>
|
140
|
</2>
|
141
|
</_join_words>
|
142
|
</taxonomicname>
|
143
|
</taxonlabel>
|
144
|
</matched_label_id>
|
145
|
<creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
|
146
|
<parent_id>
|
147
|
<taxonlabel>
|
148
|
<rank>$taxonRank</rank>
|
149
|
<taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
|
150
|
<parent_id>
|
151
|
<taxonlabel>
|
152
|
<rank>cultivar</rank>
|
153
|
<parent_id>
|
154
|
<taxonlabel>
|
155
|
<rank>forma</rank>
|
156
|
<parent_id>
|
157
|
<taxonlabel>
|
158
|
<rank>variety</rank>
|
159
|
<parent_id>
|
160
|
<taxonlabel>
|
161
|
<rank>subspecies</rank>
|
162
|
<parent_id>
|
163
|
<taxonlabel>
|
164
|
<rank>species</rank>
|
165
|
<taxonepithet>$specificEpithet</taxonepithet>
|
166
|
<parent_id>
|
167
|
<taxonlabel>
|
168
|
<rank>genus</rank>
|
169
|
<taxonepithet>$genus</taxonepithet>
|
170
|
<parent_id>
|
171
|
<taxonlabel>
|
172
|
<rank>family</rank>
|
173
|
<taxonepithet>$family</taxonepithet>
|
174
|
<parent_id>
|
175
|
<taxonlabel>
|
176
|
<rank>order</rank>
|
177
|
<parent_id>
|
178
|
<taxonlabel>
|
179
|
<rank>class</rank>
|
180
|
<parent_id>
|
181
|
<taxonlabel>
|
182
|
<rank>phylum</rank>
|
183
|
<parent_id>
|
184
|
<taxonlabel>
|
185
|
<rank>kingdom</rank>
|
186
|
<taxonepithet>$kingdom</taxonepithet>
|
187
|
</taxonlabel>
|
188
|
</parent_id>
|
189
|
</taxonlabel>
|
190
|
</parent_id>
|
191
|
</taxonlabel>
|
192
|
</parent_id>
|
193
|
</taxonlabel>
|
194
|
</parent_id>
|
195
|
</taxonlabel>
|
196
|
</parent_id>
|
197
|
</taxonlabel>
|
198
|
</parent_id>
|
199
|
</taxonlabel>
|
200
|
</parent_id>
|
201
|
</taxonlabel>
|
202
|
</parent_id>
|
203
|
</taxonlabel>
|
204
|
</parent_id>
|
205
|
</taxonlabel>
|
206
|
</parent_id>
|
207
|
</taxonlabel>
|
208
|
</parent_id>
|
209
|
<taxonepithet>$infraspecificEpithet</taxonepithet>
|
210
|
</taxonlabel>
|
211
|
</parent_id>
|
212
|
<rank>$taxonRank</rank>
|
213
|
<taxonomicname>
|
214
|
<_join_words>
|
215
|
<1>
|
216
|
<_taxon_family_require_std>
|
217
|
<family>
|
218
|
<_nullIf>
|
219
|
<null>$scientificName</null>
|
220
|
<value>$family</value>
|
221
|
</_nullIf>
|
222
|
</family>
|
223
|
</_taxon_family_require_std>
|
224
|
</1>
|
225
|
<2>
|
226
|
<_alt>
|
227
|
<1>$scientificName</1>
|
228
|
<2>
|
229
|
<_join_words>
|
230
|
<1>
|
231
|
<_join_words>
|
232
|
<2>$genus</2>
|
233
|
<3>$specificEpithet</3>
|
234
|
<5>
|
235
|
<_join_words>
|
236
|
<1>
|
237
|
<_if name="if has infraspecificEpithet">
|
238
|
<cond>$infraspecificEpithet</cond>
|
239
|
<then>$taxonRank</then>
|
240
|
</_if>
|
241
|
</1>
|
242
|
<2>$infraspecificEpithet</2>
|
243
|
</_join_words>
|
244
|
</5>
|
245
|
</_join_words>
|
246
|
</1>
|
247
|
<2>$scientificNameAuthorship</2>
|
248
|
</_join_words>
|
249
|
</2>
|
250
|
</_alt>
|
251
|
</2>
|
252
|
</_join_words>
|
253
|
</taxonomicname>
|
254
|
</taxonlabel>
|
255
|
</taxonlabel_id>
|
256
|
<author>$scientificNameAuthorship</author>
|
257
|
<family>$family</family>
|
258
|
<genus>$genus</genus>
|
259
|
<specific_epithet>$specificEpithet</specific_epithet>
|
260
|
<taxonomicname>$scientificName</taxonomicname>
|
261
|
<verbatimrank>$taxonRank</verbatimrank>
|
262
|
</taxonverbatim>
|
263
|
</taxonverbatim_id>
|
264
|
<determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
|
265
|
<taxonfit>$identificationQualifier</taxonfit>
|
266
|
</taxondetermination>
|
267
|
</taxonoccurrence>
|
268
|
</locationevent>
|
269
|
<locationnarrative>
|
270
|
<_merge>
|
271
|
<1>$locality</1>
|
272
|
<3>
|
273
|
<_label>
|
274
|
<label>habitat</label>
|
275
|
<value>$habitat</value>
|
276
|
</_label>
|
277
|
</3>
|
278
|
</_merge>
|
279
|
</locationnarrative>
|
280
|
<locationplace>
|
281
|
<place_id>
|
282
|
<place>
|
283
|
<coordinates_id>
|
284
|
<coordinates>
|
285
|
<coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
|
286
|
<latitude_deg>
|
287
|
<_nullIf>
|
288
|
<null>0</null>
|
289
|
<type>float</type>
|
290
|
<value>$decimalLatitude</value>
|
291
|
</_nullIf>
|
292
|
</latitude_deg>
|
293
|
<longitude_deg>
|
294
|
<_nullIf>
|
295
|
<null>0</null>
|
296
|
<type>float</type>
|
297
|
<value>$decimalLongitude</value>
|
298
|
</_nullIf>
|
299
|
</longitude_deg>
|
300
|
<verbatimlatitude>$verbatimLatitude</verbatimlatitude>
|
301
|
<verbatimlongitude>$verbatimLongitude</verbatimlongitude>
|
302
|
</coordinates>
|
303
|
</coordinates_id>
|
304
|
<continent>$continent</continent>
|
305
|
<country>$country</country>
|
306
|
<county>$county</county>
|
307
|
<matched_place_id>
|
308
|
<place>
|
309
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
310
|
<coordinates_id>
|
311
|
<coordinates>
|
312
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
313
|
<latitude_deg>
|
314
|
<_nullIf>
|
315
|
<null>0</null>
|
316
|
<type>float</type>
|
317
|
<value>$decimalLatitude</value>
|
318
|
</_nullIf>
|
319
|
</latitude_deg>
|
320
|
<longitude_deg>
|
321
|
<_nullIf>
|
322
|
<null>0</null>
|
323
|
<type>float</type>
|
324
|
<value>$decimalLongitude</value>
|
325
|
</_nullIf>
|
326
|
</longitude_deg>
|
327
|
</coordinates>
|
328
|
</coordinates_id>
|
329
|
<country>$country</country>
|
330
|
<county>$county</county>
|
331
|
<stateprovince>$stateProvince</stateprovince>
|
332
|
</place>
|
333
|
</matched_place_id>
|
334
|
<stateprovince>$stateProvince</stateprovince>
|
335
|
</place>
|
336
|
</place_id>
|
337
|
</locationplace>
|
338
|
<verbatimelevation>$verbatimElevation</verbatimelevation>
|
339
|
</location>
|
340
|
</path>
|
341
|
</_simplifyPath>
|
342
|
</VegBIEN>
|
343
|
Inserted 43 new rows into database
|