Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>WIN</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$id</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$institutionCode</1>
16
                                        <2>
17
                                            <_join>
18
                                                <1>$collectionCode</1>
19
                                                <2>$collectionID</2>
20
                                            </_join>
21
                                        </2>
22
                                        <3>$catalogNumber</3>
23
                                    </_join>
24
                                </2>
25
                            </_alt>
26
                        </authorlocationcode>
27
                        <accessconditions>$rights</accessconditions>
28
                        <elevation_m>
29
                            <_alt>
30
                                <1>
31
                                    <_units>
32
                                        <to>m</to>
33
                                        <to></to>
34
                                        <value>$verbatimElevation</value>
35
                                    </_units>
36
                                </1>
37
                                <2><_avg><min>$minimumElevationInMeters</min></_avg></2>
38
                            </_alt>
39
                        </elevation_m>
40
                        <iscultivated>
41
                            <_locationnarrative_is_cultivated>
42
                                <locationnarrative>
43
                                    <_join>
44
                                        <1>$locality</1>
45
                                        <3>$habitat</3>
46
                                    </_join>
47
                                </locationnarrative>
48
                            </_locationnarrative_is_cultivated>
49
                        </iscultivated>
50
                        <locationevent>
51
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
52
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
53
                            <taxonoccurrence>
54
                                <aggregateoccurrence>
55
                                    <plantobservation>
56
                                        <collectionnumber>$recordNumber</collectionnumber>
57
                                        <specimenreplicate>
58
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
59
                                            <collectioncode_dwc>
60
                                                <_join>
61
                                                    <1>$collectionCode</1>
62
                                                    <2>$collectionID</2>
63
                                                </_join>
64
                                            </collectioncode_dwc>
65
                                            <institution_id>
66
                                                <sourcelist>
67
                                                    <name>$institutionCode</name>
68
                                                    <sourcename>
69
                                                        <name>
70
                                                            <_split>
71
                                                                <separator>, </separator>
72
                                                                <value>$institutionCode</value>
73
                                                            </_split>
74
                                                        </name>
75
                                                    </sourcename>
76
                                                </sourcelist>
77
                                            </institution_id>
78
                                            <sourceaccessioncode>$id</sourceaccessioncode>
79
                                        </specimenreplicate>
80
                                    </plantobservation>
81
                                </aggregateoccurrence>
82
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
83
                                <sourceaccessioncode>$id</sourceaccessioncode>
84
                                <taxondetermination>
85
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
86
                                    <taxonverbatim_id>
87
                                        <taxonverbatim>
88
                                            <taxonlabel_id>
89
                                                <taxonlabel>
90
                                                    <matched_label_id>
91
                                                        <taxonlabel>
92
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
93
                                                            <taxonomicname>
94
                                                                <_alt>
95
                                                                    <1>$scientificName</1>
96
                                                                    <2>
97
                                                                        <_join_words>
98
                                                                            <1>
99
                                                                                <_join_words>
100
                                                                                    <2>$genus</2>
101
                                                                                    <3>$specificEpithet</3>
102
                                                                                    <5>
103
                                                                                        <_join_words>
104
                                                                                            <1>
105
                                                                                                <_if name="if has infraspecificEpithet">
106
                                                                                                    <cond>$infraspecificEpithet</cond>
107
                                                                                                    <then>$taxonRank</then>
108
                                                                                                </_if>
109
                                                                                            </1>
110
                                                                                            <2>$infraspecificEpithet</2>
111
                                                                                        </_join_words>
112
                                                                                    </5>
113
                                                                                </_join_words>
114
                                                                            </1>
115
                                                                            <2>$scientificNameAuthorship</2>
116
                                                                        </_join_words>
117
                                                                    </2>
118
                                                                </_alt>
119
                                                            </taxonomicname>
120
                                                        </taxonlabel>
121
                                                    </matched_label_id>
122
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
123
                                                    <parent_id>
124
                                                        <taxonlabel>
125
                                                            <rank>$taxonRank</rank>
126
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
127
                                                            <parent_id>
128
                                                                <taxonlabel>
129
                                                                    <rank>cultivar</rank>
130
                                                                    <parent_id>
131
                                                                        <taxonlabel>
132
                                                                            <rank>forma</rank>
133
                                                                            <parent_id>
134
                                                                                <taxonlabel>
135
                                                                                    <rank>variety</rank>
136
                                                                                    <parent_id>
137
                                                                                        <taxonlabel>
138
                                                                                            <rank>subspecies</rank>
139
                                                                                            <parent_id>
140
                                                                                                <taxonlabel>
141
                                                                                                    <rank>species</rank>
142
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
143
                                                                                                    <parent_id>
144
                                                                                                        <taxonlabel>
145
                                                                                                            <rank>genus</rank>
146
                                                                                                            <taxonepithet>$genus</taxonepithet>
147
                                                                                                            <parent_id>
148
                                                                                                                <taxonlabel>
149
                                                                                                                    <rank>family</rank>
150
                                                                                                                    <parent_id>
151
                                                                                                                        <taxonlabel>
152
                                                                                                                            <rank>order</rank>
153
                                                                                                                            <parent_id>
154
                                                                                                                                <taxonlabel>
155
                                                                                                                                    <rank>class</rank>
156
                                                                                                                                    <parent_id>
157
                                                                                                                                        <taxonlabel>
