Project

General

Profile

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