Project

General

Profile

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