Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>TRT</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>
38
                                    <_avg>
39
                                        <1>$minimumElevationInMeters</1>
40
                                        <2>$maximumElevationInMeters</2>
41
                                    </_avg>
42
                                </2>
43
                            </_alt>
44
                        </elevation_m>
45
                        <iscultivated>
46
                            <_locationnarrative_is_cultivated>
47
                                <locationnarrative>
48
                                    <_join>
49
                                        <1>$locality</1>
50
                                        <3>$habitat</3>
51
                                    </_join>
52
                                </locationnarrative>
53
                            </_locationnarrative_is_cultivated>
54
                        </iscultivated>
55
                        <locationevent>
56
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
57
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
58
                            <taxonoccurrence>
59
                                <aggregateoccurrence>
60
                                    <notes>$occurrenceRemarks</notes>
61
                                    <plantobservation>
62
                                        <authorplantcode>$collectorNumber</authorplantcode>
63
                                        <definedvalue fkey="tablerecord_id">
64
                                            <userdefined_id>
65
                                                <userdefined>
66
                                                    <tablename>plantobservation</tablename>
67
                                                    <userdefinedname>sex</userdefinedname>
68
                                                </userdefined>
69
                                            </userdefined_id>
70
                                            <definedvalue>$sex</definedvalue>
71
                                        </definedvalue>
72
                                        <reproductivecondition>$reproductiveCondition</reproductivecondition>
73
                                        <specimenreplicate>
74
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
75
                                            <collectioncode_dwc>
76
                                                <_alt>
77
                                                    <1>$collection</1>
78
                                                    <2>$collectionURL</2>
79
                                                </_alt>
80
                                            </collectioncode_dwc>
81
                                            <collectionnumber>$collectorNumber</collectionnumber>
82
                                            <institution_id>
83
                                                <sourcelist>
84
                                                    <name>$specimenHolderInstitutions</name>
85
                                                    <sourcename>
86
                                                        <name>
87
                                                            <_split>
88
                                                                <separator>[,;] *</separator>
89
                                                                <value>$specimenHolderInstitutions</value>
90
                                                            </_split>
91
                                                        </name>
92
                                                    </sourcename>
93
                                                </sourcelist>
94
                                            </institution_id>
95
                                            <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
96
                                        </specimenreplicate>
97
                                    </plantobservation>
98
                                </aggregateoccurrence>
99
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
100
                                <iscultivated>
101
                                    <_map>
102
                                        <cultivated>t</cultivated>
103
                                        <wild>f</wild>
