Project

General

Profile

1 6349 aaronmk
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
                    <_units>
26
                        <to>m</to>
27
                        <to></to>
28
                        <value>$verbatimElevation</value>
29
                    </_units>
30
                </elevation_m>
31
                <locationevent>
32
                    <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
33
                    <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
34
                    <taxonoccurrence>
35
                        <aggregateoccurrence>
36
                            <plantobservation>
37
                                <collectionnumber>$recordNumber</collectionnumber>
38
                                <specimenreplicate>
39
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
40
                                    <collectioncode_dwc>
41
                                        <_join>
42
                                            <1>$collectionCode</1>
43
                                            <2>$collectionID</2>
44
                                        </_join>
45
                                    </collectioncode_dwc>
46 6384 aaronmk
                                    <institution_id>
47
                                        <sourcename>
48
                                            <matched_source_id><source><shortname>$institutionCode</shortname></source></matched_source_id>
49
                                            <name>$institutionCode</name>
50
                                        </sourcename>
51
                                    </institution_id>
52 6349 aaronmk
                                    <sourceaccessioncode>$id</sourceaccessioncode>
53
                                </specimenreplicate>
54
                            </plantobservation>
55
                        </aggregateoccurrence>
56
                        <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
57
                        <sourceaccessioncode>$id</sourceaccessioncode>
58
                        <taxondetermination>
59
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
60
                            <taxonverbatim_id>
61
                                <taxonverbatim>
62
                                    <taxonlabel_id>
63
                                        <taxonlabel>
64
                                            <matched_label_id>
65
                                                <taxonlabel>
66
                                                    <source_id><source><shortname>TNRS</shortname></source></source_id>
67
                                                    <taxonomicname>
68
                                                        <_join_words>
69 6359 aaronmk
                                                            <1>
70
                                                                <_taxon_family_require_std>
71
                                                                    <family>
72
                                                                        <_nullIf>
73
                                                                            <null>$scientificName</null>
74
                                                                            <value>$family</value>
75
                                                                        </_nullIf>
76
                                                                    </family>
77
                                                                </_taxon_family_require_std>
78
                                                            </1>
79 6349 aaronmk
                                                            <2>
80
                                                                <_alt>
81
                                                                    <1>$scientificName</1>
82
                                                                    <2>
83
                                                                        <_join_words>
84
                                                                            <1>
85
                                                                                <_join_words>
86
                                                                                    <2>$genus</2>
87
                                                                                    <3>$specificEpithet</3>
88
                                                                                    <5>
89
                                                                                        <_join_words>
90
                                                                                            <1>
91
                                                                                                <_if name="if has infraspecificEpithet">
92
                                                                                                    <cond>$infraspecificEpithet</cond>
93
                                                                                                    <then>$taxonRank</then>
94
                                                                                                </_if>
95
                                                                                            </1>
96
                                                                                            <2>$infraspecificEpithet</2>
97
                                                                                        </_join_words>
98
                                                                                    </5>
99
                                                                                </_join_words>
100
                                                                            </1>
101
                                                                            <2>$scientificNameAuthorship</2>
102
                                                                        </_join_words>
103
                                                                    </2>
104
                                                                </_alt>
105
                                                            </2>
106
                                                        </_join_words>
107
                                                    </taxonomicname>
108
                                                </taxonlabel>
109
                                            </matched_label_id>
110
                                            <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
111
                                            <parent_id>
112
                                                <taxonlabel>
113
                                                    <rank>$taxonRank</rank>
114
                                                    <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
115
                                                    <parent_id>
116
                                                        <taxonlabel>
117
                                                            <rank>cultivar</rank>
118
                                                            <parent_id>
119
                                                                <taxonlabel>
120
                                                                    <rank>forma</rank>
121
                                                                    <parent_id>
122
                                                                        <taxonlabel>
123
                                                                            <rank>variety</rank>
124
                                                                            <parent_id>
125
                                                                                <taxonlabel>
126
                                                                                    <rank>subspecies</rank>
127
                                                                                    <parent_id>
128
                                                                                        <taxonlabel>
129
                                                                                            <rank>species</rank>
130
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
131
                                                                                            <parent_id>
132
                                                                                                <taxonlabel>
133
                                                                                                    <rank>genus</rank>
134
                                                                                                    <taxonepithet>$genus</taxonepithet>
135
                                                                                                    <parent_id>
136
                                                                                                        <taxonlabel>
137
                                                                                                            <rank>family</rank>
138
                                                                                                            <taxonepithet>$family</taxonepithet>
139
                                                                                                            <parent_id>
140
                                                                                                                <taxonlabel>
141
                                                                                                                    <rank>order</rank>
142
                                                                                                                    <taxonepithet>$order</taxonepithet>
143
                                                                                                                    <parent_id>
144
                                                                                                                        <taxonlabel>
145
                                                                                                                            <rank>class</rank>
146
                                                                                                                            <taxonepithet>$class</taxonepithet>
147
                                                                                                                            <parent_id>
148
                                                                                                                                <taxonlabel>
149
                                                                                                                                    <rank>phylum</rank>
