Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 3786 aaronmk
    <location id="-1">
4 4003 aaronmk
        <authorlocationcode>
5
            <_merge>
6
                <1>$InstitutionCode</1>
7
                <2>$CollectionCode</2>
8 4058 aaronmk
                <3><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></3>
9 4003 aaronmk
            </_merge>
10
        </authorlocationcode>
11 3786 aaronmk
        <elevation>
12 4043 aaronmk
            <_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 3984 aaronmk
                                <value>
34
                                    <_replace>
35
                                        <\bca\.?></\bca\.?>
36 4043 aaronmk
                                        <value>$MinimumElevation</value>
37 3984 aaronmk
                                    </_replace>
38
                                </value>
39 4043 aaronmk
                            </_rangeStart>
40
                        </value>
41
                    </_units>
42
                </min>
43
            </_avg>
44 3786 aaronmk
        </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 3984 aaronmk
                                <1>
72
                                    <_replace>
73
                                        <\bca\.?></\bca\.?>
74
                                        <value>$MaximumElevation</value>
75
                                    </_replace>
76
                                </1>
77 3786 aaronmk
                                <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 4043 aaronmk
            <coordsaccuracy><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy>
95 3786 aaronmk
            <latitude>
96 4043 aaronmk
                <_nullIf>
97
                    <null>0</null>
98
                    <type>float</type>
99
                    <value>$Latitude</value>
100
                </_nullIf>
101 3786 aaronmk
            </latitude>
102
            <longitude>
103 4043 aaronmk
                <_nullIf>
104
                    <null>0</null>
105
                    <type>float</type>
106
                    <value>$Longitude</value>
107
                </_nullIf>
108 3786 aaronmk
            </longitude>
109
            <namedplace_id>
110
                <_simplifyPath>
111
                    <next>parent_id/namedplace</next>
112
                    <require>placename</require>
113
                    <path>
114
                        <namedplace>
115
                            <rank>county</rank>
116
                            <placename>$County</placename>
117
                            <parent_id>
118
                                <namedplace>
119
                                    <rank>stateProvince</rank>
120
                                    <placename>$StateProvince</placename>
121
                                    <parent_id>
122
                                        <namedplace>
123
                                            <rank>country</rank>
124
                                            <placename>$Country</placename>
125
                                            <parent_id>
126
                                                <namedplace>
127
                                                    <rank>continent</rank>
128
                                                    <placename>$ContinentOcean</placename>
129
                                                </namedplace>
130
                                            </parent_id>
131
                                        </namedplace>
132
                                    </parent_id>
133
                                </namedplace>
134
                            </parent_id>
135
                        </namedplace>
136
                    </path>
137
                </_simplifyPath>
138
            </namedplace_id>
139
        </locationdetermination>
140
        <locationevent>
141 3973 aaronmk
            <authoreventcode>$FieldNumber</authoreventcode>
142 4021 aaronmk
            <obsenddate>
143
                <_date>
144
                    <date>
145
                        <_dateRangeEnd>
146
                            <value>
147 4043 aaronmk
                                <_date>
148
                                    <day>
149
                                        <_nullIf>
150
                                            <null>0</null>
151
                                            <type>float</type>
152
                                            <value>$DayCollected</value>
153
                                        </_nullIf>
154
                                    </day>
155
                                    <month>
156
                                        <_nullIf>
157
                                            <null>0</null>
158
                                            <type>float</type>
159
                                            <value>$MonthCollected</value>
160
                                        </_nullIf>
161
                                    </month>
162
                                    <year>
163
                                        <_nullIf>
164
                                            <null>0</null>
165
                                            <type>float</type>
166
                                            <value>$YearCollected</value>
167
                                        </_nullIf>
168
                                    </year>
169
                                </_date>
170 4021 aaronmk
                            </value>
171
                        </_dateRangeEnd>
172
                    </date>
173
                </_date>
174
            </obsenddate>
175
            <obsstartdate>
176
                <_date>
177
                    <date>
178
                        <_dateRangeStart>
179
                            <value>
180 4043 aaronmk
                                <_date>
181
                                    <day>
182
                                        <_nullIf>
183
                                            <null>0</null>
184
                                            <type>float</type>
185
                                            <value>$DayCollected</value>
186
                                        </_nullIf>
187
                                    </day>
188
                                    <month>
189
                                        <_nullIf>
190
                                            <null>0</null>
191
                                            <type>float</type>
