Project

General

Profile

1 6346 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>WIN</shortname></source></source_id>
5 6346 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$id</1>
13 6346 aaronmk
                                <2>
14
                                    <_join>
15 6403 aaronmk
                                        <1>$institutionCode</1>
16
                                        <2>
17
                                            <_join>
18
                                                <1>$collectionCode</1>
19
                                                <2>$collectionID</2>
20
                                            </_join>
21
                                        </2>
22
                                        <3>$catalogNumber</3>
23 6346 aaronmk
                                    </_join>
24
                                </2>
25 6403 aaronmk
                            </_alt>
26
                        </authorlocationcode>
27 6596 aaronmk
                        <accessconditions>$rights</accessconditions>
28 6403 aaronmk
                        <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><_avg><min>$minimumElevationInMeters</min></_avg></2>
38
                            </_alt>
39
                        </elevation_m>
40 6432 aaronmk
                        <iscultivated>
41
                            <_locationnarrative_is_cultivated>
42
                                <locationnarrative>
43
                                    <_join>
44
                                        <1>$locality</1>
45
                                        <3>$habitat</3>
46
                                    </_join>
47
                                </locationnarrative>
48
                            </_locationnarrative_is_cultivated>
49
                        </iscultivated>
50 6403 aaronmk
                        <locationevent>
51
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
52
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
53
                            <taxonoccurrence>
54
                                <aggregateoccurrence>
55
                                    <plantobservation>
56
                                        <collectionnumber>$recordNumber</collectionnumber>
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>
66
                                                <sourcename>
67
                                                    <matched_source_id><source><shortname>$institutionCode</shortname></source></matched_source_id>
68
                                                    <name>$institutionCode</name>
69
                                                </sourcename>
70
                                            </institution_id>
71
                                            <sourceaccessioncode>$id</sourceaccessioncode>
72
                                        </specimenreplicate>
73
                                    </plantobservation>
74
                                </aggregateoccurrence>
75
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
76
                                <sourceaccessioncode>$id</sourceaccessioncode>
77
                                <taxondetermination>
78
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
79
                                    <taxonverbatim_id>
80
                                        <taxonverbatim>
81
                                            <taxonlabel_id>
82 6346 aaronmk
                                                <taxonlabel>
83 6403 aaronmk
                                                    <matched_label_id>
84
                                                        <taxonlabel>
85
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
86
                                                            <taxonomicname>
87
                                                                <_alt>
88
                                                                    <1>$scientificName</1>
89
                                                                    <2>
90 6346 aaronmk
                                                                        <_join_words>
91 6403 aaronmk
                                                                            <1>
92 6346 aaronmk
                                                                                <_join_words>
93 6403 aaronmk
                                                                                    <2>$genus</2>
94
                                                                                    <3>$specificEpithet</3>
95
                                                                                    <5>
96
                                                                                        <_join_words>
97
                                                                                            <1>
98
                                                                                                <_if name="if has infraspecificEpithet">
99
                                                                                                    <cond>$infraspecificEpithet</cond>
100
                                                                                                    <then>$taxonRank</then>
101
                                                                                                </_if>
102
                                                                                            </1>
103
                                                                                            <2>$infraspecificEpithet</2>
104
                                                                                        </_join_words>
105
                                                                                    </5>
106 6346 aaronmk
                                                                                </_join_words>
107 6403 aaronmk
                                                                            </1>
108
                                                                            <2>$scientificNameAuthorship</2>
109 6346 aaronmk
                                                                        </_join_words>
110 6403 aaronmk
                                                                    </2>
111
                                                                </_alt>
112
                                                            </taxonomicname>
113
                                                        </taxonlabel>
114
                                                    </matched_label_id>
115
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
116 6346 aaronmk
                                                    <parent_id>
117
                                                        <taxonlabel>
118 6403 aaronmk
                                                            <rank>$taxonRank</rank>
119
                                                            <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
120 6346 aaronmk
                                                            <parent_id>
121
                                                                <taxonlabel>
122 6403 aaronmk
                                                                    <rank>cultivar</rank>
123 6346 aaronmk
                                                                    <parent_id>
124
                                                                        <taxonlabel>
125 6403 aaronmk
                                                                            <rank>forma</rank>
126 6346 aaronmk
                                                                            <parent_id>
127
                                                                                <taxonlabel>
128 6403 aaronmk
                                                                                    <rank>variety</rank>
129 6346 aaronmk
                                                                                    <parent_id>
130
                                                                                        <taxonlabel>
131 6403 aaronmk
                                                                                            <rank>subspecies</rank>
132 6346 aaronmk
                                                                                            <parent_id>
133
                                                                                                <taxonlabel>
134 6403 aaronmk
                                                                                                    <rank>species</rank>
135
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
136 6346 aaronmk
                                                                                                    <parent_id>
137
                                                                                                        <taxonlabel>
138 6403 aaronmk
                                                                                                            <rank>genus</rank>
139
                                                                                                            <taxonepithet>$genus</taxonepithet>
140 6346 aaronmk
                                                                                                            <parent_id>
141
                                                                                                                <taxonlabel>
142 6403 aaronmk
                                                                                                                    <rank>family</rank>
143 6346 aaronmk
                                                                                                                    <parent_id>
144
                                                                                                                        <taxonlabel>
145 6403 aaronmk
                                                                                                                            <rank>order</rank>
