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
                                                        <matched_source_id><source><shortname>$institutionCode</shortname></source></matched_source_id>
70
                                                        <name>$institutionCode</name>
71
                                                    </sourcename>
72
                                                </sourcelist>
73
                                            </institution_id>
74
                                            <sourceaccessioncode>$id</sourceaccessioncode>
75
                                        </specimenreplicate>
76
                                    </plantobservation>
77
                                </aggregateoccurrence>
78
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
79
                                <sourceaccessioncode>$id</sourceaccessioncode>
80
                                <taxondetermination>
81
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
82
                                    <taxonverbatim_id>
83
                                        <taxonverbatim>
84
                                            <taxonlabel_id>
85
                                                <taxonlabel>
86
                                                    <matched_label_id>
87
                                                        <taxonlabel>
88
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
89
                                                            <taxonomicname>
90
                                                                <_alt>
91
                                                                    <1>$scientificName</1>
92
                                                                    <2>
93
                                                                        <_join_words>
94
                                                                            <1>
95
                                                                                <_join_words>
96
                                                                                    <2>$genus</2>
97
                                                                                    <3>$specificEpithet</3>
98
                                                                                    <5>
99
                                                                                        <_join_words>
100
                                                                                            <1>
101
                                                                                                <_if name="if has infraspecificEpithet">
102
                                                                                                    <cond>$infraspecificEpithet</cond>
103
                                                                                                    <then>$taxonRank</then>
104
                                                                                                </_if>
105
                                                                                            </1>
106
                                                                                            <2>$infraspecificEpithet</2>
107
                                                                                        </_join_words>
108
                                                                                    </5>
109
                                                                                </_join_words>
110
                                                                            </1>
111
                                                                            <2>$scientificNameAuthorship</2>
112
                                                                        </_join_words>
113
                                                                    </2>
114
                                                                </_alt>
115
                                                            </taxonomicname>
116
                                                        </taxonlabel>
117
                                                    </matched_label_id>
118
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
119
                                                    <parent_id>
120
                                                        <taxonlabel>
121
                                                            <rank>$taxonRank</rank>
122
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
123
                                                            <parent_id>
124
                                                                <taxonlabel>
125
                                                                    <rank>cultivar</rank>
126
                                                                    <parent_id>
127
                                                                        <taxonlabel>
128
                                                                            <rank>forma</rank>
129
                                                                            <parent_id>
130
                                                                                <taxonlabel>
131
                                                                                    <rank>variety</rank>
132
                                                                                    <parent_id>
133
                                                                                        <taxonlabel>
134
                                                                                            <rank>subspecies</rank>
135
                                                                                            <parent_id>
136
                                                                                                <taxonlabel>
137
                                                                                                    <rank>species</rank>
138
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
139
                                                                                                    <parent_id>
140
                                                                                                        <taxonlabel>
141
                                                                                                            <rank>genus</rank>
142
                                                                                                            <taxonepithet>$genus</taxonepithet>
143
                                                                                                            <parent_id>
144
                                                                                                                <taxonlabel>
145
                                                                                                                    <rank>family</rank>
146
                                                                                                                    <parent_id>
147
                                                                                                                        <taxonlabel>
148
                                                                                                                            <rank>order</rank>
149
                                                                                                                            <parent_id>
150
                                                                                                                                <taxonlabel>
151
                                                                                                                                    <rank>class</rank>
152
                                                                                                                                    <parent_id>
153
                                                                                                                                        <taxonlabel>
154
                                                                                                                                            <rank>phylum</rank>
155
                                                                                                                                            <parent_id>
156
                                                                                                                                                <taxonlabel>
157
                                                                                                                                                    <rank>kingdom</rank>
158
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
159
                                                                                                                                                </taxonlabel>
160
                                                                                                                                            </parent_id>
161
                                                                                                                                        </taxonlabel>
162
                                                                                                                                    </parent_id>
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
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
182
                                                        </taxonlabel>
183
                                                    </parent_id>
184
                                                    <rank>$taxonRank</rank>
185
                                                    <taxonomicname>
