1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<location id="-1">
|
4
|
<authorlocationcode>
|
5
|
<_merge>
|
6
|
<1>$InstitutionCode</1>
|
7
|
<2>$CollectionCode</2>
|
8
|
<3><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></3>
|
9
|
</_merge>
|
10
|
</authorlocationcode>
|
11
|
<elevation>
|
12
|
<_avg>
|
13
|
<max>
|
14
|
<_units>
|
15
|
<default>m</default>
|
16
|
<to>m</to>
|
17
|
<to></to>
|
18
|
<value>
|
19
|
<_replace>
|
20
|
<\bca\.?></\bca\.?>
|
21
|
<value>$MaximumElevation</value>
|
22
|
</_replace>
|
23
|
</value>
|
24
|
</_units>
|
25
|
</max>
|
26
|
<min>
|
27
|
<_units>
|
28
|
<default>m</default>
|
29
|
<to>m</to>
|
30
|
<to></to>
|
31
|
<value>
|
32
|
<_rangeStart>
|
33
|
<value>
|
34
|
<_replace>
|
35
|
<\bca\.?></\bca\.?>
|
36
|
<value>$MinimumElevation</value>
|
37
|
</_replace>
|
38
|
</value>
|
39
|
</_rangeStart>
|
40
|
</value>
|
41
|
</_units>
|
42
|
</min>
|
43
|
</_avg>
|
44
|
</elevation>
|
45
|
<elevationrange>
|
46
|
<_range>
|
47
|
<from>
|
48
|
<_units>
|
49
|
<default>m</default>
|
50
|
<to>m</to>
|
51
|
<to></to>
|
52
|
<value>
|
53
|
<_rangeStart>
|
54
|
<value>
|
55
|
<_replace>
|
56
|
<\bca\.?></\bca\.?>
|
57
|
<value>$MinimumElevation</value>
|
58
|
</_replace>
|
59
|
</value>
|
60
|
</_rangeStart>
|
61
|
</value>
|
62
|
</_units>
|
63
|
</from>
|
64
|
<to>
|
65
|
<_units>
|
66
|
<default>m</default>
|
67
|
<to>m</to>
|
68
|
<to></to>
|
69
|
<value>
|
70
|
<_alt>
|
71
|
<1>
|
72
|
<_replace>
|
73
|
<\bca\.?></\bca\.?>
|
74
|
<value>$MaximumElevation</value>
|
75
|
</_replace>
|
76
|
</1>
|
77
|
<2>
|
78
|
<_rangeEnd>
|
79
|
<value>
|
80
|
<_replace>
|
81
|
<\bca\.?></\bca\.?>
|
82
|
<value>$MinimumElevation</value>
|
83
|
</_replace>
|
84
|
</value>
|
85
|
</_rangeEnd>
|
86
|
</2>
|
87
|
</_alt>
|
88
|
</value>
|
89
|
</_units>
|
90
|
</to>
|
91
|
</_range>
|
92
|
</elevationrange>
|
93
|
<locationdetermination>
|
94
|
<latitude>
|
95
|
<_nullIf>
|
96
|
<null>0</null>
|
97
|
<type>float</type>
|
98
|
<value>$latitude</value>
|
99
|
</_nullIf>
|
100
|
</latitude>
|
101
|
<longitude>
|
102
|
<_nullIf>
|
103
|
<null>0</null>
|
104
|
<type>float</type>
|
105
|
<value>$longitude</value>
|
106
|
</_nullIf>
|
107
|
</longitude>
|
108
|
<namedplace_id>
|
109
|
<_simplifyPath>
|
110
|
<next>parent_id/namedplace</next>
|
111
|
<require>placename</require>
|
112
|
<path>
|
113
|
<namedplace>
|
114
|
<rank>county</rank>
|
115
|
<placename>$County</placename>
|
116
|
<parent_id>
|
117
|
<namedplace>
|
118
|
<rank>stateProvince</rank>
|
119
|
<placename>$StateProvince</placename>
|
120
|
<parent_id>
|
121
|
<namedplace>
|
122
|
<rank>country</rank>
|
123
|
<placename>$Country</placename>
|
124
|
<parent_id>
|
125
|
<namedplace>
|
126
|
<rank>continent</rank>
|
127
|
<placename>$ContinentOcean</placename>
|
128
|
</namedplace>
|
129
|
</parent_id>
|
130
|
</namedplace>
|
131
|
</parent_id>
|
132
|
</namedplace>
|
133
|
</parent_id>
|
134
|
</namedplace>
|
135
|
</path>
|
136
|
</_simplifyPath>
|
137
|
</namedplace_id>
|
138
|
</locationdetermination>
|
139
|
<locationevent>
|
140
|
<obsenddate>
|
141
|
<_date>
|
142
|
<date>
|
143
|
<_dateRangeEnd>
|
144
|
<value>
|
145
|
<_date>
|
146
|
<day>
|
147
|
<_nullIf>
|
148
|
<null>0</null>
|
149
|
<type>float</type>
|
150
|
<value>$DayCollected</value>
|
151
|
</_nullIf>
|
152
|
</day>
|
153
|
<month>
|
154
|
<_nullIf>
|
155
|
<null>0</null>
|
156
|
<type>float</type>
|
157
|
<value>$MonthCollected</value>
|
158
|
</_nullIf>
|
159
|
</month>
|
160
|
<year>
|
161
|
<_nullIf>
|
162
|
<null>0</null>
|
163
|
<type>float</type>
|
164
|
<value>$YearCollected</value>
|
165
|
</_nullIf>
|
166
|
</year>
|
167
|
</_date>
|
168
|
</value>
|
169
|
</_dateRangeEnd>
|
170
|
</date>
|
171
|
</_date>
|
172
|
</obsenddate>
|
173
|
<obsstartdate>
|
174
|
<_date>
|
175
|
<date>
|
176
|
<_dateRangeStart>
|
177
|
<value>
|
178
|
<_date>
|
179
|
<day>
|
180
|
<_nullIf>
|
181
|
<null>0</null>
|
182
|
<type>float</type>
|
183
|
<value>$DayCollected</value>
|
184
|
</_nullIf>
|
185
|
</day>
|
186
|
<month>
|
187
|
<_nullIf>
|
188
|
<null>0</null>
|
189
|
<type>float</type>
|
190
|
<value>$MonthCollected</value>
|
191
|
</_nullIf>
|
192
|
</month>
|
193
|
<year>
|
194
|
<_nullIf>
|
195
|
<null>0</null>
|
196
|
<type>float</type>
|
197
|
<value>$YearCollected</value>
|
198
|
</_nullIf>
|
199
|
</year>
|
200
|
</_date>
|
201
|
</value>
|
202
|
</_dateRangeStart>
|
203
|
</date>
|
204
|
</_date>
|
205
|
</obsstartdate>
|
206
|
<taxonoccurrence>
|
207
|
<aggregateoccurrence>
|
208
|
<collectiondate>
|
209
|
<_date>
|
210
|
<date>
|
211
|
<_date>
|
212
|
<day>
|
213
|
<_nullIf>
|
214
|
<null>0</null>
|
215
|
<type>float</type>
|
216
|
<value>$DayCollected</value>
|
217
|
</_nullIf>
|
218
|
</day>
|
219
|
<month>
|
220
|
<_nullIf>
|
221
|
<null>0</null>
|
222
|
<type>float</type>
|
223
|
<value>$MonthCollected</value>
|
224
|
</_nullIf>
|
225
|
</month>
|
226
|
<year>
|
227
|
<_nullIf>
|
228
|
<null>0</null>
|
229
|
<type>float</type>
|
230
|
<value>$YearCollected</value>
|
231
|
</_nullIf>
|
232
|
</year>
|
233
|
</_date>
|
234
|
</date>
|
235
|
</_date>
|
236
|
</collectiondate>
|
237
|
<count>$IndividualCount</count>
|
238
|
<notes>$convertednotes</notes>
|
239
|
<plantobservation>
|
240
|
<authorplantcode>$CollectorNumber</authorplantcode>
|
241
|
<specimenreplicate>
|
242
|
<catalognumber_dwc><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></catalognumber_dwc>
|
243
|
<collectioncode_dwc>$CollectionCode</collectioncode_dwc>
|
244
|
<collectionnumber>$CollectorNumber</collectionnumber>
|
245
|
<institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
|
246
|
</specimenreplicate>
|
247
|
</plantobservation>
|
248
|
</aggregateoccurrence>
|
249
|
<sourceaccessioncode>
|
250
|
<_alt>
|
251
|
<2><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></2>
|
252
|
<3>$CollectorNumber</3>
|
253
|
</_alt>
|
254
|
</sourceaccessioncode>
|
255
|
<taxondetermination>
|
256
|
<isoriginal>true</isoriginal>
|
257
|
<role>identifier</role>
|
258
|
<party_id>
|
259
|
<party>
|
260
|
<givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
|
261
|
<middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
|
262
|
<surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
|
263
|
</party>
|
264
|
</party_id>
|
265
|
<plantconcept_id>
|
266
|
<plantconcept>
|
267
|
<plantname_id>
|
268
|
<_simplifyPath>
|
269
|
<next>parent_id/plantname</next>
|
270
|
<require>plantname</require>
|
271
|
<path>
|
272
|
<plantname>
|
273
|
<rank>binomial</rank>
|
274
|
<plantname>$ScientificName</plantname>
|
275
|
<parent_id>
|
276
|
<plantname>
|
277
|
<rank>authority</rank>
|
278
|
<plantname>$ScientificNameAuthor</plantname>
|
279
|
<parent_id>
|
280
|
<plantname>
|
281
|
<rank>subspecies</rank>
|
282
|
<plantname>$Subspecies</plantname>
|
283
|
<parent_id>
|
284
|
<plantname>
|
285
|
<rank>species</rank>
|
286
|
<plantname>$species</plantname>
|
287
|
<parent_id>
|
288
|
<plantname>
|
289
|
<rank>genus</rank>
|
290
|
<plantname>$genus</plantname>
|
291
|
<parent_id>
|
292
|
<plantname>
|
293
|
<rank>family</rank>
|
294
|
<plantname>$family</plantname>
|
295
|
<parent_id>
|
296
|
<plantname>
|
297
|
<rank>order</rank>
|
298
|
<parent_id>
|
299
|
<plantname>
|
300
|
<rank>class</rank>
|
301
|
<parent_id>
|
302
|
<plantname>
|
303
|
<rank>subkingdom</rank>
|
304
|
<parent_id>
|
305
|
<plantname>
|
306
|
<rank>kingdom</rank>
|
307
|
<plantname>$Kingdom</plantname>
|
308
|
</plantname>
|
309
|
</parent_id>
|
310
|
</plantname>
|
311
|
</parent_id>
|
312
|
</plantname>
|
313
|
</parent_id>
|
314
|
</plantname>
|
315
|
</parent_id>
|
316
|
</plantname>
|
317
|
</parent_id>
|
318
|
</plantname>
|
319
|
</parent_id>
|
320
|
</plantname>
|
321
|
</parent_id>
|
322
|
</plantname>
|
323
|
</parent_id>
|
324
|
</plantname>
|
325
|
</parent_id>
|
326
|
</plantname>
|
327
|
</path>
|
328
|
</_simplifyPath>
|
329
|
</plantname_id>
|
330
|
</plantconcept>
|
331
|
</plantconcept_id>
|
332
|
</taxondetermination>
|
333
|
<verbatimcollectorname>$Collector</verbatimcollectorname>
|
334
|
</taxonoccurrence>
|
335
|
</locationevent>
|
336
|
<locationnarrative>$Locality</locationnarrative>
|
337
|
</location>
|
338
|
</VegBIEN>
|
339
|
Inserted 38 new rows into database
|