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><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><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></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
|
<taxonepithet>$order</taxonepithet>
|
129
|
<parent_id>
|
130
|
<taxonlabel>
|
131
|
<rank>class</rank>
|
132
|
<taxonepithet>$class</taxonepithet>
|
133
|
<parent_id>
|
134
|
<taxonlabel>
|
135
|
<rank>phylum</rank>
|
136
|
<taxonepithet>$phylum</taxonepithet>
|
137
|
<parent_id>
|
138
|
<taxonlabel>
|
139
|
<rank>kingdom</rank>
|
140
|
<taxonepithet>$kingdom</taxonepithet>
|
141
|
</taxonlabel>
|
142
|
</parent_id>
|
143
|
</taxonlabel>
|
144
|
</parent_id>
|
145
|
</taxonlabel>
|
146
|
</parent_id>
|
147
|
</taxonlabel>
|
148
|
</parent_id>
|
149
|
</taxonlabel>
|
150
|
</parent_id>
|
151
|
</taxonlabel>
|
152
|
</parent_id>
|
153
|
</taxonlabel>
|
154
|
</parent_id>
|
155
|
</taxonlabel>
|
156
|
</parent_id>
|
157
|
</taxonlabel>
|
158
|
</parent_id>
|
159
|
</taxonlabel>
|
160
|
</parent_id>
|
161
|
</taxonlabel>
|
162
|
</parent_id>
|
163
|
<taxonepithet>$infraspecificEpithet</taxonepithet>
|
164
|
</taxonlabel>
|
165
|
</parent_id>
|
166
|
<rank>$taxonRank</rank>
|
167
|
<taxonomicname>
|
168
|
<_join_words>
|
169
|
<1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
|
170
|
<2>
|
171
|
<_alt>
|
172
|
<1>$scientificName</1>
|
173
|
<2>
|
174
|
<_join_words>
|
175
|
<1>
|
176
|
<_join_words>
|
177
|
<2>$genus</2>
|
178
|
<3>$specificEpithet</3>
|
179
|
<5>
|
180
|
<_join_words>
|
181
|
<1>
|
182
|
<_if name="if has infraspecificEpithet">
|
183
|
<cond>$infraspecificEpithet</cond>
|
184
|
<then>$taxonRank</then>
|
185
|
</_if>
|
186
|
</1>
|
187
|
<2>$infraspecificEpithet</2>
|
188
|
</_join_words>
|
189
|
</5>
|
190
|
</_join_words>
|
191
|
</1>
|
192
|
<2>$scientificNameAuthorship</2>
|
193
|
</_join_words>
|
194
|
</2>
|
195
|
</_alt>
|
196
|
</2>
|
197
|
</_join_words>
|
198
|
</taxonomicname>
|
199
|
</taxonlabel>
|
200
|
</taxonlabel_id>
|
201
|
<author>$scientificNameAuthorship</author>
|
202
|
<family>$family</family>
|
203
|
<genus>$genus</genus>
|
204
|
<specific_epithet>$specificEpithet</specific_epithet>
|
205
|
<taxonomicname>$scientificName</taxonomicname>
|
206
|
<verbatimrank>$taxonRank</verbatimrank>
|
207
|
</taxonverbatim>
|
208
|
</taxonverbatim_id>
|
209
|
<determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
|
210
|
</taxondetermination>
|
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
|
<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 46 new rows into database
|