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