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 3919 aaronmk
                                <_dateRangeStart>
160
                                    <value>
161
                                        <_alt>
162
                                            <1>
163
                                                <_date>
164
                                                    <day>
165
                                                        <_nullIf>
166
                                                            <null>0</null>
167
                                                            <type>float</type>
168
                                                            <value>$DayCollected</value>
169
                                                        </_nullIf>
170
                                                    </day>
171
                                                    <month>
172
                                                        <_nullIf>
173
                                                            <null>0</null>
174
                                                            <type>float</type>
175
                                                            <value>$MonthCollected</value>
176
                                                        </_nullIf>
177
                                                    </month>
178
                                                    <year>
179
                                                        <_nullIf>
180
                                                            <null>0</null>
181
                                                            <type>float</type>
182
                                                            <value>$YearCollected</value>
183
                                                        </_nullIf>
184
                                                    </year>
185
                                                </_date>
186
                                            </1>
187
                                        </_alt>
188
                                    </value>
189
                                </_dateRangeStart>
190 3915 aaronmk
                            </date>
191
                        </_date>
192
                    </collectiondate>
193 3982 aaronmk
                    <count>$IndividualCount</count>
194 3912 aaronmk
                    <notes>$Notes</notes>
195 3907 aaronmk
                    <plantobservation>
196 4007 aaronmk
                        <authorplantcode><_alt><1>$CollectorNumber</1></_alt></authorplantcode>
197 3914 aaronmk
                        <definedvalue fkey="tablerecord_id">
198
                            <userdefined_id>
199
                                <userdefined>
200
                                    <tablename>plantobservation</tablename>
201
                                    <userdefinedname>sex</userdefinedname>
202
                                </userdefined>
203
                            </userdefined_id>
204
                            <definedvalue>$Sex</definedvalue>
205
                        </definedvalue>
206 3907 aaronmk
                        <specimenreplicate>
207 3946 aaronmk
                            <_if name="if indirect voucher"><else><catalognumber_dwc>$CatalogNumber</catalognumber_dwc></else></_if>
208 3962 aaronmk
                            <collectioncode_dwc><_alt><1>$CollectionCode</1></_alt></collectioncode_dwc>
209 3973 aaronmk
                            <collectionnumber><_alt><1>$CollectorNumber</1></_alt></collectionnumber>
210 3907 aaronmk
                            <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
211
                        </specimenreplicate>
212
                    </plantobservation>
213
                </aggregateoccurrence>
214 4007 aaronmk
                <sourceaccessioncode><_alt><2><_alt><1>$CollectorNumber</1></_alt></2></_alt></sourceaccessioncode>
215 3786 aaronmk
                <taxondetermination>
216 3980 aaronmk
                    <isoriginal>true</isoriginal>
217 3786 aaronmk
                    <role>identifier</role>
218 3979 aaronmk
                    <party_id>
219
                        <party>
220
                            <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
221
                            <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
222
                            <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
223
                        </party>
224
                    </party_id>
225 3786 aaronmk
                    <plantconcept_id>
226
                        <plantconcept>
227
                            <plantname_id>
228
                                <_simplifyPath>
229
                                    <next>parent_id/plantname</next>
230
                                    <require>plantname</require>
231
                                    <path>
232 3641 aaronmk
                                        <plantname>
233 3786 aaronmk
                                            <rank>binomial</rank>
234
                                            <plantname>$ScientificName</plantname>
235 3641 aaronmk
                                            <parent_id>
236
                                                <plantname>
237 3786 aaronmk
                                                    <rank>authority</rank>
238
                                                    <plantname>$ScientificNameAuthor</plantname>
239 3641 aaronmk
                                                    <parent_id>
240
                                                        <plantname>
241 3786 aaronmk
                                                            <rank>subspecies</rank>
242
                                                            <plantname>$Subspecies</plantname>
243 3641 aaronmk
                                                            <parent_id>
244
                                                                <plantname>
245 3786 aaronmk
                                                                    <rank>species</rank>
246
                                                                    <plantname>$Species</plantname>
247 3641 aaronmk
                                                                    <parent_id>
248
                                                                        <plantname>
249 3786 aaronmk
                                                                            <rank>genus</rank>
