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><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
|
33
|
<obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></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><party><organizationname>$institutionCode</organizationname></party></institution_id>
|
47
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
48
|
</specimenreplicate>
|
49
|
</plantobservation>
|
50
|
</aggregateoccurrence>
|
51
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
52
|
<taxondetermination>
|
53
|
<party_id><party><fullname>$identifiedBy</fullname></party></party_id>
|
54
|
<taxonverbatim_id>
|
55
|
<taxonverbatim>
|
56
|
<taxonlabel_id>
|
57
|
<taxonlabel>
|
58
|
<matched_label_id>
|
59
|
<taxonlabel>
|
60
|
<reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
|
61
|
<taxonomicname>
|
62
|
<_join_words>
|
63
|
<1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
|
64
|
<2>
|
65
|
<_alt>
|
66
|
<1>$scientificName</1>
|
67
|
<2>
|
68
|
<_join_words>
|
69
|
<1>
|
70
|
<_join_words>
|
71
|
<2>$genus</2>
|
72
|
<3>$specificEpithet</3>
|
73
|
<5>
|
74
|
<_join_words>
|
75
|
<1>
|
76
|
<_if name="if has infraspecificEpithet">
|
77
|
<cond>$infraspecificEpithet</cond>
|
78
|
<then>$taxonRank</then>
|
79
|
</_if>
|
80
|
</1>
|
81
|
<2>$infraspecificEpithet</2>
|
82
|
</_join_words>
|
83
|
</5>
|
84
|
</_join_words>
|
85
|
</1>
|
86
|
<2>$scientificNameAuthorship</2>
|
87
|
</_join_words>
|
88
|
</2>
|
89
|
</_alt>
|
90
|
</2>
|
91
|
</_join_words>
|
92
|
</taxonomicname>
|
93
|
</taxonlabel>
|
94
|
</matched_label_id>
|
95
|
<creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
|
96
|
<parent_id>
|
97
|
<taxonlabel>
|
98
|
<rank>$taxonRank</rank>
|
99
|
<taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
|
100
|
<parent_id>
|
101
|
<taxonlabel>
|
102
|
<rank>cultivar</rank>
|
103
|
<parent_id>
|
104
|
<taxonlabel>
|
105
|
<rank>forma</rank>
|
106
|
<parent_id>
|
107
|
<taxonlabel>
|
108
|
<rank>variety</rank>
|
109
|
<parent_id>
|
110
|
<taxonlabel>
|
111
|
<rank>subspecies</rank>
|
112
|
<parent_id>
|
113
|
<taxonlabel>
|
114
|
<rank>species</rank>
|
115
|
<taxonepithet>$specificEpithet</taxonepithet>
|
116
|
<parent_id>
|
117
|
<taxonlabel>
|
118
|
<rank>genus</rank>
|
119
|
<taxonepithet>$genus</taxonepithet>
|
120
|
<parent_id>
|
121
|
<taxonlabel>
|
122
|
<rank>family</rank>
|
123
|
<taxonepithet>$family</taxonepithet>
|
124
|
<parent_id>
|
125
|
<taxonlabel>
|
126
|
<rank>order</rank>
|
127
|
<taxonepithet>$order</taxonepithet>
|
128
|
<parent_id>
|
129
|
<taxonlabel>
|
130
|
<rank>class</rank>
|
131
|
<taxonepithet>$class</taxonepithet>
|
132
|
<parent_id>
|
133
|
<taxonlabel>
|
134
|
<rank>phylum</rank>
|
135
|
<taxonepithet>$phylum</taxonepithet>
|
136
|
<parent_id>
|
137
|
<taxonlabel>
|
138
|
<rank>kingdom</rank>
|
139
|
<taxonepithet>$kingdom</taxonepithet>
|
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
|
</taxonlabel>
|
161
|
</parent_id>
|
162
|
<taxonepithet>$infraspecificEpithet</taxonepithet>
|
163
|
</taxonlabel>
|
164
|
</parent_id>
|
165
|
<rank>$taxonRank</rank>
|
166
|
<taxonomicname>
|
167
|
<_join_words>
|
168
|
<1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
|
169
|
<2>
|
170
|
<_alt>
|
171
|
<1>$scientificName</1>
|
172
|
<2>
|
173
|
<_join_words>
|
174
|
<1>
|
175
|
<_join_words>
|
176
|
<2>$genus</2>
|
177
|
<3>$specificEpithet</3>
|
178
|
<5>
|
179
|
<_join_words>
|
180
|
<1>
|
181
|
<_if name="if has infraspecificEpithet">
|
182
|
<cond>$infraspecificEpithet</cond>
|
183
|
<then>$taxonRank</then>
|
184
|
</_if>
|
185
|
</1>
|
186
|
<2>$infraspecificEpithet</2>
|
187
|
</_join_words>
|
188
|
</5>
|
189
|
</_join_words>
|
190
|
</1>
|
191
|
<2>$scientificNameAuthorship</2>
|
192
|
</_join_words>
|
193
|
</2>
|
194
|
</_alt>
|
195
|
</2>
|
196
|
</_join_words>
|
197
|
</taxonomicname>
|
198
|
</taxonlabel>
|
199
|
</taxonlabel_id>
|
200
|
<author>$scientificNameAuthorship</author>
|
201
|
<family>$family</family>
|
202
|
<genus>$genus</genus>
|
203
|
<specific_epithet>$specificEpithet</specific_epithet>
|
204
|
<taxonomicname>$scientificName</taxonomicname>
|
205
|
<verbatimrank>$taxonRank</verbatimrank>
|
206
|
</taxonverbatim>
|
207
|
</taxonverbatim_id>
|
208
|
<determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
|
209
|
</taxondetermination>
|
210
|
<verbatimcollectorname>$recordedBy</verbatimcollectorname>
|
211
|
</taxonoccurrence>
|
212
|
</locationevent>
|
213
|
<locationnarrative>
|
214
|
<_merge>
|
215
|
<1>$locality</1>
|
216
|
<3>
|
217
|
<_label>
|
218
|
<label>habitat</label>
|
219
|
<value>$habitat</value>
|
220
|
</_label>
|
221
|
</3>
|
222
|
</_merge>
|
223
|
</locationnarrative>
|
224
|
<locationplace>
|
225
|
<place_id>
|
226
|
<place>
|
227
|
<coordinates_id>
|
228
|
<coordinates>
|
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
|
</coordinates>
|
244
|
</coordinates_id>
|
245
|
<continent>$continent</continent>
|
246
|
<country>$country</country>
|
247
|
<county>$county</county>
|
248
|
<matched_place_id>
|
249
|
<place>
|
250
|
<reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
|
251
|
<coordinates_id>
|
252
|
<coordinates>
|
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
|
</coordinates>
|
268
|
</coordinates_id>
|
269
|
<country>$country</country>
|
270
|
<stateprovince>$stateProvince</stateprovince>
|
271
|
</place>
|
272
|
</matched_place_id>
|
273
|
<stateprovince>$stateProvince</stateprovince>
|
274
|
</place>
|
275
|
</place_id>
|
276
|
</locationplace>
|
277
|
<verbatimelevation>$verbatimElevation</verbatimelevation>
|
278
|
</location>
|
279
|
</path>
|
280
|
</_simplifyPath>
|
281
|
</VegBIEN>
|
282
|
Inserted 42 new rows into database
|