Project

General

Profile

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