Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$UniqueNYInternalRecordNumber</1>
10
                        <2>
11
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>$CatalogNumber</3>
15
                            </_join>
16
                        </2>
17
                    </_alt>
18
                </authorlocationcode>
19
                <elevation>
20
                    <_avg>
21
                        <max>
22
                            <_units>
23
                                <default>m</default>
24
                                <to>m</to>
25
                                <to></to>
26
                                <value>
27
                                    <_replace>
28
                                        <\bca\.?></\bca\.?>
29
                                        <value>$MaximumElevation</value>
30
                                    </_replace>
31
                                </value>
32
                            </_units>
33
                        </max>
34
                        <min>
35
                            <_units>
36
                                <default>m</default>
37
                                <to>m</to>
38
                                <to></to>
39
                                <value>
40
                                    <_rangeStart>
41
                                        <value>
42
                                            <_replace>
43
                                                <\bca\.?></\bca\.?>
44
                                                <value>
45
                                                    <_nullIf>
46
                                                        <null>.</null>
47
                                                        <value>$MinimumElevation</value>
48
                                                    </_nullIf>
49
                                                </value>
50
                                            </_replace>
51
                                        </value>
52
                                    </_rangeStart>
53
                                </value>
54
                            </_units>
55
                        </min>
56
                    </_avg>
57
                </elevation>
58
                <elevationrange>
59
                    <_range>
60
                        <from>
61
                            <_units>
62
                                <default>m</default>
63
                                <to>m</to>
64
                                <to></to>
65
                                <value>
66
                                    <_rangeStart>
67
                                        <value>
68
                                            <_replace>
69
                                                <\bca\.?></\bca\.?>
70
                                                <value>
71
                                                    <_nullIf>
72
                                                        <null>.</null>
73
                                                        <value>$MinimumElevation</value>
74
                                                    </_nullIf>
75
                                                </value>
76
                                            </_replace>
77
                                        </value>
78
                                    </_rangeStart>
79
                                </value>
80
                            </_units>
81
                        </from>
82
                        <to>
83
                            <_units>
84
                                <default>m</default>
85
                                <to>m</to>
86
                                <to></to>
87
                                <value>
88
                                    <_alt>
89
                                        <1>
90
                                            <_replace>
91
                                                <\bca\.?></\bca\.?>
92
                                                <value>$MaximumElevation</value>
93
                                            </_replace>
94
                                        </1>
95
                                        <2>
96
                                            <_rangeEnd>
97
                                                <value>
98
                                                    <_replace>
99
                                                        <\bca\.?></\bca\.?>
100
                                                        <value>
101
                                                            <_nullIf>
102
                                                                <null>.</null>
103
                                                                <value>$MinimumElevation</value>
104
                                                            </_nullIf>
105
                                                        </value>
106
                                                    </_replace>
107
                                                </value>
108
                                            </_rangeEnd>
109
                                        </2>
110
                                    </_alt>
111
                                </value>
112
                            </_units>
113
                        </to>
114
                    </_range>
115
                </elevationrange>
116
                <locationdetermination>
117
                    <coordsaccuracy><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy>
118
                    <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
119
                    <latitude>
120
                        <_nullIf>
121
                            <null>0</null>
122
                            <type>float</type>
123
                            <value>$Latitude</value>
124
                        </_nullIf>
125
                    </latitude>
126
                    <longitude>
127
                        <_nullIf>
128
                            <null>0</null>
129
                            <type>float</type>
130
                            <value>$Longitude</value>
131
                        </_nullIf>
132
                    </longitude>
133
                    <namedplace_id>
134
                        <_simplifyPath>
135
                            <next>parent_id</next>
136
                            <path>
137
                                <namedplace>
138
                                    <rank>county</rank>
139
                                    <placename>$County</placename>
140
                                    <parent_id>
141
                                        <namedplace>
142
                                            <rank>stateProvince</rank>
143
                                            <placename>$StateProvince</placename>
144
                                            <parent_id>
145
                                                <namedplace>
146
                                                    <rank>country</rank>
147
                                                    <placename>$Country</placename>
148
                                                    <parent_id>
