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 3641 aaronmk
                            <_alt>
71 3984 aaronmk
                                <1>
72
                                    <_replace>
73
                                        <\bca\.?></\bca\.?>
74
                                        <value>$MaximumElevation</value>
75
                                    </_replace>
76
                                </1>
77 3641 aaronmk
                                <2>
78 3786 aaronmk
                                    <_rangeEnd>
79
                                        <value>
80
                                            <_replace>
81
                                                <\bca\.?></\bca\.?>
82
                                                <value>$MinimumElevation</value>
83
                                            </_replace>
84
                                        </value>
85
                                    </_rangeEnd>
86 3641 aaronmk
                                </2>
87
                            </_alt>
88 3786 aaronmk
                        </value>
89
                    </_units>
90
                </to>
91
            </_range>
92
        </elevationrange>
93
        <locationdetermination>
94
            <latitude>
95 4043 aaronmk
                <_nullIf>
96
                    <null>0</null>
97
                    <type>float</type>
98
                    <value>$latitude</value>
99
                </_nullIf>
100 3786 aaronmk
            </latitude>
101
            <longitude>
102 4043 aaronmk
                <_nullIf>
103
                    <null>0</null>
104
                    <type>float</type>
105
                    <value>$longitude</value>
106
                </_nullIf>
107 3786 aaronmk
            </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 4021 aaronmk
            <obsenddate>
141
                <_date>
142
                    <date>
143
                        <_dateRangeEnd>
144
                            <value>
145 4043 aaronmk
                                <_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 4021 aaronmk
                            </value>
169
                        </_dateRangeEnd>
170
                    </date>
171
                </_date>
172
            </obsenddate>
173
            <obsstartdate>
174
                <_date>
175
                    <date>
176
                        <_dateRangeStart>
177
                            <value>
178 4043 aaronmk
                                <_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 4021 aaronmk
                            </value>
202
                        </_dateRangeStart>
203
                    </date>
204
                </_date>
205
            </obsstartdate>
206 3915 aaronmk
            <taxonoccurrence>
207
                <aggregateoccurrence>
208
                    <collectiondate>
209
                        <_date>
210
                            <date>
211 4043 aaronmk
                                <_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 3915 aaronmk
                            </date>
235
                        </_date>
236
                    </collectiondate>
237 3982 aaronmk
                    <count>$IndividualCount</count>
238 3912 aaronmk
                    <notes>$convertednotes</notes>
239 3907 aaronmk
                    <plantobservation>
240 4043 aaronmk
                        <authorplantcode>$CollectorNumber</authorplantcode>
241 3907 aaronmk
                        <specimenreplicate>
242 4057 aaronmk
                            <catalognumber_dwc><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></catalognumber_dwc>
243 4043 aaronmk
                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
244
                            <collectionnumber>$CollectorNumber</collectionnumber>
245 3907 aaronmk
                            <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
246
                        </specimenreplicate>
247
                    </plantobservation>
248
                </aggregateoccurrence>
249 4046 aaronmk
                <sourceaccessioncode>
250
                    <_alt>
251
                        <2><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></2>
252
                        <3>$CollectorNumber</3>
253
                    </_alt>
254
                </sourceaccessioncode>
255 3786 aaronmk
                <taxondetermination>
256 3980 aaronmk
                    <isoriginal>true</isoriginal>
257 3786 aaronmk
                    <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 3780 aaronmk
                                <_simplifyPath>
269 3786 aaronmk
                                    <next>parent_id/plantname</next>
270
                                    <require>plantname</require>
271 3780 aaronmk
                                    <path>
272 3641 aaronmk
                                        <plantname>
273 3786 aaronmk
                                            <rank>binomial</rank>
274
                                            <plantname>$ScientificName</plantname>
275 3641 aaronmk
                                            <parent_id>
276
                                                <plantname>
277 3786 aaronmk
                                                    <rank>authority</rank>
278
                                                    <plantname>$ScientificNameAuthor</plantname>
279 3641 aaronmk
                                                    <parent_id>
280
                                                        <plantname>
281 3786 aaronmk
                                                            <rank>subspecies</rank>
282
                                                            <plantname>$Subspecies</plantname>
283 3641 aaronmk
                                                            <parent_id>
284
                                                                <plantname>
285 3786 aaronmk
                                                                    <rank>species</rank>
286
                                                                    <plantname>$species</plantname>
287 3641 aaronmk
                                                                    <parent_id>
288
                                                                        <plantname>
289 3786 aaronmk
                                                                            <rank>genus</rank>
290
                                                                            <plantname>$genus</plantname>
291 3641 aaronmk
                                                                            <parent_id>
292
                                                                                <plantname>
293 3786 aaronmk
                                                                                    <rank>family</rank>
294
                                                                                    <plantname>$family</plantname>
295 3641 aaronmk
                                                                                    <parent_id>
296
                                                                                        <plantname>
297 3786 aaronmk
                                                                                            <rank>order</rank>
298 3641 aaronmk
                                                                                            <parent_id>
299
                                                                                                <plantname>
300 3786 aaronmk
                                                                                                    <rank>class</rank>
301 3641 aaronmk
                                                                                                    <parent_id>
302
                                                                                                        <plantname>
303 3786 aaronmk
                                                                                                            <rank>subkingdom</rank>
304
                                                                                                            <parent_id>
305
                                                                                                                <plantname>
306
                                                                                                                    <rank>kingdom</rank>
307
                                                                                                                    <plantname>$Kingdom</plantname>
308
                                                                                                                </plantname>
309
                                                                                                            </parent_id>
310 3641 aaronmk
                                                                                                        </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 3786 aaronmk
                                    </path>
328
                                </_simplifyPath>
329
                            </plantname_id>
330
                        </plantconcept>
331
                    </plantconcept_id>
332
                </taxondetermination>
333 3934 aaronmk
                <verbatimcollectorname>$Collector</verbatimcollectorname>
334 3907 aaronmk
            </taxonoccurrence>
335 3786 aaronmk
        </locationevent>
336 4043 aaronmk
        <locationnarrative>$Locality</locationnarrative>
337 3786 aaronmk
    </location>
338 3641 aaronmk
</VegBIEN>
339 3907 aaronmk
Inserted 38 new rows into database