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