Project

General

Profile

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