Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_merge>
6
                <1>$InstitutionCode</1>
7
                <2>$CollectionCode</2>
8
                <3>$CatalogNumber</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>
239
                        <_alt>
240
                            <0>$convertednotes</0>
241
                            <1>$notes</1>
242
                        </_alt>
243
                    </notes>
244
                    <plantobservation>
245
                        <collectionnumber>$CollectorNumber</collectionnumber>
246
                        <specimenreplicate>
247
                            <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
248
                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
249
                            <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
250
                        </specimenreplicate>
251
                    </plantobservation>
252
                </aggregateoccurrence>
253
                <authortaxoncode>
254
                    <_alt>
255
                        <1>$CollectorNumber</1>
256
                        <2>$ScientificName</2>
257
                    </_alt>
258
                </authortaxoncode>
259
                <taxondetermination>
260
                    <isoriginal>true</isoriginal>
261
                    <role>identifier</role>
262
                    <party_id>
263
                        <party>
264
                            <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
265
                            <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
266
                            <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
267
                        </party>
268
                    </party_id>
269
                    <plantconcept_id>
270
                        <plantconcept>
271
                            <plantname_id>
272
                                <_simplifyPath>
273
                                    <next>parent_id/plantname</next>
274
                                    <require>plantname</require>
275
                                    <path>
276
                                        <plantname>
277
                                            <rank>binomial</rank>
278
                                            <plantname>$ScientificName</plantname>
279
                                            <parent_id>
280
                                                <plantname>
281
                                                    <rank>authority</rank>
282
                                                    <plantname>$ScientificNameAuthor</plantname>
283
                                                    <parent_id>
284
                                                        <plantname>
285
                                                            <rank>subspecies</rank>
286
                                                            <plantname>$Subspecies</plantname>
287
                                                            <parent_id>
288
                                                                <plantname>
289
                                                                    <rank>species</rank>
290
                                                                    <plantname>$species</plantname>
291
                                                                    <parent_id>
292
                                                                        <plantname>
293
                                                                            <rank>genus</rank>
294
                                                                            <plantname>$genus</plantname>
295
                                                                            <parent_id>
296
                                                                                <plantname>
297
                                                                                    <rank>family</rank>
298
                                                                                    <plantname>$family</plantname>
299
                                                                                    <parent_id>
300
                                                                                        <plantname>
301
                                                                                            <rank>order</rank>
302
                                                                                            <parent_id>
303
                                                                                                <plantname>
304
                                                                                                    <rank>class</rank>
305
                                                                                                    <parent_id>
306
                                                                                                        <plantname>
307
                                                                                                            <rank>subkingdom</rank>
308
                                                                                                            <parent_id>
309
                                                                                                                <plantname>
310
                                                                                                                    <rank>kingdom</rank>
311
                                                                                                                    <plantname>$Kingdom</plantname>
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
                                                    </parent_id>
328
                                                </plantname>
329
                                            </parent_id>
330
                                        </plantname>
331
                                    </path>
332
                                </_simplifyPath>
333
                            </plantname_id>
334
                        </plantconcept>
335
                    </plantconcept_id>
336
                </taxondetermination>
337
                <verbatimcollectorname>$Collector</verbatimcollectorname>
338
                <voucher><specimenreplicate_id><specimenreplicate><catalognumber_dwc/></specimenreplicate></specimenreplicate_id></voucher>
339
            </taxonoccurrence>
340
        </locationevent>
341
        <locationnarrative>$Locality</locationnarrative>
342
    </location>
343
</VegBIEN>
344
Inserted 38 new rows into database
(7-7/7)