Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_merge>
6
                <1>$institutionCode</1>
7
                <2>
8
                    <_merge>
9
                        <1>$collectionCode</1>
10
                        <2>$collectionID</2>
11
                    </_merge>
12
                </2>
13
                <3><_if name="if indirect voucher"><else>$catalogNumber</else></_if></3>
14
            </_merge>
15
        </authorlocationcode>
16
        <elevation>
17
            <_alt>
18
                <1>
19
                    <_replace>
20
                        <\bca\.?></\bca\.?>
21
                        <value>$verbatimElevation</value>
22
                    </_replace>
23
                </1>
24
                <2>
25
                    <_avg>
26
                        <max>
27
                            <_units>
28
                                <default>m</default>
29
                                <to>m</to>
30
                                <to></to>
31
                                <value>
32
                                    <_replace>
33
                                        <\bca\.?></\bca\.?>
34
                                        <value>$maximumElevationInMeters</value>
35
                                    </_replace>
36
                                </value>
37
                            </_units>
38
                        </max>
39
                        <min>
40
                            <_units>
41
                                <default>m</default>
42
                                <to>m</to>
43
                                <to></to>
44
                                <value>
45
                                    <_rangeStart>
46
                                        <value>
47
                                            <_replace>
48
                                                <\bca\.?></\bca\.?>
49
                                                <value>$minimumElevationInMeters</value>
50
                                            </_replace>
51
                                        </value>
52
                                    </_rangeStart>
53
                                </value>
54
                            </_units>
55
                        </min>
56
                    </_avg>
57
                </2>
58
            </_alt>
59
        </elevation>
60
        <elevationrange>
61
            <_range>
62
                <from>
63
                    <_units>
64
                        <default>m</default>
65
                        <to>m</to>
66
                        <to></to>
67
                        <value>
68
                            <_rangeStart>
69
                                <value>
70
                                    <_replace>
71
                                        <\bca\.?></\bca\.?>
72
                                        <value>$minimumElevationInMeters</value>
73
                                    </_replace>
74
                                </value>
75
                            </_rangeStart>
76
                        </value>
77
                    </_units>
78
                </from>
79
                <to>
80
                    <_units>
81
                        <default>m</default>
82
                        <to>m</to>
83
                        <to></to>
84
                        <value>
85
                            <_alt>
86
                                <1>
87
                                    <_replace>
88
                                        <\bca\.?></\bca\.?>
89
                                        <value>$maximumElevationInMeters</value>
90
                                    </_replace>
91
                                </1>
92
                                <2>
93
                                    <_rangeEnd>
94
                                        <value>
95
                                            <_replace>
96
                                                <\bca\.?></\bca\.?>
97
                                                <value>$minimumElevationInMeters</value>
98
                                            </_replace>
99
                                        </value>
100
                                    </_rangeEnd>
101
                                </2>
102
                            </_alt>
103
                        </value>
104
                    </_units>
105
                </to>
106
            </_range>
107
        </elevationrange>
108
        <locationdetermination>
109
            <coordsaccuracy><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy>
110
            <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
111
            <latitude>
112
                <_alt>
113
                    <1>
114
                        <_nullIf>
115
                            <null>0</null>
116
                            <type>float</type>
117
                            <value>$decimalLatitude</value>
118
                        </_nullIf>
119
                    </1>
120
                    <2>
121
                        <_nullIf>
122
                            <null>0</null>
123
                            <type>float</type>
124
                            <value>$verbatimLatitude</value>
125
                        </_nullIf>
126
                    </2>
127
                </_alt>
128
            </latitude>
129
            <longitude>
130
                <_alt>
131
                    <1>
132
                        <_nullIf>
133
                            <null>0</null>
134
                            <type>float</type>
135
                            <value>$decimalLongitude</value>
136
                        </_nullIf>
137
                    </1>
138
                    <2>
139
                        <_nullIf>
140
                            <null>0</null>
141
                            <type>float</type>
142
                            <value>$verbatimLongitude</value>
143
                        </_nullIf>
144
                    </2>
145
                </_alt>
146
            </longitude>
147
            <namedplace_id>
148
                <_simplifyPath>
149
                    <next>parent_id/namedplace</next>
150
                    <require>placename</require>
151
                    <path>
152
                        <namedplace>
153
                            <rank>county</rank>
154
                            <placename>$county</placename>
155
                            <parent_id>
156
                                <namedplace>
157
                                    <rank>stateProvince</rank>
158
                                    <placename>$stateProvince</placename>
159
                                    <parent_id>
160
                                        <namedplace>
161
                                            <rank>country</rank>
162
                                            <placename>$country</placename>
163
                                            <parent_id>