150
                                                                                                                                    <taxonepithet>$phylum</taxonepithet>
151
                                                                                                                                    <parent_id>
152
                                                                                                                                        <taxonlabel>
153
                                                                                                                                            <rank>kingdom</rank>
154
                                                                                                                                            <taxonepithet>$kingdom</taxonepithet>
155
                                                                                                                                        </taxonlabel>
156
                                                                                                                                    </parent_id>
157
                                                                                                                                </taxonlabel>
158
                                                                                                                            </parent_id>
159
                                                                                                                        </taxonlabel>
160
                                                                                                                    </parent_id>
161
                                                                                                                </taxonlabel>
162
                                                                                                            </parent_id>
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
                                                    <taxonepithet>$infraspecificEpithet</taxonepithet>
178
                                                </taxonlabel>
179
                                            </parent_id>
180
                                            <rank>$taxonRank</rank>
181
                                            <taxonomicname>
182
                                                <_join_words>
183 6359 aaronmk
                                                    <1>
184
                                                        <_taxon_family_require_std>
185
                                                            <family>
186
                                                                <_nullIf>
187
                                                                    <null>$scientificName</null>
188
                                                                    <value>$family</value>
189
                                                                </_nullIf>
190
                                                            </family>
191
                                                        </_taxon_family_require_std>
192
                                                    </1>
193 6349 aaronmk
                                                    <2>
194
                                                        <_alt>
195
                                                            <1>$scientificName</1>
196
                                                            <2>
197
                                                                <_join_words>
198
                                                                    <1>
199
                                                                        <_join_words>
200
                                                                            <2>$genus</2>
201
                                                                            <3>$specificEpithet</3>
202
                                                                            <5>
203
                                                                                <_join_words>
204
                                                                                    <1>
205
                                                                                        <_if name="if has infraspecificEpithet">
206
                                                                                            <cond>$infraspecificEpithet</cond>
207
                                                                                            <then>$taxonRank</then>
208
                                                                                        </_if>
209
                                                                                    </1>
210
                                                                                    <2>$infraspecificEpithet</2>
211
                                                                                </_join_words>
212
                                                                            </5>
213
                                                                        </_join_words>
214
                                                                    </1>
215
                                                                    <2>$scientificNameAuthorship</2>
216
                                                                </_join_words>
217
                                                            </2>
218
                                                        </_alt>
219
                                                    </2>
220
                                                </_join_words>
221
                                            </taxonomicname>
222
                                        </taxonlabel>
223
                                    </taxonlabel_id>
224
                                    <author>$scientificNameAuthorship</author>
225
                                    <family>$family</family>
226
                                    <genus>$genus</genus>
227
                                    <specific_epithet>$specificEpithet</specific_epithet>
228
                                    <taxonomicname>$scientificName</taxonomicname>
229
                                    <verbatimrank>$taxonRank</verbatimrank>
230
                                </taxonverbatim>
231
                            </taxonverbatim_id>
232
                            <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
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
                    </_merge>
246
                </locationnarrative>
247
                <locationplace>
248
                    <place_id>
249
                        <place>
250
                            <coordinates_id>
251
                                <coordinates>
252
                                    <latitude_deg>
253
                                        <_nullIf>
254
                                            <null>0</null>
255
                                            <type>float</type>
256
                                            <value>$decimalLatitude</value>
257
                                        </_nullIf>
258
                                    </latitude_deg>
259
                                    <longitude_deg>
260
                                        <_nullIf>
261
                                            <null>0</null>
262
                                            <type>float</type>
263
                                            <value>$decimalLongitude</value>
264
                                        </_nullIf>
265
                                    </longitude_deg>
266
                                </coordinates>
267
                            </coordinates_id>
268
                            <continent>$continent</continent>
269
                            <country>$country</country>
270
                            <county>$county</county>
271
                            <matched_place_id>
272
                                <place>
273
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
274
                                    <coordinates_id>
275
                                        <coordinates>
276
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
277
                                            <latitude_deg>
278
                                                <_nullIf>
279
                                                    <null>0</null>
280
                                                    <type>float</type>
281
                                                    <value>$decimalLatitude</value>
282
                                                </_nullIf>
283
                                            </latitude_deg>
284
                                            <longitude_deg>
285
                                                <_nullIf>
286
                                                    <null>0</null>
287
                                                    <type>float</type>
288
                                                    <value>$decimalLongitude</value>
289
                                                </_nullIf>
290
                                            </longitude_deg>
291
                                        </coordinates>
292
                                    </coordinates_id>
293
                                    <country>$country</country>
294
                                    <county>$county</county>
295
                                    <stateprovince>$stateProvince</stateprovince>
296
                                </place>
297
                            </matched_place_id>
298
                            <stateprovince>$stateProvince</stateprovince>
299
                        </place>
300
                    </place_id>
301
                </locationplace>
302
                <verbatimelevation>$verbatimElevation</verbatimelevation>
303
            </location>
304
        </path>
305
    </_simplifyPath>
306
</VegBIEN>
307
Inserted 39 new rows into database