250
                                                                            <plantname>$Genus</plantname>
251 3641 aaronmk
                                                                            <parent_id>
252
                                                                                <plantname>
253 3786 aaronmk
                                                                                    <rank>family</rank>
254
                                                                                    <plantname>$Family</plantname>
255 3641 aaronmk
                                                                                    <parent_id>
256
                                                                                        <plantname>
257 3786 aaronmk
                                                                                            <rank>order</rank>
258
                                                                                            <plantname>$Order</plantname>
259 3641 aaronmk
                                                                                            <parent_id>
260
                                                                                                <plantname>
261 3786 aaronmk
                                                                                                    <rank>class</rank>
262
                                                                                                    <plantname>$Class</plantname>
263 3641 aaronmk
                                                                                                    <parent_id>
264
                                                                                                        <plantname>
265 3786 aaronmk
                                                                                                            <rank>subkingdom</rank>
266
                                                                                                            <plantname>$Phylum</plantname>
267
                                                                                                            <parent_id>
268
                                                                                                                <plantname>
269
                                                                                                                    <rank>kingdom</rank>
270
                                                                                                                    <plantname>$Kingdom</plantname>
271
                                                                                                                </plantname>
272
                                                                                                            </parent_id>
273 3641 aaronmk
                                                                                                        </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
                                                    </parent_id>
287
                                                </plantname>
288
                                            </parent_id>
289
                                        </plantname>
290 3786 aaronmk
                                    </path>
291
                                </_simplifyPath>
292
                            </plantname_id>
293
                        </plantconcept>
294
                    </plantconcept_id>
295 3980 aaronmk
                    <determinationdate>
296
                        <_date>
297
                            <date>
298
                                <_dateRangeStart>
299
                                    <value>
300
                                        <_alt>
301
                                            <1>
302
                                                <_date>
303
                                                    <day>
304
                                                        <_nullIf>
305
                                                            <null>0</null>
306
                                                            <type>float</type>
307
                                                            <value>$DayIdentified</value>
308
                                                        </_nullIf>
309
                                                    </day>
310
                                                    <month>
311
                                                        <_nullIf>
312
                                                            <null>0</null>
313
                                                            <type>float</type>
314
                                                            <value>$MonthIdentified</value>
315
                                                        </_nullIf>
316
                                                    </month>
317
                                                    <year>
318
                                                        <_nullIf>
319
                                                            <null>0</null>
320
                                                            <type>float</type>
321
                                                            <value>$YearIdentified</value>
322
                                                        </_nullIf>
323
                                                    </year>
324
                                                </_date>
325
                                            </1>
326
                                        </_alt>
327
                                    </value>
328
                                </_dateRangeStart>
329
                            </date>
330
                        </_date>
331
                    </determinationdate>
332 3786 aaronmk
                </taxondetermination>
333 3934 aaronmk
                <verbatimcollectorname>$Collector</verbatimcollectorname>
334 3907 aaronmk
            </taxonoccurrence>
335 3786 aaronmk
            <waterdepth>
336
                <_avg>
337
                    <max>
338
                        <_units>
339
                            <default>m</default>
340
                            <to>m</to>
341
                            <to></to>
342 3984 aaronmk
                            <value>
343
                                <_replace>
344
                                    <\bca\.?></\bca\.?>
345
                                    <value>$MaximumDepth</value>
346
                                </_replace>
347
                            </value>
348 3786 aaronmk
                        </_units>
349
                    </max>
350
                    <min>
351
                        <_units>
352
                            <default>m</default>
353
                            <to>m</to>
354
                            <to></to>
355 3984 aaronmk
                            <value>
356
                                <_replace>
357
                                    <\bca\.?></\bca\.?>
358
                                    <value>$MinimumDepth</value>
359
                                </_replace>
360
                            </value>
361 3786 aaronmk
                        </_units>
362
                    </min>
363
                </_avg>
364
            </waterdepth>
365
        </locationevent>
366
        <locationnarrative><_merge><1>$Locality</1></_merge></locationnarrative>
367
    </location>
368 3641 aaronmk
</VegBIEN>
369 3907 aaronmk
Inserted 47 new rows into database