Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>HIBG</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$id</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$institutionCode</1>
16
                                        <2>
17
                                            <_join>
18
                                                <1>$collectionCode</1>
19
                                                <2>$collectionID</2>
20
                                            </_join>
21
                                        </2>
22
                                        <3>$catalogNumber</3>
23
                                    </_join>
24
                                </2>
25
                            </_alt>
26
                        </authorlocationcode>
27
                        <accessconditions>$rights</accessconditions>
28
                        <elevation_m>
29
                            <_units>
30
                                <to>m</to>
31
                                <to></to>
32
                                <value>$verbatimElevation</value>
33
                            </_units>
34
                        </elevation_m>
35
                        <iscultivated>
36
                            <_locationnarrative_is_cultivated>
37
                                <locationnarrative>
38
                                    <_join>
39
                                        <1>$locality</1>
40
                                        <3>$habitat</3>
41
                                    </_join>
42
                                </locationnarrative>
43
                            </_locationnarrative_is_cultivated>
44
                        </iscultivated>
45
                        <locationevent>
46
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
47
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
48
                            <taxonoccurrence>
49
                                <aggregateoccurrence>
50
                                    <plantobservation>
51
                                        <authorplantcode>$recordNumber</authorplantcode>
52
                                        <specimenreplicate>
53
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
54
                                            <collectioncode_dwc>
55
                                                <_join>
56
                                                    <1>$collectionCode</1>
57
                                                    <2>$collectionID</2>
58
                                                </_join>
59
                                            </collectioncode_dwc>
60
                                            <institution_id>
61
                                                <sourcelist>
62
                                                    <name>$institutionCode</name>
63
                                                    <sourcename>
64
                                                        <name>
65
                                                            <_split>
66
                                                                <separator>, </separator>
67
                                                                <value>$institutionCode</value>
68
                                                            </_split>
69
                                                        </name>
70
                                                    </sourcename>
71
                                                </sourcelist>
72
                                            </institution_id>
73
                                            <sourceaccessioncode>$id</sourceaccessioncode>
74
                                        </specimenreplicate>
75
                                    </plantobservation>
76
                                </aggregateoccurrence>
77
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
78
                                <sourceaccessioncode>$id</sourceaccessioncode>
79
                                <taxondetermination>
80
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
81
                                    <taxonverbatim_id>
82
                                        <taxonverbatim>
83
                                            <taxonlabel_id>
84
                                                <taxonlabel>
85
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
86
                                                    <parent_id>
87
                                                        <taxonlabel>
88
                                                            <rank>$taxonRank</rank>
89
                                                            <parent_id>
90
                                                                <taxonlabel>
91
                                                                    <rank>cultivar</rank>
92
                                                                    <parent_id>
93
                                                                        <taxonlabel>
94
                                                                            <rank>forma</rank>
95
                                                                            <parent_id>
96
                                                                                <taxonlabel>
97
                                                                                    <rank>variety</rank>
98
                                                                                    <parent_id>
99
                                                                                        <taxonlabel>
100
                                                                                            <rank>subspecies</rank>
101
                                                                                            <parent_id>
102
                                                                                                <taxonlabel>
103
                                                                                                    <rank>species</rank>
104
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
105
                                                                                                    <parent_id>
106
                                                                                                        <taxonlabel>
107
                                                                                                            <rank>genus</rank>
108
                                                                                                            <taxonepithet>$genus</taxonepithet>
109
                                                                                                            <parent_id>
110
                                                                                                                <taxonlabel>
111
                                                                                                                    <rank>family</rank>
112
                                                                                                                    <taxonepithet>$family</taxonepithet>
113
                                                                                                                    <parent_id>
114
                                                                                                                        <taxonlabel>
115
                                                                                                                            <rank>order</rank>
116
                                                                                                                            <taxonepithet>$order</taxonepithet>
117
                                                                                                                            <parent_id>
118
                                                                                                                                <taxonlabel>
119
                                                                                                                                    <rank>class</rank>
120
                                                                                                                                    <taxonepithet>$class</taxonepithet>
121
                                                                                                                                    <parent_id>
122
                                                                                                                                        <taxonlabel>
123
                                                                                                                                            <rank>phylum</rank>
124
                                                                                                                                            <taxonepithet>$phylum</taxonepithet>
125
                                                                                                                                            <parent_id>
126
                                                                                                                                                <taxonlabel>
127
                                                                                                                                                    <rank>kingdom</rank>
128
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
129
                                                                                                                                                </taxonlabel>
130
                                                                                                                                            </parent_id>
131
                                                                                                                                        </taxonlabel>
132
                                                                                                                                    </parent_id>
133
                                                                                                                                </taxonlabel>
134
                                                                                                                            </parent_id>
135
                                                                                                                        </taxonlabel>
136
                                                                                                                    </parent_id>
137
                                                                                                                </taxonlabel>
138
                                                                                                            </parent_id>
