Project

General

Profile

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