186
                                                        <_alt>
187
                                                            <1>$scientificName</1>
188
                                                            <2>
189
                                                                <_join_words>
190
                                                                    <1>
191
                                                                        <_join_words>
192
                                                                            <2>$genus</2>
193
                                                                            <3>$specificEpithet</3>
194
                                                                            <5>
195
                                                                                <_join_words>
196
                                                                                    <1>
197
                                                                                        <_if name="if has infraspecificEpithet">
198
                                                                                            <cond>$infraspecificEpithet</cond>
199
                                                                                            <then>$taxonRank</then>
200
                                                                                        </_if>
201
                                                                                    </1>
202
                                                                                    <2>$infraspecificEpithet</2>
203
                                                                                </_join_words>
204
                                                                            </5>
205
                                                                        </_join_words>
206
                                                                    </1>
207
                                                                    <2>$scientificNameAuthorship</2>
208
                                                                </_join_words>
209
                                                            </2>
210
                                                        </_alt>
211
                                                    </taxonomicname>
212
                                                </taxonlabel>
213
                                            </taxonlabel_id>
214
                                            <author>$scientificNameAuthorship</author>
215
                                            <genus>$genus</genus>
216
                                            <specific_epithet>$specificEpithet</specific_epithet>
217
                                            <taxonomicname>$scientificName</taxonomicname>
218
                                            <verbatimrank>$taxonRank</verbatimrank>
219
                                        </taxonverbatim>
220
                                    </taxonverbatim_id>
221
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
222
                                </taxondetermination>
223
                            </taxonoccurrence>
224
                        </locationevent>
225
                        <locationnarrative>
226
                            <_merge>
227
                                <1>$locality</1>
228
                                <3>
229
                                    <_label>
230
                                        <label>habitat</label>
231
                                        <value>$habitat</value>
232
                                    </_label>
233
                                </3>
234
                            </_merge>
235
                        </locationnarrative>
236
                        <locationplace>
237
                            <place_id>
238
                                <place>
239
                                    <coordinates_id>
240
                                        <coordinates>
241
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
242
                                            <latitude_deg>
243
                                                <_nullIf>
244
                                                    <null>0</null>
245
                                                    <type>float</type>
246
                                                    <value>$decimalLatitude</value>
247
                                                </_nullIf>
248
                                            </latitude_deg>
249
                                            <longitude_deg>
250
                                                <_nullIf>
251
                                                    <null>0</null>
252
                                                    <type>float</type>
253
                                                    <value>$decimalLongitude</value>
254
                                                </_nullIf>
255
                                            </longitude_deg>
256
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
257
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
258
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
259
                                        </coordinates>
260
                                    </coordinates_id>
261
                                    <country>$country</country>
262
                                    <county>$county</county>
263
                                    <matched_place_id>
264
                                        <place>
265
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
266
                                            <coordinates_id>
267
                                                <coordinates>
268
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
269
                                                    <latitude_deg>
270
                                                        <_nullIf>
271
                                                            <null>0</null>
272
                                                            <type>float</type>
273
                                                            <value>$decimalLatitude</value>
274
                                                        </_nullIf>
275
                                                    </latitude_deg>
276
                                                    <longitude_deg>
277
                                                        <_nullIf>
278
                                                            <null>0</null>
279
                                                            <type>float</type>
280
                                                            <value>$decimalLongitude</value>
281
                                                        </_nullIf>
282
                                                    </longitude_deg>
283
                                                </coordinates>
284
                                            </coordinates_id>
285
                                            <country>$country</country>
286
                                            <county>$county</county>
287
                                            <stateprovince>$stateProvince</stateprovince>
288
                                        </place>
289
                                    </matched_place_id>
290
                                    <stateprovince>$stateProvince</stateprovince>
291
                                </place>
292
                            </place_id>
293
                        </locationplace>
294
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
295
                    </location>
296
                </path>
297
            </_simplifyPath>
298
        </path>
299
    </_setDefault>
300
</VegBIEN>
301
Inserted 38 new rows into database
(5-5/6)