158
                                                                                                                                            <rank>phylum</rank>
159
                                                                                                                                            <parent_id>
160
                                                                                                                                                <taxonlabel>
161
                                                                                                                                                    <rank>kingdom</rank>
162
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
163
                                                                                                                                                </taxonlabel>
164
                                                                                                                                            </parent_id>
165
                                                                                                                                        </taxonlabel>
166
                                                                                                                                    </parent_id>
167
                                                                                                                                </taxonlabel>
168
                                                                                                                            </parent_id>
169
                                                                                                                        </taxonlabel>
170
                                                                                                                    </parent_id>
171
                                                                                                                </taxonlabel>
172
                                                                                                            </parent_id>
173
                                                                                                        </taxonlabel>
174
                                                                                                    </parent_id>
175
                                                                                                </taxonlabel>
176
                                                                                            </parent_id>
177
                                                                                        </taxonlabel>
178
                                                                                    </parent_id>
179
                                                                                </taxonlabel>
180
                                                                            </parent_id>
181
                                                                        </taxonlabel>
182
                                                                    </parent_id>
183
                                                                </taxonlabel>
184
                                                            </parent_id>
185
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
186
                                                        </taxonlabel>
187
                                                    </parent_id>
188
                                                    <rank>$taxonRank</rank>
189
                                                    <taxonomicname>
190
                                                        <_alt>
191
                                                            <1>$scientificName</1>
192
                                                            <2>
193
                                                                <_join_words>
194
                                                                    <1>
195
                                                                        <_join_words>
196
                                                                            <2>$genus</2>
197
                                                                            <3>$specificEpithet</3>
198
                                                                            <5>
199
                                                                                <_join_words>
200
                                                                                    <1>
201
                                                                                        <_if name="if has infraspecificEpithet">
202
                                                                                            <cond>$infraspecificEpithet</cond>
203
                                                                                            <then>$taxonRank</then>
204
                                                                                        </_if>
205
                                                                                    </1>
206
                                                                                    <2>$infraspecificEpithet</2>
207
                                                                                </_join_words>
208
                                                                            </5>
209
                                                                        </_join_words>
210
                                                                    </1>
211
                                                                    <2>$scientificNameAuthorship</2>
212
                                                                </_join_words>
213
                                                            </2>
214
                                                        </_alt>
215
                                                    </taxonomicname>
216
                                                </taxonlabel>
217
                                            </taxonlabel_id>
218
                                            <author>$scientificNameAuthorship</author>
219
                                            <genus>$genus</genus>
220
                                            <specific_epithet>$specificEpithet</specific_epithet>
221
                                            <taxonomicname>$scientificName</taxonomicname>
222
                                            <verbatimrank>$taxonRank</verbatimrank>
223
                                        </taxonverbatim>
224
                                    </taxonverbatim_id>
225
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
226
                                </taxondetermination>
227
                            </taxonoccurrence>
228
                        </locationevent>
229
                        <locationnarrative>
230
                            <_merge>
231
                                <1>$locality</1>
232
                                <3>
233
                                    <_label>
234
                                        <label>habitat</label>
235
                                        <value>$habitat</value>
236
                                    </_label>
237
                                </3>
238
                            </_merge>
239
                        </locationnarrative>
240
                        <locationplace>
241
                            <place_id>
242
                                <place>
243
                                    <coordinates_id>
244
                                        <coordinates>
245
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
246
                                            <latitude_deg>
247
                                                <_nullIf>
248
                                                    <null>0</null>
249
                                                    <type>float</type>
250
                                                    <value>$decimalLatitude</value>
251
                                                </_nullIf>
252
                                            </latitude_deg>
253
                                            <longitude_deg>
254
                                                <_nullIf>
255
                                                    <null>0</null>
256
                                                    <type>float</type>
257
                                                    <value>$decimalLongitude</value>
258
                                                </_nullIf>
259
                                            </longitude_deg>
260
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
261
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
262
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
263
                                        </coordinates>
264
                                    </coordinates_id>
265
                                    <country>$country</country>
266
                                    <county>$county</county>
267
                                    <matched_place_id>
268
                                        <place>
269
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
270
                                            <coordinates_id>
271
                                                <coordinates>
272
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
273
                                                    <latitude_deg>
274
                                                        <_nullIf>
275
                                                            <null>0</null>
276
                                                            <type>float</type>
277
                                                            <value>$decimalLatitude</value>
278
                                                        </_nullIf>
279
                                                    </latitude_deg>
280
                                                    <longitude_deg>
281
                                                        <_nullIf>
282
                                                            <null>0</null>
283
                                                            <type>float</type>
284
                                                            <value>$decimalLongitude</value>
285
                                                        </_nullIf>
286
                                                    </longitude_deg>
287
                                                </coordinates>
288
                                            </coordinates_id>
289
                                            <country>$country</country>
290
                                            <county>$county</county>
291
                                            <stateprovince>$stateProvince</stateprovince>
292
                                        </place>
293
                                    </matched_place_id>
294
                                    <stateprovince>$stateProvince</stateprovince>
295
                                </place>
296
                            </place_id>
297
                        </locationplace>
298
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
299
                    </location>
300
                </path>
301
            </_simplifyPath>
302
        </path>
303
    </_setDefault>
304
</VegBIEN>
305
Inserted 37 new rows into database
(5-5/6)