149
                                                        <namedplace>
150
                                                            <rank>continent</rank>
151
                                                            <placename>$ContinentOcean</placename>
152
                                                        </namedplace>
153
                                                    </parent_id>
154
                                                </namedplace>
155
                                            </parent_id>
156
                                        </namedplace>
157
                                    </parent_id>
158
                                </namedplace>
159
                            </path>
160
                        </_simplifyPath>
161
                    </namedplace_id>
162
                </locationdetermination>
163
                <locationevent>
164
                    <taxonoccurrence>
165
                        <aggregateoccurrence>
166
                            <collectiondate>
167
                                <_date>
168
                                    <day>
169
                                        <_nullIf>
170
                                            <null>0</null>
171
                                            <type>float</type>
172
                                            <value>$DayCollected</value>
173
                                        </_nullIf>
174
                                    </day>
175
                                    <month>
176
                                        <_nullIf>
177
                                            <null>0</null>
178
                                            <type>float</type>
179
                                            <value>$MonthCollected</value>
180
                                        </_nullIf>
181
                                    </month>
182
                                    <year>
183
                                        <_nullIf>
184
                                            <null>0</null>
185
                                            <type>float</type>
186
                                            <value>$YearCollected</value>
187
                                        </_nullIf>
188
                                    </year>
189
                                </_date>
190
                            </collectiondate>
191
                            <count>$IndividualCount</count>
192
                            <notes>
193
                                <_merge>
194
                                    <1>$Notes</1>
195
                                    <2>
196
                                        <_label>
197
                                            <label>plant fungus</label>
198
                                            <value>$PlantFungusDescription</value>
199
                                        </_label>
200
                                    </2>
201
                                </_merge>
202
                            </notes>
203
                            <plantobservation>
204
                                <collectionnumber>$FieldNumber</collectionnumber>
205
                                <definedvalue fkey="tablerecord_id">
206
                                    <userdefined_id>
207
                                        <userdefined>
208
                                            <tablename>plantobservation</tablename>
209
                                            <userdefinedname>sex</userdefinedname>
210
                                        </userdefined>
211
                                    </userdefined_id>
212
                                    <definedvalue>$Sex</definedvalue>
213
                                </definedvalue>
214
                                <specimenreplicate>
215
                                    <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
216
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
217
                                    <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
218
                                    <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
219
                                </specimenreplicate>
220
                            </plantobservation>
221
                        </aggregateoccurrence>
222
                        <authortaxoncode>
223
                            <_alt>
224
                                <1>$FieldNumber</1>
225
                                <2>$ScientificName</2>
226
                            </_alt>
227
                        </authortaxoncode>
228
                        <taxondetermination>
229
                            <party_id>
230
                                <party>
231
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
232
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
233
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
234
                                </party>
235
                            </party_id>
236
                            <plantconcept_id>
237
                                <plantconcept>
238
                                    <plantname_id>
239
                                        <_simplifyPath>
240
                                            <next>parent_id</next>
241
                                            <path>
242
                                                <plantname>
243
                                                    <rank>binomial</rank>
244
                                                    <plantname>$ScientificName</plantname>
245
                                                    <parent_id>
246
                                                        <plantname>
247
                                                            <rank>authority</rank>
248
                                                            <plantname>$ScientificNameAuthor</plantname>
249
                                                            <parent_id>
250
                                                                <plantname>
251
                                                                    <rank>subspecies</rank>
252
                                                                    <plantname>$Subspecies</plantname>
253
                                                                    <parent_id>
254
                                                                        <plantname>
255
                                                                            <rank>species</rank>
256
                                                                            <plantname>$Species</plantname>
257
                                                                            <parent_id>
258
                                                                                <plantname>
259
                                                                                    <rank>genus</rank>
260
                                                                                    <plantname>$Genus</plantname>
261
                                                                                    <parent_id>
262
                                                                                        <plantname>
263
                                                                                            <rank>family</rank>
264
                                                                                            <plantname>$Family</plantname>
265
                                                                                            <parent_id>
266
                                                                                                <plantname>
267
                                                                                                    <rank>order</rank>
268
                                                                                                    <plantname>$Order</plantname>
