Project

General

Profile

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