Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>TRTE</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
                                        <specimenreplicate>
54
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
55
                                            <collectioncode_dwc>
56
                                                <_alt>
57
                                                    <1>$collection</1>
58
                                                    <2>$collectionURL</2>
59
                                                </_alt>
60
                                            </collectioncode_dwc>
61
                                            <collectionnumber>$collectorNumber</collectionnumber>
62
                                            <institution_id>
63
                                                <sourcelist>
64
                                                    <name>$specimenHolderInstitutions</name>
65
                                                    <sourcename>
66
                                                        <name>
67
                                                            <_split>
68
                                                                <separator>[,;] *</separator>
69
                                                                <value>$specimenHolderInstitutions</value>
70
                                                            </_split>
71
                                                        </name>
72
                                                    </sourcename>
73
                                                </sourcelist>
74
                                            </institution_id>
75
                                            <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
76
                                        </specimenreplicate>
77
                                    </plantobservation>
78
                                </aggregateoccurrence>
79
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
80
                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
81
                                <taxondetermination>
82
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
83
                                    <taxonverbatim_id>
84
                                        <taxonverbatim>
85
                                            <taxonlabel_id>
86
                                                <taxonlabel>
87
                                                    <parent_id>
88
                                                        <taxonlabel>
89
                                                            <rank>$taxonRank</rank>
90
                                                            <parent_id>
91
                                                                <taxonlabel>
92
                                                                    <rank>cultivar</rank>
93
                                                                    <parent_id>
94
                                                                        <taxonlabel>
95
                                                                            <rank>forma</rank>
96
                                                                            <parent_id>
97
                                                                                <taxonlabel>
98
                                                                                    <rank>variety</rank>
99
                                                                                    <parent_id>
100
                                                                                        <taxonlabel>
101
                                                                                            <rank>subspecies</rank>
102
                                                                                            <parent_id>
103
                                                                                                <taxonlabel>
104
                                                                                                    <rank>species</rank>
105
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
106
                                                                                                    <parent_id>
107
                                                                                                        <taxonlabel>
108
                                                                                                            <rank>genus</rank>
109
                                                                                                            <taxonepithet>$genus</taxonepithet>
110
                                                                                                            <parent_id>
111
                                                                                                                <taxonlabel>
112
                                                                                                                    <rank>family</rank>
113
                                                                                                                    <taxonepithet>$family</taxonepithet>
114
                                                                                                                    <parent_id>
115
                                                                                                                        <taxonlabel>
116
                                                                                                                            <rank>order</rank>
117
                                                                                                                            <parent_id>
118
                                                                                                                                <taxonlabel>
119
                                                                                                                                    <rank>class</rank>
120
                                                                                                                                    <parent_id>
121
                                                                                                                                        <taxonlabel>
122
                                                                                                                                            <rank>phylum</rank>
123
                                                                                                                                            <parent_id>
124
                                                                                                                                                <taxonlabel>
125
                                                                                                                                                    <rank>kingdom</rank>
126
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
127
                                                                                                                                                </taxonlabel>
128
                                                                                                                                            </parent_id>
129
                                                                                                                                        </taxonlabel>
130
                                                                                                                                    </parent_id>
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
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
150
                                                        </taxonlabel>
151
                                                    </parent_id>
152
                                                    <rank>$taxonRank</rank>
153
                                                    <taxonomicname>
154
                                                        <_merge_prefix>
155
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
156
                                                            <value>
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
                                                            </value>
183
                                                        </_merge_prefix>
184
                                                    </taxonomicname>
185
                                                </taxonlabel>
186
                                            </taxonlabel_id>
187
                                            <author>$scientificNameAuthorship</author>
188
                                            <family>$family</family>
189
                                            <genus>$genus</genus>
190
                                            <specific_epithet>$specificEpithet</specific_epithet>
191
                                            <taxonomicname>$scientificName</taxonomicname>
192
                                            <verbatimrank>$taxonRank</verbatimrank>
193
                                        </taxonverbatim>
194
                                    </taxonverbatim_id>
195
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
196
                                </taxondetermination>
197
                            </taxonoccurrence>
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
                                <4>$locationRemarks</4>
209
                            </_merge>
210
                        </locationnarrative>
211
                        <locationplace>
212
                            <place_id>
213
                                <place>
214
                                    <coordinates_id>
215
                                        <coordinates>
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 32 new rows into database
(6-6/7)