192
                                            <value>$MonthCollected</value>
193
                                        </_nullIf>
194
                                    </month>
195
                                    <year>
196
                                        <_nullIf>
197
                                            <null>0</null>
198
                                            <type>float</type>
199
                                            <value>$YearCollected</value>
200
                                        </_nullIf>
201
                                    </year>
202
                                </_date>
203 4021 aaronmk
                            </value>
204
                        </_dateRangeStart>
205
                    </date>
206
                </_date>
207
            </obsstartdate>
208 3915 aaronmk
            <taxonoccurrence>
209
                <aggregateoccurrence>
210
                    <collectiondate>
211
                        <_date>
212
                            <date>
213 4043 aaronmk
                                <_date>
214
                                    <day>
215
                                        <_nullIf>
216
                                            <null>0</null>
217
                                            <type>float</type>
218
                                            <value>$DayCollected</value>
219
                                        </_nullIf>
220
                                    </day>
221
                                    <month>
222
                                        <_nullIf>
223
                                            <null>0</null>
224
                                            <type>float</type>
225
                                            <value>$MonthCollected</value>
226
                                        </_nullIf>
227
                                    </month>
228
                                    <year>
229
                                        <_nullIf>
230
                                            <null>0</null>
231
                                            <type>float</type>
232
                                            <value>$YearCollected</value>
233
                                        </_nullIf>
234
                                    </year>
235
                                </_date>
236 3915 aaronmk
                            </date>
237
                        </_date>
238
                    </collectiondate>
239 3982 aaronmk
                    <count>$IndividualCount</count>
240 3912 aaronmk
                    <notes>$Notes</notes>
241 3907 aaronmk
                    <plantobservation>
242 4043 aaronmk
                        <authorplantcode>$CollectorNumber</authorplantcode>
243 3914 aaronmk
                        <definedvalue fkey="tablerecord_id">
244
                            <userdefined_id>
245
                                <userdefined>
246
                                    <tablename>plantobservation</tablename>
247
                                    <userdefinedname>sex</userdefinedname>
248
                                </userdefined>
249
                            </userdefined_id>
250
                            <definedvalue>$Sex</definedvalue>
251
                        </definedvalue>
252 3907 aaronmk
                        <specimenreplicate>
253 4057 aaronmk
                            <catalognumber_dwc><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></catalognumber_dwc>
254 4043 aaronmk
                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
255
                            <collectionnumber>$CollectorNumber</collectionnumber>
256 3907 aaronmk
                            <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
257
                        </specimenreplicate>
258
                    </plantobservation>
259
                </aggregateoccurrence>
260 4046 aaronmk
                <sourceaccessioncode>
261
                    <_alt>
262
                        <2><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></2>
263
                        <3>$CollectorNumber</3>
264
                    </_alt>
265
                </sourceaccessioncode>
266 3786 aaronmk
                <taxondetermination>
267 3980 aaronmk
                    <isoriginal>true</isoriginal>
268 3786 aaronmk
                    <role>identifier</role>
269 3979 aaronmk
                    <party_id>
270
                        <party>
271
                            <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
272
                            <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
273
                            <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
274
                        </party>
275
                    </party_id>
276 3786 aaronmk
                    <plantconcept_id>
277
                        <plantconcept>
278
                            <plantname_id>
279
                                <_simplifyPath>
280
                                    <next>parent_id/plantname</next>
281
                                    <require>plantname</require>
282
                                    <path>
283 3641 aaronmk
                                        <plantname>
284 3786 aaronmk
                                            <rank>binomial</rank>
285
                                            <plantname>$ScientificName</plantname>
286 3641 aaronmk
                                            <parent_id>
287
                                                <plantname>
288 3786 aaronmk
                                                    <rank>authority</rank>
289
                                                    <plantname>$ScientificNameAuthor</plantname>
290 3641 aaronmk
                                                    <parent_id>
291
                                                        <plantname>
292 3786 aaronmk
                                                            <rank>subspecies</rank>
293
                                                            <plantname>$Subspecies</plantname>
294 3641 aaronmk
                                                            <parent_id>
295
                                                                <plantname>
296 3786 aaronmk
                                                                    <rank>species</rank>
297
                                                                    <plantname>$Species</plantname>
298 3641 aaronmk
                                                                    <parent_id>
299
                                                                        <plantname>
300 3786 aaronmk
                                                                            <rank>genus</rank>
301
                                                                            <plantname>$Genus</plantname>
