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