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
|
<creator_id>
|
61
|
<party>
|
62
|
<creator_id>0</creator_id>
|
63
|
<organizationname>TNRS</organizationname>
|
64
|
</party>
|
65
|
</creator_id>
|
66
|
<taxonomicname>
|
67
|
<_join_words>
|
68
|
<1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
|
69
|
<2>
|
70
|
<_alt>
|
71
|
<1>$scientificName</1>
|
72
|
<2>
|
73
|
<_join_words>
|
74
|
<1>
|
75
|
<_join_words>
|
76
|
<2>$genus</2>
|
77
|
<3>$specificEpithet</3>
|
78
|
<5>
|
79
|
<_join_words>
|
80
|
<1>
|
81
|
<_if name="if has infraspecificEpithet">
|
82
|
<cond>$infraspecificEpithet</cond>
|
83
|
<then>$taxonRank</then>
|
84
|
</_if>
|
85
|
</1>
|
86
|
<2>$infraspecificEpithet</2>
|
87
|
</_join_words>
|
88
|
</5>
|
89
|
</_join_words>
|
90
|
</1>
|
91
|
<2>$scientificNameAuthorship</2>
|
92
|
</_join_words>
|
93
|
</2>
|
94
|
</_alt>
|
95
|
</2>
|
96
|
</_join_words>
|
97
|
</taxonomicname>
|
98
|
</taxonlabel>
|
99
|
</matched_label_id>
|
100
|
<creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
|
101
|
<creator_id>
|
102
|
<_simplifyPath>
|
103
|
<next>creator_id</next>
|
104
|
<path><party><fullname>$identifiedBy</fullname></party></path>
|
105
|
</_simplifyPath>
|
106
|
</creator_id>
|
107
|
<parent_id>
|
108
|
<taxonlabel>
|
109
|
<rank>$taxonRank</rank>
|
110
|
<taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
|
111
|
<parent_id>
|
112
|
<taxonlabel>
|
113
|
<rank>cultivar</rank>
|
114
|
<parent_id>
|
115
|
<taxonlabel>
|
116
|
<rank>forma</rank>
|
117
|
<parent_id>
|
118
|
<taxonlabel>
|
119
|
<rank>variety</rank>
|
120
|
<parent_id>
|
121
|
<taxonlabel>
|
122
|
<rank>subspecies</rank>
|
123
|
<parent_id>
|
124
|
<taxonlabel>
|
125
|
<rank>species</rank>
|
126
|
<taxonepithet>$specificEpithet</taxonepithet>
|
127
|
<parent_id>
|
128
|
<taxonlabel>
|
129
|
<rank>genus</rank>
|
130
|
<taxonepithet>$genus</taxonepithet>
|
131
|
<parent_id>
|
132
|
<taxonlabel>
|
133
|
<rank>family</rank>
|
134
|
<taxonepithet>$family</taxonepithet>
|
135
|
<parent_id>
|
136
|
<taxonlabel>
|
137
|
<rank>order</rank>
|
138
|
<taxonepithet>$order</taxonepithet>
|
139
|
<parent_id>
|
140
|
<taxonlabel>
|
141
|
<rank>class</rank>
|
142
|
<taxonepithet>$class</taxonepithet>
|
143
|
<parent_id>
|
144
|
<taxonlabel>
|
145
|
<rank>phylum</rank>
|
146
|
<taxonepithet>$phylum</taxonepithet>
|
147
|
<parent_id>
|
148
|
<taxonlabel>
|
149
|
<rank>kingdom</rank>
|
150
|
<taxonepithet>$kingdom</taxonepithet>
|
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
|
</taxonlabel>
|
164
|
</parent_id>
|
165
|
</taxonlabel>
|
166
|
</parent_id>
|
167
|
</taxonlabel>
|
168
|
</parent_id>
|
169
|
</taxonlabel>
|
170
|
</parent_id>
|
171
|
</taxonlabel>
|
172
|
</parent_id>
|
173
|
<taxonepithet>$infraspecificEpithet</taxonepithet>
|
174
|
</taxonlabel>
|
175
|
</parent_id>
|
176
|
<rank>$taxonRank</rank>
|
177
|
<taxonomicname>
|
178
|
<_join_words>
|
179
|
<1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
|
180
|
<2>
|
181
|
<_alt>
|
182
|
<1>$scientificName</1>
|
183
|
<2>
|
184
|
<_join_words>
|
185
|
<1>
|
186
|
<_join_words>
|
187
|
<2>$genus</2>
|
188
|
<3>$specificEpithet</3>
|
189
|
<5>
|
190
|
<_join_words>
|
191
|
<1>
|
192
|
<_if name="if has infraspecificEpithet">
|
193
|
<cond>$infraspecificEpithet</cond>
|
194
|
<then>$taxonRank</then>
|
195
|
</_if>
|
196
|
</1>
|
197
|
<2>$infraspecificEpithet</2>
|
198
|
</_join_words>
|
199
|
</5>
|
200
|
</_join_words>
|
201
|
</1>
|
202
|
<2>$scientificNameAuthorship</2>
|
203
|
</_join_words>
|
204
|
</2>
|
205
|
</_alt>
|
206
|
</2>
|
207
|
</_join_words>
|
208
|
</taxonomicname>
|
209
|
</taxonlabel>
|
210
|
</taxonlabel_id>
|
211
|
<author>$scientificNameAuthorship</author>
|
212
|
<family>$family</family>
|
213
|
<genus>$genus</genus>
|
214
|
<specific_epithet>$specificEpithet</specific_epithet>
|
215
|
<taxonomicname>$scientificName</taxonomicname>
|
216
|
<verbatimrank>$taxonRank</verbatimrank>
|
217
|
</taxonverbatim>
|
218
|
</taxonverbatim_id>
|
219
|
<determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
|
220
|
</taxondetermination>
|
221
|
<verbatimcollectorname>$recordedBy</verbatimcollectorname>
|
222
|
</taxonoccurrence>
|
223
|
</locationevent>
|
224
|
<locationnarrative>
|
225
|
<_merge>
|
226
|
<1>$locality</1>
|
227
|
<3>
|
228
|
<_label>
|
229
|
<label>habitat</label>
|
230
|
<value>$habitat</value>
|
231
|
</_label>
|
232
|
</3>
|
233
|
</_merge>
|
234
|
</locationnarrative>
|
235
|
<locationplace>
|
236
|
<place_id>
|
237
|
<place>
|
238
|
<coordinates_id>
|
239
|
<coordinates>
|
240
|
<latitude_deg>
|
241
|
<_nullIf>
|
242
|
<null>0</null>
|
243
|
<type>float</type>
|
244
|
<value>$decimalLatitude</value>
|
245
|
</_nullIf>
|
246
|
</latitude_deg>
|
247
|
<longitude_deg>
|
248
|
<_nullIf>
|
249
|
<null>0</null>
|
250
|
<type>float</type>
|
251
|
<value>$decimalLongitude</value>
|
252
|
</_nullIf>
|
253
|
</longitude_deg>
|
254
|
</coordinates>
|
255
|
</coordinates_id>
|
256
|
<continent>$continent</continent>
|
257
|
<country>$country</country>
|
258
|
<county>$county</county>
|
259
|
<stateprovince>$stateProvince</stateprovince>
|
260
|
</place>
|
261
|
</place_id>
|
262
|
</locationplace>
|
263
|
<verbatimelevation>$verbatimElevation</verbatimelevation>
|
264
|
</location>
|
265
|
</path>
|
266
|
</_simplifyPath>
|
267
|
</VegBIEN>
|
268
|
Inserted 39 new rows into database
|