269
                                                                                                    <parent_id>
270
                                                                                                        <plantname>
271
                                                                                                            <rank>class</rank>
272
                                                                                                            <plantname>$Class</plantname>
273
                                                                                                            <parent_id>
274
                                                                                                                <plantname>
275
                                                                                                                    <rank>subkingdom</rank>
276
                                                                                                                    <plantname>$Phylum</plantname>
277
                                                                                                                    <parent_id>
278
                                                                                                                        <plantname>
279
                                                                                                                            <rank>kingdom</rank>
280
                                                                                                                            <plantname>$Kingdom</plantname>
281
                                                                                                                        </plantname>
282
                                                                                                                    </parent_id>
283
                                                                                                                </plantname>
284
                                                                                                            </parent_id>
285
                                                                                                        </plantname>
286
                                                                                                    </parent_id>
287
                                                                                                </plantname>
288
                                                                                            </parent_id>
289
                                                                                        </plantname>
290
                                                                                    </parent_id>
291
                                                                                </plantname>
292
                                                                            </parent_id>
293
                                                                        </plantname>
294
                                                                    </parent_id>
295
                                                                </plantname>
296
                                                            </parent_id>
297
                                                        </plantname>
298
                                                    </parent_id>
299
                                                </plantname>
300
                                            </path>
301
                                        </_simplifyPath>
302
                                    </plantname_id>
303
                                </plantconcept>
304
                            </plantconcept_id>
305
                            <determinationdate>
306
                                <_date>
307
                                    <day>
308
                                        <_nullIf>
309
                                            <null>0</null>
310
                                            <type>float</type>
311
                                            <value>$DayIdentified</value>
312
                                        </_nullIf>
313
                                    </day>
314
                                    <month>
315
                                        <_nullIf>
316
                                            <null>0</null>
317
                                            <type>float</type>
318
                                            <value>$MonthIdentified</value>
319
                                        </_nullIf>
320
                                    </month>
321
                                    <year>
322
                                        <_nullIf>
323
                                            <null>0</null>
324
                                            <type>float</type>
325
                                            <value>$YearIdentified</value>
326
                                        </_nullIf>
327
                                    </year>
328
                                </_date>
329
                            </determinationdate>
330
                        </taxondetermination>
331
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
332
                    </taxonoccurrence>
333
                    <waterdepth>
334
                        <_avg>
335
                            <max>
336
                                <_units>
337
                                    <default>m</default>
338
                                    <to>m</to>
339
                                    <to></to>
340
                                    <value>
341
                                        <_replace>
342
                                            <\bca\.?></\bca\.?>
343
                                            <value>$MaximumDepth</value>
344
                                        </_replace>
345
                                    </value>
346
                                </_units>
347
                            </max>
348
                            <min>
349
                                <_units>
350
                                    <default>m</default>
351
                                    <to>m</to>
352
                                    <to></to>
353
                                    <value>
354
                                        <_replace>
355
                                            <\bca\.?></\bca\.?>
356
                                            <value>$MinimumDepth</value>
357
                                        </_replace>
358
                                    </value>
359
                                </_units>
360
                            </min>
361
                        </_avg>
362
                    </waterdepth>
363
                </locationevent>
364
                <locationnarrative>
365
                    <_merge>
366
                        <1>
367
                            <_merge>
368
                                <1>$Locality</1>
369
                                <2>
370
                                    <_label>
371
                                        <label>substrate</label>
372
                                        <value>$Substrate</value>
373
                                    </_label>
374
                                </2>
375
                                <3>
376
                                    <_label>
377
                                        <label>vegetation</label>
378
                                        <value>$Vegetation</value>
379
                                    </_label>
380
                                </3>
381
                            </_merge>
382
                        </1>
383
                        <3>
384
                            <_label>
385
                                <label>habitat</label>
386
                                <value>$Habitat</value>
387
                            </_label>
388
                        </3>
389
                    </_merge>
390
                </locationnarrative>
391
            </location>
392
        </path>
393
    </_simplifyPath>
394
</VegBIEN>
395
Inserted 39 new rows into database
(8-8/9)