Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>TRTE.new</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$dataProviderRecordID</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$specimenHolderInstitutions</1>
16
                                        <2>
17
                                            <_join>
18
                                                <1>$collection</1>
19
                                                <2>$collectionURL</2>
20
                                            </_join>
21
                                        </2>
22
                                        <3>$accessionNumber</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
                            <locationevent fkey="parent_id">
47
                                <taxonoccurrence>
48
                                    <aggregateoccurrence>
49
                                        <collectiondate>$dateCollected</collectiondate>
50
                                        <notes>$occurrenceRemarks</notes>
51
                                        <plantobservation>
52
                                            <authorplantcode>$collectorNumber</authorplantcode>
53
                                            <specimenreplicate>
54
                                                <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
55
                                                <collectioncode_dwc>
56
                                                    <_alt>
57
                                                        <1>$collection</1>
58
                                                        <2>$collectionURL</2>
59
                                                    </_alt>
60
                                                </collectioncode_dwc>
61
                                                <collectionnumber>$collectorNumber</collectionnumber>
62
                                                <institution_id>
63
                                                    <sourcelist>
64
                                                        <name>$specimenHolderInstitutions</name>
65
                                                        <sourcename>
66
                                                            <name>
67
                                                                <_split>
68
                                                                    <separator>[,;] *</separator>
69
                                                                    <value>$specimenHolderInstitutions</value>
70
                                                                </_split>
71
                                                            </name>
72
                                                        </sourcename>
73
                                                    </sourcelist>
74
                                                </institution_id>
75
                                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
76
                                            </specimenreplicate>
77
                                        </plantobservation>
78
                                    </aggregateoccurrence>
79
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
80
                                    <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
81
                                    <taxondetermination>
82
                                        <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
83
                                        <taxonverbatim_id>
84
                                            <taxonverbatim>
85
                                                <taxonlabel_id>
86
                                                    <taxonlabel>
87
                                                        <parent_id>
88
                                                            <taxonlabel>
89
                                                                <rank>$taxonRank</rank>
90
                                                                <parent_id>
91
                                                                    <taxonlabel>
92
                                                                        <rank>cultivar</rank>
93
                                                                        <parent_id>
94
                                                                            <taxonlabel>
95
                                                                                <rank>forma</rank>
96
                                                                                <parent_id>
97
                                                                                    <taxonlabel>
98
                                                                                        <rank>variety</rank>
99
                                                                                        <parent_id>
100
                                                                                            <taxonlabel>
101
                                                                                                <rank>subspecies</rank>
102
                                                                                                <parent_id>
103
                                                                                                    <taxonlabel>
104
                                                                                                        <rank>species</rank>
105
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
106
                                                                                                        <parent_id>
107
                                                                                                            <taxonlabel>
108
                                                                                                                <rank>genus</rank>
109
                                                                                                                <taxonepithet>$genus</taxonepithet>
110
                                                                                                                <parent_id>
111
                                                                                                                    <taxonlabel>
112
                                                                                                                        <rank>family</rank>
113
                                                                                                                        <taxonepithet>$family</taxonepithet>
114
                                                                                                                        <parent_id>
115
                                                                                                                            <taxonlabel>
116
                                                                                                                                <rank>order</rank>
117
                                                                                                                                <parent_id>
118
                                                                                                                                    <taxonlabel>
119
                                                                                                                                        <rank>class</rank>
120
                                                                                                                                        <parent_id>
121
                                                                                                                                            <taxonlabel>
122
                                                                                                                                                <rank>phylum</rank>
123
                                                                                                                                                <parent_id>
124
                                                                                                                                                    <taxonlabel>
125
                                                                                                                                                        <rank>kingdom</rank>
126
                                                                                                                                                        <taxonepithet>$kingdom</taxonepithet>
127
                                                                                                                                                    </taxonlabel>
128
                                                                                                                                                </parent_id>
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
                                                                <taxonepithet>$infraspecificEpithet</taxonepithet>
