Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <specimenreplicate id="-1">
4
        <locationevent_id>
5
            <locationevent>
6
                <location_id>
7
                    <location>
8
                        <locationdetermination>
9
                            <coordsaccuracy><_noCV><value><_alt><1>$coordinateUncertaintyInMeters</1></_alt></value></_noCV></coordsaccuracy>
10
                            <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
11
                            <latitude>
12
                                <_alt>
13
                                    <1>
14
                                        <_nullIf>
15
                                            <null>0</null>
16
                                            <type>float</type>
17
                                            <value>
18
                                                <_alt>
19
                                                    <0>$decimalLatitude</0>
20
                                                    <1>$verbatimLatitude</1>
21
                                                </_alt>
22
                                            </value>
23
                                        </_nullIf>
24
                                    </1>
25
                                </_alt>
26
                            </latitude>
27
                            <longitude>
28
                                <_alt>
29
                                    <1>
30
                                        <_nullIf>
31
                                            <null>0</null>
32
                                            <type>float</type>
33
                                            <value>
34
                                                <_alt>
35
                                                    <0>$decimalLongitude</0>
36
                                                    <1>$verbatimLongitude</1>
37
                                                </_alt>
38
                                            </value>
39
                                        </_nullIf>
40
                                    </1>
41
                                </_alt>
42
                            </longitude>
43
                            <namedplace_id>
44
                                <_simplifyPath>
45
                                    <next>parent_id/namedplace</next>
46
                                    <require>placename</require>
47
                                    <path>
48
                                        <namedplace>
49
                                            <rank>county</rank>
50
                                            <placename>$county</placename>
51
                                            <parent_id>
52
                                                <namedplace>
53
                                                    <rank>stateProvince</rank>
54
                                                    <placename>$stateProvince</placename>
55
                                                    <parent_id>
56
                                                        <namedplace>
57
                                                            <rank>country</rank>
58
                                                            <placename>$country</placename>
59
                                                            <parent_id>
60
                                                                <namedplace>
61
                                                                    <rank>continent</rank>
62
                                                                    <placename>$continent</placename>
63
                                                                </namedplace>
64
                                                            </parent_id>
65
                                                        </namedplace>
66
                                                    </parent_id>
67
                                                </namedplace>
68
                                            </parent_id>
69
                                        </namedplace>
70
                                    </path>
71
                                </_simplifyPath>
72
                            </namedplace_id>
73
                        </locationdetermination>
74
                        <locationnarrative>
75
                            <_merge>
76
                                <1>$locality</1>
77
                                <3>
78
                                    <_label>
79
                                        <label>habitat</label>
80
                                        <value>$habitat</value>
81
                                    </_label>
82
                                </3>
83
                            </_merge>
84
                        </locationnarrative>
85
                        <elevation>
86
                            <_alt>
87
                                <2>
88
                                    <_avg>
89
                                        <min>
90
                                            <_units>
91
                                                <default>m</default>
92
                                                <to>m</to>
93
                                                <to></to>
94
                                                <value>
95
                                                    <_rangeStart>
96
                                                        <value>
97
                                                            <_replace>
98
                                                                <\bca\.?></\bca\.?>
99
                                                                <value>$minimumElevationInMeters</value>
100
                                                            </_replace>
101
                                                        </value>
102
                                                    </_rangeStart>
103
                                                </value>
104
                                            </_units>
105
                                        </min>
106
                                        <max>
107
                                            <_units>
108
                                                <default>m</default>
109
                                                <to>m</to>
110
                                                <to></to>
111
                                                <value>$maximumElevationInMeters</value>
112
                                            </_units>
113
                                        </max>
114
                                    </_avg>
115
                                </2>
116
                            </_alt>
117
                        </elevation>
118
                        <elevationrange>
119
                            <_range>
120
                                <from>
121
                                    <_units>
122
                                        <default>m</default>
123
                                        <to>m</to>
124
                                        <to></to>
125
                                        <value>
126
                                            <_rangeStart>
127
                                                <value>
128
                                                    <_replace>
129
                                                        <\bca\.?></\bca\.?>
130
                                                        <value>$minimumElevationInMeters</value>
131
                                                    </_replace>
132
                                                </value>
133
                                            </_rangeStart>
134
                                        </value>
135
                                    </_units>
136
                                </from>
137
                                <to>
138
                                    <_units>
139
                                        <default>m</default>
140
                                        <to>m</to>
141
                                        <to></to>
142
                                        <value>
143
                                            <_alt>
144
                                                <2>
145
                                                    <_rangeEnd>
146
                                                        <value>
147
                                                            <_replace>
148
                                                                <\bca\.?></\bca\.?>
149
                                                                <value>$minimumElevationInMeters</value>
150
                                                            </_replace>
151
                                                        </value>
152
                                                    </_rangeEnd>
153
                                                </2>
154
                                                <1>$maximumElevationInMeters</1>
155
                                            </_alt>
156
                                        </value>
157
                                    </_units>
158
                                </to>
159
                            </_range>
160
                        </elevationrange>
161
                        <sourceaccessioncode>
162
                            <_alt>
163
                                <2>
164
                                    <_merge>
165
                                        <3>$catalogNumber</3>
166
                                        <2>$collectionCode</2>
167
                                        <1>$institutionCode</1>
168
                                    </_merge>
169
                                </2>
170
                                <1>$id</1>
171
                            </_alt>
172
                        </sourceaccessioncode>
173
                    </location>
174
                </location_id>
175
                <obsstartdate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></obsstartdate>
176
                <obsenddate><_date><date><_dateRangeEnd><value><_alt><2>$eventDate</2></_alt></value></_dateRangeEnd></date></_date></obsenddate>
177
            </locationevent>
178
        </locationevent_id>
179
        <collectionnumber><_alt><2>$collectionID</2></_alt></collectionnumber>
180
        <definedvalue fkey="tablerecord_id">
181
            <userdefined_id>
182
                <userdefined>
183
                    <tablename>specimenreplicate</tablename>
184
                    <userdefinedname>sex</userdefinedname>
185
                </userdefined>
186
            </userdefined_id>
187
            <definedvalue>$sex</definedvalue>
188
        </definedvalue>
189
        <taxondetermination>
190
            <role>identifier</role>
191
            <determinationdate><_date><date><_dateRangeStart><value><_alt><2>$dateIdentified</2></_alt></value></_dateRangeStart></date></_date></determinationdate>
192
            <iscurrent>true</iscurrent>
193
            <party_id>
194
                <party>
195
                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
196
                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
197
                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
198
                </party>
199
            </party_id>
200
            <isoriginal>true</isoriginal>
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
        </taxondetermination>
272
        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
273
        <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
274
        <collectioncode_dwc>$collectionCode</collectioncode_dwc>
275
        <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
276
        <sourceaccessioncode>$id</sourceaccessioncode>
277
    </specimenreplicate>
278
</VegBIEN>
279
Inserted 28 new rows into database
    (1-1/1)