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 4076 aaronmk
                        <collectionnumber>$CollectorNumber</collectionnumber>
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 3907 aaronmk
                            <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
245
                        </specimenreplicate>
246
                    </plantobservation>
247
                </aggregateoccurrence>
248 4073 aaronmk
                <authortaxoncode>$CollectorNumber</authortaxoncode>
249 3786 aaronmk
                <taxondetermination>
250 3980 aaronmk
                    <isoriginal>true</isoriginal>
251 3786 aaronmk
                    <role>identifier</role>
252
                    <party_id>
253
                        <party>
254
                            <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
255
                            <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
256
                            <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
257
                        </party>
258
                    </party_id>
259
                    <plantconcept_id>
260
                        <plantconcept>
261
                            <plantname_id>
262 3780 aaronmk
                                <_simplifyPath>
263 3786 aaronmk
                                    <next>parent_id/plantname</next>
264
                                    <require>plantname</require>
265 3780 aaronmk
                                    <path>
266 3641 aaronmk
                                        <plantname>
267 3786 aaronmk
                                            <rank>binomial</rank>
268
                                            <plantname>$ScientificName</plantname>
269 3641 aaronmk
                                            <parent_id>
270
                                                <plantname>
271 3786 aaronmk
                                                    <rank>authority</rank>
272
                                                    <plantname>$ScientificNameAuthor</plantname>
273 3641 aaronmk
                                                    <parent_id>
274
                                                        <plantname>
275 3786 aaronmk
                                                            <rank>subspecies</rank>
276
                                                            <plantname>$Subspecies</plantname>
277 3641 aaronmk
                                                            <parent_id>
278
                                                                <plantname>
279 3786 aaronmk
                                                                    <rank>species</rank>
280
                                                                    <plantname>$species</plantname>
281 3641 aaronmk
                                                                    <parent_id>
282
                                                                        <plantname>
283 3786 aaronmk
                                                                            <rank>genus</rank>
284
                                                                            <plantname>$genus</plantname>
285 3641 aaronmk
                                                                            <parent_id>
286
                                                                                <plantname>
287 3786 aaronmk
                                                                                    <rank>family</rank>
288
                                                                                    <plantname>$family</plantname>
289 3641 aaronmk
                                                                                    <parent_id>
290
                                                                                        <plantname>
291 3786 aaronmk
                                                                                            <rank>order</rank>
292 3641 aaronmk
                                                                                            <parent_id>
293
                                                                                                <plantname>
294 3786 aaronmk
                                                                                                    <rank>class</rank>
295 3641 aaronmk
                                                                                                    <parent_id>
296
                                                                                                        <plantname>
297 3786 aaronmk
                                                                                                            <rank>subkingdom</rank>
298
                                                                                                            <parent_id>
299
                                                                                                                <plantname>
300
                                                                                                                    <rank>kingdom</rank>
301
                                                                                                                    <plantname>$Kingdom</plantname>
302
                                                                                                                </plantname>
303
                                                                                                            </parent_id>
304 3641 aaronmk
                                                                                                        </plantname>
305
                                                                                                    </parent_id>
306
                                                                                                </plantname>
307
                                                                                            </parent_id>
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 3786 aaronmk
                                    </path>
322
                                </_simplifyPath>
323
                            </plantname_id>
324
                        </plantconcept>
325
                    </plantconcept_id>
326
                </taxondetermination>
327 3934 aaronmk
                <verbatimcollectorname>$Collector</verbatimcollectorname>
328 3907 aaronmk
            </taxonoccurrence>
329 3786 aaronmk
        </locationevent>
330 4043 aaronmk
        <locationnarrative>$Locality</locationnarrative>
331 3786 aaronmk
    </location>
332 3641 aaronmk
</VegBIEN>
333 3907 aaronmk
Inserted 38 new rows into database