164
                                                <namedplace>
165
                                                    <rank>continent</rank>
166
                                                    <placename>$continent</placename>
167
                                                </namedplace>
168
                                            </parent_id>
169
                                        </namedplace>
170
                                    </parent_id>
171
                                </namedplace>
172
                            </parent_id>
173
                        </namedplace>
174
                    </path>
175
                </_simplifyPath>
176
            </namedplace_id>
177
        </locationdetermination>
178
        <locationevent>
179
            <method_id><method><name>$samplingProtocol</name></method></method_id>
180
            <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
181
            <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
182
            <taxonoccurrence>
183
                <aggregateoccurrence>
184
                    <count>$individualCount</count>
185
                    <plantobservation>
186
                        <definedvalue fkey="tablerecord_id">
187
                            <userdefined_id>
188
                                <userdefined>
189
                                    <tablename>plantobservation</tablename>
190
                                    <userdefinedname>sex</userdefinedname>
191
                                </userdefined>
192
                            </userdefined_id>
193
                            <definedvalue>$sex</definedvalue>
194
                        </definedvalue>
195
                        <sourceaccessioncode>$id</sourceaccessioncode>
196
                        <specimenreplicate>
197
                            <catalognumber_dwc><_if name="if indirect voucher"><else>$catalogNumber</else></_if></catalognumber_dwc>
198
                            <collectioncode_dwc>
199
                                <_merge>
200
                                    <1>$collectionCode</1>
201
                                    <2>$collectionID</2>
202
                                </_merge>
203
                            </collectioncode_dwc>
204
                            <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
205
                            <sourceaccessioncode>$id</sourceaccessioncode>
206
                        </specimenreplicate>
207
                    </plantobservation>
208
                </aggregateoccurrence>
209
                <sourceaccessioncode>
210
                    <_alt>
211
                        <1>$id</1>
212
                        <2><_if name="if indirect voucher"><else>$catalogNumber</else></_if></2>
213
                    </_alt>
214
                </sourceaccessioncode>
215
                <taxondetermination>
216
                    <isoriginal>true</isoriginal>
217
                    <role>identifier</role>
218
                    <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
                    <plantconcept_id>
226
                        <plantconcept>
227
                            <plantname_id>
228
                                <_simplifyPath>
229
                                    <next>parent_id/plantname</next>
230
                                    <require>plantname</require>
231
                                    <path>
232
                                        <plantname>
233
                                            <rank>binomial</rank>
234
                                            <plantname>$scientificName</plantname>
235
                                            <parent_id>
236
                                                <plantname>
237
                                                    <rank>authority</rank>
238
                                                    <plantname>$scientificNameAuthorship</plantname>
239
                                                    <parent_id>
240
                                                        <plantname>
241
                                                            <rank>subspecies</rank>
242
                                                            <plantname>$infraspecificEpithet</plantname>
243
                                                            <parent_id>
244
                                                                <plantname>
245
                                                                    <rank>species</rank>
246
                                                                    <plantname>$specificEpithet</plantname>
247
                                                                    <parent_id>
248
                                                                        <plantname>
249
                                                                            <rank>genus</rank>
250
                                                                            <plantname>$genus</plantname>
251
                                                                            <parent_id>
252
                                                                                <plantname>
253
                                                                                    <rank>family</rank>
254
                                                                                    <plantname>$family</plantname>
255
                                                                                    <parent_id>
256
                                                                                        <plantname>
257
                                                                                            <rank>order</rank>
258
                                                                                            <plantname>$order</plantname>
259
                                                                                            <parent_id>
260
                                                                                                <plantname>
261
                                                                                                    <rank>class</rank>
262
                                                                                                    <plantname>$class</plantname>
263
                                                                                                    <parent_id>
264
                                                                                                        <plantname>
265
                                                                                                            <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
                                                                                                        </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
                                    </path>
291
                                </_simplifyPath>
292
                            </plantname_id>
293
                        </plantconcept>
294
                    </plantconcept_id>
295
                    <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
296
                    <taxonfit>$identificationQualifier</taxonfit>
297
                </taxondetermination>
298
                <verbatimcollectorname>$recordedBy</verbatimcollectorname>
299
            </taxonoccurrence>
300
        </locationevent>
301
        <locationnarrative>
302
            <_merge>
303
                <1>$locality</1>
304
                <3>
305
                    <_label>
306
                        <label>habitat</label>
307
                        <value>$habitat</value>
308
                    </_label>
309
                </3>
310
            </_merge>
311
        </locationnarrative>
312
        <sourceaccessioncode>$id</sourceaccessioncode>
313
    </location>
314
</VegBIEN>
315
Inserted 34 new rows into database
    (1-1/1)