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
                    <method_id><method><name>$samplingProtocol</name></method></method_id>
43
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
44
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
45
                    <taxonoccurrence>
46
                        <aggregateoccurrence>
47
                            <count>$individualCount</count>
48
                            <plantobservation>
49
                                <definedvalue fkey="tablerecord_id">
50
                                    <userdefined_id>
51
                                        <userdefined>
52
                                            <tablename>plantobservation</tablename>
53
                                            <userdefinedname>sex</userdefinedname>
54
                                        </userdefined>
55
                                    </userdefined_id>
56
                                    <definedvalue>$sex</definedvalue>
57
                                </definedvalue>
58
                                <specimenreplicate>
59
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
60
                                    <collectioncode_dwc>
61
                                        <_join>
62
                                            <1>$collectionCode</1>
63
                                            <2>$collectionID</2>
64
                                        </_join>
65
                                    </collectioncode_dwc>
66
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
67
                                    <sourceaccessioncode>$id</sourceaccessioncode>
68
                                </specimenreplicate>
69
                            </plantobservation>
70
                        </aggregateoccurrence>
71
                        <sourceaccessioncode>$id</sourceaccessioncode>
72
                        <taxondetermination>
73
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
74
                            <taxonverbatim_id>
75
                                <taxonverbatim>
76
                                    <taxonlabel_id>
77
                                        <taxonlabel>
78
                                            <matched_label_id>
79
                                                <taxonlabel>
80
                                                    <creator_id>
81
                                                        <party>
82
                                                            <creator_id>0</creator_id>
83
                                                            <organizationname>TNRS</organizationname>
84
                                                        </party>
85
                                                    </creator_id>
86
                                                    <taxonomicname>
87
                                                        <_join_words>
88
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
89
                                                            <2>
90
                                                                <_join_words>
91
                                                                    <1>
92
                                                                        <_alt>
93
                                                                            <1>$scientificName</1>
94
                                                                            <2>
95
                                                                                <_join_words>
96
                                                                                    <2>$genus</2>
97
                                                                                    <3>$specificEpithet</3>
98
                                                                                    <5>
99
                                                                                        <_join_words>
100
                                                                                            <1>
101
                                                                                                <_if name="if has infraspecificEpithet">
102
                                                                                                    <cond>$infraspecificEpithet</cond>
103
                                                                                                    <then>$taxonRank</then>
104
                                                                                                </_if>
105
                                                                                            </1>
106
                                                                                            <2>$infraspecificEpithet</2>
107
                                                                                        </_join_words>
108
                                                                                    </5>
109
                                                                                </_join_words>
110
                                                                            </2>
111
                                                                        </_alt>
112
                                                                    </1>
113
                                                                    <2>$scientificNameAuthorship</2>
114
                                                                </_join_words>
115
                                                            </2>
116
                                                        </_join_words>
117
                                                    </taxonomicname>
118
                                                </taxonlabel>
119
                                            </matched_label_id>
120
                                            <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
121
                                            <creator_id>
122
                                                <_simplifyPath>
123
                                                    <next>creator_id</next>
124
                                                    <path><party><fullname>$identifiedBy</fullname></party></path>
125
                                                </_simplifyPath>
126
                                            </creator_id>
127
                                            <parent_id>
128
                                                <taxonlabel>
129
                                                    <rank>$taxonRank</rank>
130
                                                    <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
131
                                                    <parent_id>
132
                                                        <taxonlabel>
133
                                                            <rank>cultivar</rank>
134
                                                            <parent_id>
135
                                                                <taxonlabel>
136
                                                                    <rank>forma</rank>
137
                                                                    <parent_id>
138
                                                                        <taxonlabel>
139
                                                                            <rank>variety</rank>
140
                                                                            <parent_id>
141
                                                                                <taxonlabel>
142
                                                                                    <rank>subspecies</rank>
143
                                                                                    <parent_id>
144
                                                                                        <taxonlabel>
145
                                                                                            <rank>species</rank>
146
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
147
                                                                                            <parent_id>
148
                                                                                                <taxonlabel>
149
                                                                                                    <rank>genus</rank>
150
                                                                                                    <taxonepithet>$genus</taxonepithet>
151
                                                                                                    <parent_id>
