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
|
<_units>
|
26
|
<to>m</to>
|
27
|
<to></to>
|
28
|
<value>$verbatimElevation</value>
|
29
|
</_units>
|
30
|
</elevation_m>
|
31
|
<locationevent>
|
32
|
<obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
|
33
|
<obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
|
34
|
<taxonoccurrence>
|
35
|
<aggregateoccurrence>
|
36
|
<plantobservation>
|
37
|
<collectionnumber>$recordNumber</collectionnumber>
|
38
|
<specimenreplicate>
|
39
|
<catalognumber_dwc>$catalogNumber</catalognumber_dwc>
|
40
|
<collectioncode_dwc>
|
41
|
<_join>
|
42
|
<1>$collectionCode</1>
|
43
|
<2>$collectionID</2>
|
44
|
</_join>
|
45
|
</collectioncode_dwc>
|
46
|
<institution_id><sourcename><name>$institutionCode</name></sourcename></institution_id>
|
47
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
48
|
</specimenreplicate>
|
49
|
</plantobservation>
|
50
|
</aggregateoccurrence>
|
51
|
<collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
|
52
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
53
|
<taxondetermination>
|
54
|
<party_id><party><fullname>$identifiedBy</fullname></party></party_id>
|
55
|
<taxonverbatim_id>
|
56
|
<taxonverbatim>
|
57
|
<taxonlabel_id>
|
58
|
<taxonlabel>
|
59
|
<matched_label_id>
|
60
|
<taxonlabel>
|
61
|
<source_id><source><shortname>TNRS</shortname></source></source_id>
|
62
|
<taxonomicname>
|
63
|
<_join_words>
|
64
|
<1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
|
65
|
<2>
|
66
|
<_alt>
|
67
|
<1>$scientificName</1>
|
68
|
<2>
|
69
|
<_join_words>
|
70
|
<1>
|
71
|
<_join_words>
|
72
|
<2>$genus</2>
|
73
|
<3>$specificEpithet</3>
|
74
|
<5>
|
75
|
<_join_words>
|
76
|
<1>
|
77
|
<_if name="if has infraspecificEpithet">
|
78
|
<cond>$infraspecificEpithet</cond>
|
79
|
<then>$taxonRank</then>
|
80
|
</_if>
|
81
|
</1>
|
82
|
<2>$infraspecificEpithet</2>
|
83
|
</_join_words>
|
84
|
</5>
|
85
|
</_join_words>
|
86
|
</1>
|
87
|
<2>$scientificNameAuthorship</2>
|
88
|
</_join_words>
|
89
|
</2>
|
90
|
</_alt>
|
91
|
</2>
|
92
|
</_join_words>
|
93
|
</taxonomicname>
|
94
|
</taxonlabel>
|
95
|
</matched_label_id>
|
96
|
<creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
|
97
|
<parent_id>
|
98
|
<taxonlabel>
|
99
|
<rank>$taxonRank</rank>
|
100
|
<taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
|
101
|
<parent_id>
|
102
|
<taxonlabel>
|
103
|
<rank>cultivar</rank>
|
104
|
<parent_id>
|
105
|
<taxonlabel>
|
106
|
<rank>forma</rank>
|
107
|
<parent_id>
|
108
|
<taxonlabel>
|
109
|
<rank>variety</rank>
|
110
|
<parent_id>
|
111
|
<taxonlabel>
|
112
|
<rank>subspecies</rank>
|
113
|
<parent_id>
|
114
|
<taxonlabel>
|
115
|
<rank>species</rank>
|
116
|
<taxonepithet>$specificEpithet</taxonepithet>
|
117
|
<parent_id>
|
118
|
<taxonlabel>
|
119
|
<rank>genus</rank>
|
120
|
<taxonepithet>$genus</taxonepithet>
|
121
|
<parent_id>
|
122
|
<taxonlabel>
|
123
|
<rank>family</rank>
|
124
|
<taxonepithet>$family</taxonepithet>
|
125
|
<parent_id>
|
126
|
<taxonlabel>
|
127
|
<rank>order</rank>
|
128
|
<parent_id>
|
129
|
<taxonlabel>
|
130
|
<rank>class</rank>
|
131
|
<parent_id>
|
132
|
<taxonlabel>
|
133
|
<rank>phylum</rank>
|
134
|
<parent_id>
|
135
|
<taxonlabel>
|
136
|
<rank>kingdom</rank>
|
137
|
<taxonepithet>$kingdom</taxonepithet>
|
138
|
</taxonlabel>
|
139
|
</parent_id>
|
140
|
</taxonlabel>
|
141
|
</parent_id>
|
142
|
</taxonlabel>
|
143
|
</parent_id>
|
144
|
</taxonlabel>
|
145
|
</parent_id>
|
146
|
</taxonlabel>
|
147
|
</parent_id>
|
148
|
</taxonlabel>
|
149
|
</parent_id>
|
150
|
</taxonlabel>
|
151
|
</parent_id>
|
152
|
</taxonlabel>
|
153
|
</parent_id>
|
154
|
</taxonlabel>
|
155
|
</parent_id>
|
156
|
</taxonlabel>
|
157
|
</parent_id>
|
158
|
</taxonlabel>
|
159
|
</parent_id>
|
160
|
<taxonepithet>$infraspecificEpithet</taxonepithet>
|
161
|
</taxonlabel>
|
162
|
</parent_id>
|
163
|
<rank>$taxonRank</rank>
|
164
|
<taxonomicname>
|
165
|
<_join_words>
|
166
|
<1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
|
167
|
<2>
|
168
|
<_alt>
|
169
|
<1>$scientificName</1>
|
170
|
<2>
|
171
|
<_join_words>
|
172
|
<1>
|
173
|
<_join_words>
|
174
|
<2>$genus</2>
|
175
|
<3>$specificEpithet</3>
|
176
|
<5>
|
177
|
<_join_words>
|
178
|
<1>
|
179
|
<_if name="if has infraspecificEpithet">
|
180
|
<cond>$infraspecificEpithet</cond>
|
181
|
<then>$taxonRank</then>
|
182
|
</_if>
|
183
|
</1>
|
184
|
<2>$infraspecificEpithet</2>
|
185
|
</_join_words>
|
186
|
</5>
|
187
|
</_join_words>
|
188
|
</1>
|
189
|
<2>$scientificNameAuthorship</2>
|
190
|
</_join_words>
|
191
|
</2>
|
192
|
</_alt>
|
193
|
</2>
|
194
|
</_join_words>
|
195
|
</taxonomicname>
|
196
|
</taxonlabel>
|
197
|
</taxonlabel_id>
|
198
|
<author>$scientificNameAuthorship</author>
|
199
|
<family>$family</family>
|
200
|
<genus>$genus</genus>
|
201
|
<specific_epithet>$specificEpithet</specific_epithet>
|
202
|
<taxonomicname>$scientificName</taxonomicname>
|
203
|
<verbatimrank>$taxonRank</verbatimrank>
|
204
|
</taxonverbatim>
|
205
|
</taxonverbatim_id>
|
206
|
<determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
|
207
|
<notes>$taxonRemarks</notes>
|
208
|
<taxonfit>$identificationQualifier</taxonfit>
|
209
|
</taxondetermination>
|
210
|
</taxonoccurrence>
|
211
|
</locationevent>
|
212
|
<locationnarrative>
|
213
|
<_merge>
|
214
|
<1>$locality</1>
|
215
|
<3>
|
216
|
<_label>
|
217
|
<label>habitat</label>
|
218
|
<value>$habitat</value>
|
219
|
</_label>
|
220
|
</3>
|
221
|
</_merge>
|
222
|
</locationnarrative>
|
223
|
<locationplace>
|
224
|
<place_id>
|
225
|
<place>
|
226
|
<coordinates_id>
|
227
|
<coordinates>
|
228
|
<coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
|
229
|
<latitude_deg>
|
230
|
<_nullIf>
|
231
|
<null>0</null>
|
232
|
<type>float</type>
|
233
|
<value>$decimalLatitude</value>
|
234
|
</_nullIf>
|
235
|
</latitude_deg>
|
236
|
<longitude_deg>
|
237
|
<_nullIf>
|
238
|
<null>0</null>
|
239
|
<type>float</type>
|
240
|
<value>$decimalLongitude</value>
|
241
|
</_nullIf>
|
242
|
</longitude_deg>
|
243
|
<verbatimlatitude>$verbatimLatitude</verbatimlatitude>
|
244
|
<verbatimlongitude>$verbatimLongitude</verbatimlongitude>
|
245
|
</coordinates>
|
246
|
</coordinates_id>
|
247
|
<country>$country</country>
|
248
|
<matched_place_id>
|
249
|
<place>
|
250
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
251
|
<coordinates_id>
|
252
|
<coordinates>
|
253
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
254
|
<latitude_deg>
|
255
|
<_nullIf>
|
256
|
<null>0</null>
|
257
|
<type>float</type>
|
258
|
<value>$decimalLatitude</value>
|
259
|
</_nullIf>
|
260
|
</latitude_deg>
|
261
|
<longitude_deg>
|
262
|
<_nullIf>
|
263
|
<null>0</null>
|
264
|
<type>float</type>
|
265
|
<value>$decimalLongitude</value>
|
266
|
</_nullIf>
|
267
|
</longitude_deg>
|
268
|
</coordinates>
|
269
|
</coordinates_id>
|
270
|
<country>$country</country>
|
271
|
<stateprovince>$stateProvince</stateprovince>
|
272
|
</place>
|
273
|
</matched_place_id>
|
274
|
<stateprovince>$stateProvince</stateprovince>
|
275
|
</place>
|
276
|
</place_id>
|
277
|
</locationplace>
|
278
|
<verbatimelevation>$verbatimElevation</verbatimelevation>
|
279
|
</location>
|
280
|
</path>
|
281
|
</_simplifyPath>
|
282
|
</VegBIEN>
|
283
|
Inserted 42 new rows into database
|