302 3641 aaronmk
                                                                            <parent_id>
303
                                                                                <plantname>
304 3786 aaronmk
                                                                                    <rank>family</rank>
305
                                                                                    <plantname>$Family</plantname>
306 3641 aaronmk
                                                                                    <parent_id>
307
                                                                                        <plantname>
308 3786 aaronmk
                                                                                            <rank>order</rank>
309
                                                                                            <plantname>$Order</plantname>
310 3641 aaronmk
                                                                                            <parent_id>
311
                                                                                                <plantname>
312 3786 aaronmk
                                                                                                    <rank>class</rank>
313
                                                                                                    <plantname>$Class</plantname>
314 3641 aaronmk
                                                                                                    <parent_id>
315
                                                                                                        <plantname>
316 3786 aaronmk
                                                                                                            <rank>subkingdom</rank>
317
                                                                                                            <plantname>$Phylum</plantname>
318
                                                                                                            <parent_id>
319
                                                                                                                <plantname>
320
                                                                                                                    <rank>kingdom</rank>
321
                                                                                                                    <plantname>$Kingdom</plantname>
322
                                                                                                                </plantname>
323
                                                                                                            </parent_id>
324 3641 aaronmk
                                                                                                        </plantname>
325
                                                                                                    </parent_id>
326
                                                                                                </plantname>
327
                                                                                            </parent_id>
328
                                                                                        </plantname>
329
                                                                                    </parent_id>
330
                                                                                </plantname>
331
                                                                            </parent_id>
332
                                                                        </plantname>
333
                                                                    </parent_id>
334
                                                                </plantname>
335
                                                            </parent_id>
336
                                                        </plantname>
337
                                                    </parent_id>
338
                                                </plantname>
339
                                            </parent_id>
340
                                        </plantname>
341 3786 aaronmk
                                    </path>
342
                                </_simplifyPath>
343
                            </plantname_id>
344
                        </plantconcept>
345
                    </plantconcept_id>
346 3980 aaronmk
                    <determinationdate>
347
                        <_date>
348
                            <date>
349
                                <_dateRangeStart>
350
                                    <value>
351 4043 aaronmk
                                        <_date>
352
                                            <day>
353
                                                <_nullIf>
354
                                                    <null>0</null>
355
                                                    <type>float</type>
356
                                                    <value>$DayIdentified</value>
357
                                                </_nullIf>
358
                                            </day>
359
                                            <month>
360
                                                <_nullIf>
361
                                                    <null>0</null>
362
                                                    <type>float</type>
363
                                                    <value>$MonthIdentified</value>
364
                                                </_nullIf>
365
                                            </month>
366
                                            <year>
367
                                                <_nullIf>
368
                                                    <null>0</null>
369
                                                    <type>float</type>
370
                                                    <value>$YearIdentified</value>
371
                                                </_nullIf>
372
                                            </year>
373
                                        </_date>
374 3980 aaronmk
                                    </value>
375
                                </_dateRangeStart>
376
                            </date>
377
                        </_date>
378
                    </determinationdate>
379 3786 aaronmk
                </taxondetermination>
380 3934 aaronmk
                <verbatimcollectorname>$Collector</verbatimcollectorname>
381 3907 aaronmk
            </taxonoccurrence>
382 3786 aaronmk
            <waterdepth>
383
                <_avg>
384
                    <max>
385
                        <_units>
386
                            <default>m</default>
387
                            <to>m</to>
388
                            <to></to>
389 3984 aaronmk
                            <value>
390
                                <_replace>
391
                                    <\bca\.?></\bca\.?>
392
                                    <value>$MaximumDepth</value>
393
                                </_replace>
394
                            </value>
395 3786 aaronmk
                        </_units>
396
                    </max>
397
                    <min>
398
                        <_units>
399
                            <default>m</default>
400
                            <to>m</to>
401
                            <to></to>
402 3984 aaronmk
                            <value>
403
                                <_replace>
404
                                    <\bca\.?></\bca\.?>
405
                                    <value>$MinimumDepth</value>
406
                                </_replace>
407
                            </value>
408 3786 aaronmk
                        </_units>
409
                    </min>
410
                </_avg>
411
            </waterdepth>
412
        </locationevent>
413 4043 aaronmk
        <locationnarrative>$Locality</locationnarrative>
414 3786 aaronmk
    </location>
415 3641 aaronmk
</VegBIEN>
416 3907 aaronmk
Inserted 47 new rows into database