104
                                        <*></*>
105
                                        <value>$establishmentMeans</value>
106
                                    </_map>
107
                                </iscultivated>
108
                                <isnative>
109
                                    <_map>
110
                                        <native>t</native>
111
                                        <exotic>f</exotic>
112
                                        <*></*>
113
                                        <value>$establishmentMeans</value>
114
                                    </_map>
115
                                </isnative>
116
                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
117
                                <taxondetermination>
118
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
119
                                    <taxonverbatim_id>
120
                                        <taxonverbatim>
121
                                            <taxonlabel_id>
122
                                                <taxonlabel>
123
                                                    <parent_id>
124
                                                        <taxonlabel>
125
                                                            <rank>$taxonRank</rank>
126
                                                            <parent_id>
127
                                                                <taxonlabel>
128
                                                                    <rank>cultivar</rank>
129
                                                                    <parent_id>
130
                                                                        <taxonlabel>
131
                                                                            <rank>forma</rank>
132
                                                                            <parent_id>
133
                                                                                <taxonlabel>
134
                                                                                    <rank>variety</rank>
135
                                                                                    <parent_id>
136
                                                                                        <taxonlabel>
137
                                                                                            <rank>subspecies</rank>
138
                                                                                            <parent_id>
139
                                                                                                <taxonlabel>
140
                                                                                                    <rank>species</rank>
141
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
142
                                                                                                    <parent_id>
143
                                                                                                        <taxonlabel>
144
                                                                                                            <rank>genus</rank>
145
                                                                                                            <taxonepithet>$genus</taxonepithet>
146
                                                                                                            <parent_id>
147
                                                                                                                <taxonlabel>
148
                                                                                                                    <rank>family</rank>
149
                                                                                                                    <taxonepithet>$family</taxonepithet>
150
                                                                                                                    <parent_id>
151
                                                                                                                        <taxonlabel>
152
                                                                                                                            <rank>order</rank>
153
                                                                                                                            <parent_id>
154
                                                                                                                                <taxonlabel>
155
                                                                                                                                    <rank>class</rank>
156
                                                                                                                                    <parent_id>
157
                                                                                                                                        <taxonlabel>
158
                                                                                                                                            <rank>phylum</rank>
159
                                                                                                                                            <parent_id>
160
                                                                                                                                                <taxonlabel>
161
                                                                                                                                                    <rank>kingdom</rank>
162
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
163
                                                                                                                                                </taxonlabel>
164
                                                                                                                                            </parent_id>
165
                                                                                                                                        </taxonlabel>
166
                                                                                                                                    </parent_id>
167
                                                                                                                                </taxonlabel>
168
                                                                                                                            </parent_id>
169
                                                                                                                        </taxonlabel>
170
                                                                                                                    </parent_id>
171
                                                                                                                </taxonlabel>
172
                                                                                                            </parent_id>
173
                                                                                                        </taxonlabel>
174
                                                                                                    </parent_id>
175
                                                                                                </taxonlabel>
176
                                                                                            </parent_id>
177
                                                                                        </taxonlabel>
178
                                                                                    </parent_id>
179
                                                                                </taxonlabel>
180
                                                                            </parent_id>
181
                                                                        </taxonlabel>
182
                                                                    </parent_id>
183
                                                                </taxonlabel>
184
                                                            </parent_id>
185
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
186
                                                        </taxonlabel>
187
                                                    </parent_id>
188
                                                    <rank>$taxonRank</rank>
189
                                                    <taxonomicname>
190
                                                        <_merge_prefix>
191
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
192
                                                            <value>
193
                                                                <_alt>
194
                                                                    <1>$scientificName</1>
195
                                                                    <2>
196
                                                                        <_join_words>
197
                                                                            <1>
198
                                                                                <_join_words>
199
                                                                                    <2><_filter_genus><value>$genus</value></_filter_genus></2>
200
                                                                                    <3>$specificEpithet</3>
201
                                                                                    <5>
202
                                                                                        <_join_words>
203
                                                                                            <1>
204
                                                                                                <_if name="if has infraspecificEpithet">
205
                                                                                                    <cond>$infraspecificEpithet</cond>
206
                                                                                                    <then>$taxonRank</then>
207
                                                                                                </_if>
208
                                                                                            </1>
209
                                                                                            <2>$infraspecificEpithet</2>
210
                                                                                        </_join_words>
211
                                                                                    </5>
212
                                                                                </_join_words>
213
                                                                            </1>
214
                                                                            <2>$scientificNameAuthorship</2>
215
                                                                        </_join_words>
216
                                                                    </2>
217
                                                                </_alt>
218
                                                            </value>
219
                                                        </_merge_prefix>
220
                                                    </taxonomicname>
221
                                                </taxonlabel>
222
                                            </taxonlabel_id>
223
                                            <author>$scientificNameAuthorship</author>
224
                                            <family>$family</family>
225
                                            <genus>$genus</genus>
226
                                            <specific_epithet>$specificEpithet</specific_epithet>
227
                                            <taxonomicname>$scientificName</taxonomicname>
228
                                            <verbatimrank>$taxonRank</verbatimrank>
229
                                        </taxonverbatim>
230
                                    </taxonverbatim_id>
231
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
232
                                    <taxonfit>$identificationQualifier</taxonfit>
233
                                </taxondetermination>
234
                            </taxonoccurrence>
235
                        </locationevent>
236
                        <locationnarrative>
237
                            <_merge>
238
                                <1>$locality</1>
239
                                <3>
240
                                    <_label>
241
                                        <label>habitat</label>
242
                                        <value>$habitat</value>
243
                                    </_label>
244
                                </3>
245
                                <4>$locationRemarks</4>
246
                            </_merge>
247
                        </locationnarrative>
248
                        <locationplace>
249
                            <place_id>
250
                                <place>
251
                                    <coordinates_id>
252
                                        <coordinates>
253
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
254
                                            <latitude_deg>
255
                                                <_nullIf>
256
                                                    <null>0</null>
257
                                                    <type>float</type>
258
                                                    <value>$decimalLatitude</value>
259
                                                </_nullIf>
260
                                            </latitude_deg>
261
                                            <longitude_deg>
262
                                                <_nullIf>
263
                                                    <null>0</null>
264
                                                    <type>float</type>
265
                                                    <value>$decimalLongitude</value>
266
                                                </_nullIf>
267
                                            </longitude_deg>
268
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
269
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
270
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
271
                                        </coordinates>
272
                                    </coordinates_id>
273
                                    <placename_id>
274
                                        <placename>
275
                                            <rank>municipality</rank>
276
                                            <placename>$municipality</placename>
277
                                        </placename>
278
                                    </placename_id>
279
                                    <continent>$continent</continent>
280
                                    <country>$country</country>
281
                                    <county>$county</county>
282
                                    <matched_place_id>
283
                                        <place>
284
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
285
                                            <coordinates_id>
286
                                                <coordinates>
287
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
288
                                                    <latitude_deg>
289
                                                        <_nullIf>
290
                                                            <null>0</null>
291
                                                            <type>float</type>
292
                                                            <value>$decimalLatitude</value>
293
                                                        </_nullIf>
294
                                                    </latitude_deg>
295
                                                    <longitude_deg>
296
                                                        <_nullIf>
297
                                                            <null>0</null>
298
                                                            <type>float</type>
299
                                                            <value>$decimalLongitude</value>
300
                                                        </_nullIf>
301
                                                    </longitude_deg>
302
                                                </coordinates>
303
                                            </coordinates_id>
304
                                            <country>$country</country>
305
                                            <county>$county</county>
306
                                            <stateprovince>$stateProvince</stateprovince>
307
                                        </place>
308
                                    </matched_place_id>
309
                                    <stateprovince>$stateProvince</stateprovince>
310
                                </place>
311
                            </place_id>
312
                        </locationplace>
313
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
314
                    </location>
315
                </path>
316
            </_simplifyPath>
317
        </path>
318
    </_setDefault>
319
</VegBIEN>
320
Inserted 38 new rows into database
(6-6/7)