146 6346 aaronmk
                                                                                                                            <parent_id>
147
                                                                                                                                <taxonlabel>
148 6403 aaronmk
                                                                                                                                    <rank>class</rank>
149 6346 aaronmk
                                                                                                                                    <parent_id>
150
                                                                                                                                        <taxonlabel>
151 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
152
                                                                                                                                            <parent_id>
153
                                                                                                                                                <taxonlabel>
154
                                                                                                                                                    <rank>kingdom</rank>
155
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
156
                                                                                                                                                </taxonlabel>
157
                                                                                                                                            </parent_id>
158 6346 aaronmk
                                                                                                                                        </taxonlabel>
159
                                                                                                                                    </parent_id>
160
                                                                                                                                </taxonlabel>
161
                                                                                                                            </parent_id>
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 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
179 6346 aaronmk
                                                        </taxonlabel>
180
                                                    </parent_id>
181 6403 aaronmk
                                                    <rank>$taxonRank</rank>
182
                                                    <taxonomicname>
183
                                                        <_alt>
184
                                                            <1>$scientificName</1>
185
                                                            <2>
186 6346 aaronmk
                                                                <_join_words>
187 6403 aaronmk
                                                                    <1>
188 6346 aaronmk
                                                                        <_join_words>
189 6403 aaronmk
                                                                            <2>$genus</2>
190
                                                                            <3>$specificEpithet</3>
191
                                                                            <5>
192
                                                                                <_join_words>
193
                                                                                    <1>
194
                                                                                        <_if name="if has infraspecificEpithet">
195
                                                                                            <cond>$infraspecificEpithet</cond>
196
                                                                                            <then>$taxonRank</then>
197
                                                                                        </_if>
198
                                                                                    </1>
199
                                                                                    <2>$infraspecificEpithet</2>
200
                                                                                </_join_words>
201
                                                                            </5>
202 6346 aaronmk
                                                                        </_join_words>
203 6403 aaronmk
                                                                    </1>
204
                                                                    <2>$scientificNameAuthorship</2>
205 6346 aaronmk
                                                                </_join_words>
206 6403 aaronmk
                                                            </2>
207
                                                        </_alt>
208
                                                    </taxonomicname>
209
                                                </taxonlabel>
210
                                            </taxonlabel_id>
211
                                            <author>$scientificNameAuthorship</author>
212
                                            <genus>$genus</genus>
213
                                            <specific_epithet>$specificEpithet</specific_epithet>
214
                                            <taxonomicname>$scientificName</taxonomicname>
215
                                            <verbatimrank>$taxonRank</verbatimrank>
216
                                        </taxonverbatim>
217
                                    </taxonverbatim_id>
218
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
219
                                </taxondetermination>
220
                            </taxonoccurrence>
221
                        </locationevent>
222
                        <locationnarrative>
223
                            <_merge>
224
                                <1>$locality</1>
225
                                <3>
226
                                    <_label>
227
                                        <label>habitat</label>
228
                                        <value>$habitat</value>
229
                                    </_label>
230
                                </3>
231
                            </_merge>
232
                        </locationnarrative>
233
                        <locationplace>
234
                            <place_id>
235 6346 aaronmk
                                <place>
236
                                    <coordinates_id>
237
                                        <coordinates>
238 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
239 6346 aaronmk
                                            <latitude_deg>
240
                                                <_nullIf>
241
                                                    <null>0</null>
242
                                                    <type>float</type>
243
                                                    <value>$decimalLatitude</value>
244
                                                </_nullIf>
245
                                            </latitude_deg>
246
                                            <longitude_deg>
247
                                                <_nullIf>
248
                                                    <null>0</null>
249
                                                    <type>float</type>
250
                                                    <value>$decimalLongitude</value>
251
                                                </_nullIf>
252
                                            </longitude_deg>
253 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
254 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
255
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
256 6346 aaronmk
                                        </coordinates>
257
                                    </coordinates_id>
258
                                    <country>$country</country>
259
                                    <county>$county</county>
260 6403 aaronmk
                                    <matched_place_id>
261
                                        <place>
262
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
263
                                            <coordinates_id>
264
                                                <coordinates>
265
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
266
                                                    <latitude_deg>
267
                                                        <_nullIf>
268
                                                            <null>0</null>
269
                                                            <type>float</type>
270
                                                            <value>$decimalLatitude</value>
271
                                                        </_nullIf>
272
                                                    </latitude_deg>
273
                                                    <longitude_deg>
274
                                                        <_nullIf>
275
                                                            <null>0</null>
276
                                                            <type>float</type>
277
                                                            <value>$decimalLongitude</value>
278
                                                        </_nullIf>
279
                                                    </longitude_deg>
280
                                                </coordinates>
281
                                            </coordinates_id>
282
                                            <country>$country</country>
283
                                            <county>$county</county>
284
                                            <stateprovince>$stateProvince</stateprovince>
285
                                        </place>
286
                                    </matched_place_id>
287 6346 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
288
                                </place>
289 6403 aaronmk
                            </place_id>
290
                        </locationplace>
291
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
292
                    </location>
293
                </path>
294
            </_simplifyPath>
295 6346 aaronmk
        </path>
296 6403 aaronmk
    </_setDefault>
297 6346 aaronmk
</VegBIEN>
298 6384 aaronmk
Inserted 37 new rows into database