150
                                                            </taxonlabel>
151
                                                        </parent_id>
152
                                                        <rank>$taxonRank</rank>
153
                                                        <taxonomicname>
154
                                                            <_merge_prefix>
155
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
156
                                                                <value>
157
                                                                    <_alt>
158
                                                                        <1>$scientificName</1>
159
                                                                        <2>
160
                                                                            <_join_words>
161
                                                                                <1>
162
                                                                                    <_join_words>
163
                                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
164
                                                                                        <3>$specificEpithet</3>
165
                                                                                        <5>
166
                                                                                            <_join_words>
167
                                                                                                <1>
168
                                                                                                    <_if name="if has infraspecificEpithet">
169
                                                                                                        <cond>$infraspecificEpithet</cond>
170
                                                                                                        <then>$taxonRank</then>
171
                                                                                                    </_if>
172
                                                                                                </1>
173
                                                                                                <2>$infraspecificEpithet</2>
174
                                                                                            </_join_words>
175
                                                                                        </5>
176
                                                                                    </_join_words>
177
                                                                                </1>
178
                                                                                <2>$scientificNameAuthorship</2>
179
                                                                            </_join_words>
180
                                                                        </2>
181
                                                                    </_alt>
182
                                                                </value>
183
                                                            </_merge_prefix>
184
                                                        </taxonomicname>
185
                                                    </taxonlabel>
186
                                                </taxonlabel_id>
187
                                                <author>$scientificNameAuthorship</author>
188
                                                <family>$family</family>
189
                                                <genus>$genus</genus>
190
                                                <specific_epithet>$specificEpithet</specific_epithet>
191
                                                <taxonomicname>$scientificName</taxonomicname>
192
                                                <verbatimrank>$taxonRank</verbatimrank>
193
                                            </taxonverbatim>
194
                                        </taxonverbatim_id>
195
                                        <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
196
                                    </taxondetermination>
197
                                </taxonoccurrence>
198
                            </locationevent>
199
                        </locationevent>
200
                        <locationnarrative>
201
                            <_merge>
202
                                <1>$locality</1>
203
                                <3>
204
                                    <_label>
205
                                        <label>habitat</label>
206
                                        <value>$habitat</value>
207
                                    </_label>
208
                                </3>
209
                                <4>$locationRemarks</4>
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
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
233
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
234
                                        </coordinates>
235
                                    </coordinates_id>
236
                                    <placename_id>
237
                                        <placename>
238
                                            <rank>municipality</rank>
239
                                            <placename>$municipality</placename>
240
                                        </placename>
241
                                    </placename_id>
242
                                    <country>$country</country>
243
                                    <county>$county</county>
244
                                    <matched_place_id>
245
                                        <place>
246
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
247
                                            <coordinates_id>
248
                                                <coordinates>
249
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
250
                                                    <latitude_deg>
251
                                                        <_nullIf>
252
                                                            <null>0</null>
253
                                                            <type>float</type>
254
                                                            <value>$decimalLatitude</value>
255
                                                        </_nullIf>
256
                                                    </latitude_deg>
257
                                                    <longitude_deg>
258
                                                        <_nullIf>
259
                                                            <null>0</null>
260
                                                            <type>float</type>
261
                                                            <value>$decimalLongitude</value>
262
                                                        </_nullIf>
263
                                                    </longitude_deg>
264
                                                </coordinates>
265
                                            </coordinates_id>
266
                                            <country>$country</country>
267
                                            <county>$county</county>
268
                                            <stateprovince>$stateProvince</stateprovince>
269
                                        </place>
270
                                    </matched_place_id>
271
                                    <stateprovince>$stateProvince</stateprovince>
272
                                </place>
273
                            </place_id>
274
                        </locationplace>
275
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
276
                    </location>
277
                </path>
278
            </_simplifyPath>
279
        </path>
280
    </_setDefault>
281
</VegBIEN>
282
Inserted 32 new rows into database
(6-6/7)