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><_alt><1>$coordinateUncertaintyInMeters</1></_alt></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>
113
                                <_alt>
114
                                    <0>$decimalLatitude</0>
115
                                    <1>$verbatimLatitude</1>
116
                                </_alt>
117
                            </value>
118
                        </_nullIf>
119
                    </1>
120
                </_alt>
121
            </latitude>
122
            <longitude>
123
                <_alt>
124
                    <1>
125
                        <_nullIf>
126
                            <null>0</null>
127
                            <type>float</type>
128
                            <value>
129
                                <_alt>
130
                                    <0>$decimalLongitude</0>
131
                                    <1>$verbatimLongitude</1>
132
                                </_alt>
133
                            </value>
134
                        </_nullIf>
135
                    </1>
136
                </_alt>
137
            </longitude>
138
            <namedplace_id>
139
                <_simplifyPath>
140
                    <next>parent_id/namedplace</next>
141
                    <require>placename</require>
142
                    <path>
143
                        <namedplace>
144
                            <rank>county</rank>
145
                            <placename>$county</placename>
146
                            <parent_id>
147
                                <namedplace>
148
                                    <rank>stateProvince</rank>
149
                                    <placename>$stateProvince</placename>
150
                                    <parent_id>
151
                                        <namedplace>
152
                                            <rank>country</rank>
153
                                            <placename>$country</placename>
154
                                            <parent_id>
155
                                                <namedplace>
156
                                                    <rank>continent</rank>
157
                                                    <placename>$continent</placename>
158
                                                </namedplace>
159
                                            </parent_id>
160
                                        </namedplace>
161
                                    </parent_id>
162
                                </namedplace>
163
                            </parent_id>
164
                        </namedplace>
165
                    </path>
166
                </_simplifyPath>
167
            </namedplace_id>
168
        </locationdetermination>
169
        <locationevent>
170
            <method_id><method><name>$samplingProtocol</name></method></method_id>
171
            <taxonoccurrence>
172
                <aggregateoccurrence>
173
                    <collectiondate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></collectiondate>
174
                    <count>$individualCount</count>
175
                    <plantobservation>
176
                        <definedvalue fkey="tablerecord_id">
177
                            <userdefined_id>
178
                                <userdefined>
179
                                    <tablename>plantobservation</tablename>
180
                                    <userdefinedname>sex</userdefinedname>
181
                                </userdefined>
182
                            </userdefined_id>
183
                            <definedvalue>$sex</definedvalue>
184
                        </definedvalue>
185
                        <sourceaccessioncode>$id</sourceaccessioncode>
186
                        <specimenreplicate>
187
                            <_if name="if indirect voucher"><else><catalognumber_dwc>$catalogNumber</catalognumber_dwc></else></_if>
188
                            <collectioncode_dwc>
189
                                <_alt>
190
                                    <1>$collectionCode</1>
191
                                    <2>$collectionID</2>
192
                                </_alt>
193
                            </collectioncode_dwc>
194
                            <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
195
                            <sourceaccessioncode>$id</sourceaccessioncode>
196
                        </specimenreplicate>
197
                    </plantobservation>
198
                </aggregateoccurrence>
199
                <sourceaccessioncode><_alt><1>$id</1></_alt></sourceaccessioncode>
200
                <taxondetermination>
201
                    <isoriginal>true</isoriginal>
202
                    <role>identifier</role>
203
                    <party_id>
204
                        <party>
205
                            <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
206
                            <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
207
                            <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
208
                        </party>
209
                    </party_id>
210
                    <plantconcept_id>
211
                        <plantconcept>
212
                            <plantname_id>
213
                                <_simplifyPath>
214
                                    <next>parent_id/plantname</next>
215
                                    <require>plantname</require>
216
                                    <path>
217
                                        <plantname>
218
                                            <rank>binomial</rank>
219
                                            <plantname>$scientificName</plantname>
220
                                            <parent_id>
221
                                                <plantname>
222
                                                    <rank>authority</rank>
223
                                                    <plantname>$scientificNameAuthorship</plantname>
224
                                                    <parent_id>
225
                                                        <plantname>
226
                                                            <rank>subspecies</rank>
227
                                                            <plantname>$infraspecificEpithet</plantname>
228
                                                            <parent_id>
229
                                                                <plantname>
230
                                                                    <rank>species</rank>
231
                                                                    <plantname>$specificEpithet</plantname>
232
                                                                    <parent_id>
233
                                                                        <plantname>
234
                                                                            <rank>genus</rank>
235
                                                                            <plantname>$genus</plantname>
236
                                                                            <parent_id>
237
                                                                                <plantname>
238
                                                                                    <rank>family</rank>
239
                                                                                    <plantname>$family</plantname>
240
                                                                                    <parent_id>
241
                                                                                        <plantname>
242
                                                                                            <rank>order</rank>
243
                                                                                            <plantname>$order</plantname>
244
                                                                                            <parent_id>
245
                                                                                                <plantname>
246
                                                                                                    <rank>class</rank>
247
                                                                                                    <plantname>$class</plantname>
248
                                                                                                    <parent_id>
249
                                                                                                        <plantname>
250
                                                                                                            <rank>subkingdom</rank>
251
                                                                                                            <plantname>$phylum</plantname>
252
                                                                                                            <parent_id>
253
                                                                                                                <plantname>
254
                                                                                                                    <rank>kingdom</rank>
255
                                                                                                                    <plantname>$kingdom</plantname>
256
                                                                                                                </plantname>
257
                                                                                                            </parent_id>
258
                                                                                                        </plantname>
259
                                                                                                    </parent_id>
260
                                                                                                </plantname>
261
                                                                                            </parent_id>
262
                                                                                        </plantname>
263
                                                                                    </parent_id>
264
                                                                                </plantname>
265
                                                                            </parent_id>
266
                                                                        </plantname>
267
                                                                    </parent_id>
268
                                                                </plantname>
269
                                                            </parent_id>
270
                                                        </plantname>
271
                                                    </parent_id>
272
                                                </plantname>
273
                                            </parent_id>
274
                                        </plantname>
275
                                    </path>
276
                                </_simplifyPath>
277
                            </plantname_id>
278
                        </plantconcept>
279
                    </plantconcept_id>
280
                    <determinationdate><_date><date><_dateRangeStart><value><_alt><2>$dateIdentified</2></_alt></value></_dateRangeStart></date></_date></determinationdate>
281
                    <taxonfit>$identificationQualifier</taxonfit>
282
                </taxondetermination>
283
                <verbatimcollectorname>$recordedBy</verbatimcollectorname>
284
            </taxonoccurrence>
285
        </locationevent>
286
        <locationnarrative>
287
            <_merge>
288
                <1>$locality</1>
289
                <3>
290
                    <_label>
291
                        <label>habitat</label>
292
                        <value>$habitat</value>
293
                    </_label>
294
                </3>
295
            </_merge>
296
        </locationnarrative>
297
        <sourceaccessioncode><_alt><1>$id</1></_alt></sourceaccessioncode>
298
    </location>
299
</VegBIEN>
300
Inserted 34 new rows into database
    (1-1/1)