152
                                                                                                        <taxonlabel>
153
                                                                                                            <rank>family</rank>
154
                                                                                                            <taxonepithet>$family</taxonepithet>
155
                                                                                                            <parent_id>
156
                                                                                                                <taxonlabel>
157
                                                                                                                    <rank>order</rank>
158
                                                                                                                    <taxonepithet>$order</taxonepithet>
159
                                                                                                                    <parent_id>
160
                                                                                                                        <taxonlabel>
161
                                                                                                                            <rank>class</rank>
162
                                                                                                                            <taxonepithet>$class</taxonepithet>
163
                                                                                                                            <parent_id>
164
                                                                                                                                <taxonlabel>
165
                                                                                                                                    <rank>phylum</rank>
166
                                                                                                                                    <taxonepithet>$phylum</taxonepithet>
167
                                                                                                                                    <parent_id>
168
                                                                                                                                        <taxonlabel>
169
                                                                                                                                            <rank>kingdom</rank>
170
                                                                                                                                            <taxonepithet>$kingdom</taxonepithet>
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
                                                                                </taxonlabel>
186
                                                                            </parent_id>
187
                                                                        </taxonlabel>
188
                                                                    </parent_id>
189
                                                                </taxonlabel>
190
                                                            </parent_id>
191
                                                        </taxonlabel>
192
                                                    </parent_id>
193
                                                    <taxonepithet>$infraspecificEpithet</taxonepithet>
194
                                                </taxonlabel>
195
                                            </parent_id>
196
                                            <rank>$taxonRank</rank>
197
                                            <taxonomicname>
198
                                                <_join_words>
199
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
200
                                                    <2>
201
                                                        <_join_words>
202
                                                            <1>
203
                                                                <_alt>
204
                                                                    <1>$scientificName</1>
205
                                                                    <2>
206
                                                                        <_join_words>
207
                                                                            <2>$genus</2>
208
                                                                            <3>$specificEpithet</3>
209
                                                                            <5>
210
                                                                                <_join_words>
211
                                                                                    <1>
212
                                                                                        <_if name="if has infraspecificEpithet">
213
                                                                                            <cond>$infraspecificEpithet</cond>
214
                                                                                            <then>$taxonRank</then>
215
                                                                                        </_if>
216
                                                                                    </1>
217
                                                                                    <2>$infraspecificEpithet</2>
218
                                                                                </_join_words>
219
                                                                            </5>
220
                                                                        </_join_words>
221
                                                                    </2>
222
                                                                </_alt>
223
                                                            </1>
224
                                                            <2>$scientificNameAuthorship</2>
225
                                                        </_join_words>
226
                                                    </2>
227
                                                </_join_words>
228
                                            </taxonomicname>
229
                                        </taxonlabel>
230
                                    </taxonlabel_id>
231
                                    <author>$scientificNameAuthorship</author>
232
                                    <binomial>$scientificName</binomial>
233
                                    <family>$family</family>
234
                                    <genus>$genus</genus>
235
                                    <specific_epithet>$specificEpithet</specific_epithet>
236
                                    <verbatimrank>$taxonRank</verbatimrank>
237
                                </taxonverbatim>
238
                            </taxonverbatim_id>
239
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
240
                            <taxonfit>$identificationQualifier</taxonfit>
241
                        </taxondetermination>
242
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
243
                    </taxonoccurrence>
244
                </locationevent>
245
                <locationnarrative>
246
                    <_merge>
247
                        <1>$locality</1>
248
                        <3>
249
                            <_label>
250
                                <label>habitat</label>
251
                                <value>$habitat</value>
252
                            </_label>
253
                        </3>
254
                    </_merge>
255
                </locationnarrative>
256
                <locationplace>
257
                    <place_id>
258
                        <place>
259
                            <coordinates_id>
260
                                <coordinates>
261
                                    <coordsaccuracy_deg><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
262
                                    <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
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
                            <stateprovince>$stateProvince</stateprovince>
285
                        </place>
286
                    </place_id>
287
                </locationplace>
288
                <verbatimelevation>$verbatimElevation</verbatimelevation>
289
            </location>
290
        </path>
291
    </_simplifyPath>
292
</VegBIEN>
293
Inserted 34 new rows into database
(4-4/5)