139
                                                                                                        </taxonlabel>
140
                                                                                                    </parent_id>
141
                                                                                                </taxonlabel>
142
                                                                                            </parent_id>
143
                                                                                        </taxonlabel>
144
                                                                                    </parent_id>
145
                                                                                </taxonlabel>
146
                                                                            </parent_id>
147
                                                                        </taxonlabel>
148
                                                                    </parent_id>
149
                                                                </taxonlabel>
150
                                                            </parent_id>
151
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
152
                                                        </taxonlabel>
153
                                                    </parent_id>
154
                                                    <rank>$taxonRank</rank>
155
                                                    <taxonomicname>
156
                                                        <_merge_prefix>
157
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
158
                                                            <value>
159
                                                                <_alt>
160
                                                                    <1>$scientificName</1>
161
                                                                    <2>
162
                                                                        <_join_words>
163
                                                                            <1>
164
                                                                                <_join_words>
165
                                                                                    <2>$genus</2>
166
                                                                                    <3>$specificEpithet</3>
167
                                                                                    <5>
168
                                                                                        <_join_words>
169
                                                                                            <1>
170
                                                                                                <_if name="if has infraspecificEpithet">
171
                                                                                                    <cond>$infraspecificEpithet</cond>
172
                                                                                                    <then>$taxonRank</then>
173
                                                                                                </_if>
174
                                                                                            </1>
175
                                                                                            <2>$infraspecificEpithet</2>
176
                                                                                        </_join_words>
177
                                                                                    </5>
178
                                                                                </_join_words>
179
                                                                            </1>
180
                                                                            <2>$scientificNameAuthorship</2>
181
                                                                        </_join_words>
182
                                                                    </2>
183
                                                                </_alt>
184
                                                            </value>
185
                                                        </_merge_prefix>
186
                                                    </taxonomicname>
187
                                                </taxonlabel>
188
                                            </taxonlabel_id>
189
                                            <author>$scientificNameAuthorship</author>
190
                                            <family>$family</family>
191
                                            <genus>$genus</genus>
192
                                            <specific_epithet>$specificEpithet</specific_epithet>
193
                                            <taxonomicname>$scientificName</taxonomicname>
194
                                            <verbatimrank>$taxonRank</verbatimrank>
195
                                        </taxonverbatim>
196
                                    </taxonverbatim_id>
197
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
198
                                </taxondetermination>
199
                            </taxonoccurrence>
200
                        </locationevent>
201
                        <locationnarrative>
202
                            <_merge>
203
                                <1>$locality</1>
204
                                <3>
205
                                    <_label>
206
                                        <label>habitat</label>
207
                                        <value>$habitat</value>
208
                                    </_label>
209
                                </3>
210
                            </_merge>
211
                        </locationnarrative>
212
                        <locationplace>
213
                            <place_id>
214
                                <place>
215
                                    <coordinates_id>
216
                                        <coordinates>
217
                                            <latitude_deg>
218
                                                <_nullIf>
219
                                                    <null>0</null>
220
                                                    <type>float</type>
221
                                                    <value>$decimalLatitude</value>
222
                                                </_nullIf>
223
                                            </latitude_deg>
224
                                            <longitude_deg>
225
                                                <_nullIf>
226
                                                    <null>0</null>
227
                                                    <type>float</type>
228
                                                    <value>$decimalLongitude</value>
229
                                                </_nullIf>
230
                                            </longitude_deg>
231
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
232
                                        </coordinates>
233
                                    </coordinates_id>
234
                                    <continent>$continent</continent>
235
                                    <country>$country</country>
236
                                    <county>$county</county>
237
                                    <matched_place_id>
238
                                        <place>
239
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
240
                                            <coordinates_id>
241
                                                <coordinates>
242
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
243
                                                    <latitude_deg>
244
                                                        <_nullIf>
245
                                                            <null>0</null>
246
                                                            <type>float</type>
247
                                                            <value>$decimalLatitude</value>
248
                                                        </_nullIf>
249
                                                    </latitude_deg>
250
                                                    <longitude_deg>
251
                                                        <_nullIf>
252
                                                            <null>0</null>
253
                                                            <type>float</type>
254
                                                            <value>$decimalLongitude</value>
255
                                                        </_nullIf>
256
                                                    </longitude_deg>
257
                                                </coordinates>
258
                                            </coordinates_id>
259
                                            <country>$country</country>
260
                                            <county>$county</county>
261
                                            <stateprovince>$stateProvince</stateprovince>
262
                                        </place>
263
                                    </matched_place_id>
264
                                    <stateprovince>$stateProvince</stateprovince>
265
                                </place>
266
                            </place_id>
267
                        </locationplace>
268
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
269
                    </location>
270
                </path>
271
            </_simplifyPath>
272
        </path>
273
    </_setDefault>
274
</VegBIEN>
275
Inserted 37 new rows into database
(4-4/5)