Project

General

Profile

1
<!--put template-->
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>XAL.new</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_join>
12
                                <1>$specimen_duplicate_institutions</1>
13
                                <2>$collection</2>
14
                                <3>$accessionNumber</3>
15
                            </_join>
16
                        </authorlocationcode>
17
                        <elevation_m>
18
                            <_avg>
19
                                <1>$minimumElevationInMeters</1>
20
                                <2>$maximumElevationInMeters</2>
21
                            </_avg>
22
                        </elevation_m>
23
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$locality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
24
                        <locationevent>
25
                            <locationevent fkey="parent_id">
26
                                <taxonoccurrence>
27
                                    <aggregateoccurrence>
28
                                        <collectiondate>
29
                                            <_date>
30
                                                <day>
31
                                                    <_nullIf>
32
                                                        <null>0</null>
33
                                                        <type>float</type>
34
                                                        <value>$dayCollected</value>
35
                                                    </_nullIf>
36
                                                </day>
37
                                                <month>
38
                                                    <_nullIf>
39
                                                        <null>0</null>
40
                                                        <type>float</type>
41
                                                        <value>$monthCollected</value>
42
                                                    </_nullIf>
43
                                                </month>
44
                                                <year>
45
                                                    <_nullIf>
46
                                                        <null>0</null>
47
                                                        <type>float</type>
48
                                                        <value>$yearCollected</value>
49
                                                    </_nullIf>
50
                                                </year>
51
                                            </_date>
52
                                        </collectiondate>
53
                                        <count>$individualCount</count>
54
                                        <notes>$occurrenceRemarks</notes>
55
                                        <plantobservation>
56
                                            <authorplantcode>$collectorNumber</authorplantcode>
57
                                            <definedvalue fkey="tablerecord_id">
58
                                                <userdefined_id>
59
                                                    <userdefined>
60
                                                        <tablename>plantobservation</tablename>
61
                                                        <userdefinedname>sex</userdefinedname>
62
                                                    </userdefined>
63
                                                </userdefined_id>
64
                                                <definedvalue>$sex</definedvalue>
65
                                            </definedvalue>
66
                                            <specimenreplicate>
67
                                                <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
68
                                                <collectioncode_dwc>$collection</collectioncode_dwc>
69
                                                <collectionnumber>$collectorNumber</collectionnumber>
70
                                                <duplicate_institutions_sourcelist_id>
71
                                                    <sourcelist>
72
                                                        <name>$specimen_duplicate_institutions</name>
73
                                                        <sourcename>
74
                                                            <name>
75
                                                                <_split>
76
                                                                    <separator>[,;] *</separator>
77
                                                                    <value>$specimen_duplicate_institutions</value>
78
                                                                </_split>
79
                                                            </name>
80
                                                        </sourcename>
81
                                                    </sourcelist>
82
                                                </duplicate_institutions_sourcelist_id>
83
                                            </specimenreplicate>
84
                                        </plantobservation>
85
                                    </aggregateoccurrence>
86
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
87
                                    <taxondetermination>
88
                                        <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
89
                                        <taxonverbatim_id>
90
                                            <taxonverbatim>
91
                                                <taxonlabel_id>
92
                                                    <taxonlabel>
93
                                                        <parent_id>
94
                                                            <taxonlabel>
95
                                                                <parent_id>
96
                                                                    <taxonlabel>
97
                                                                        <rank>cultivar</rank>
98
                                                                        <parent_id>
99
                                                                            <taxonlabel>
100
                                                                                <rank>forma</rank>
101
                                                                                <parent_id>
102
                                                                                    <taxonlabel>
103
                                                                                        <rank>variety</rank>
104
                                                                                        <parent_id>
105
                                                                                            <taxonlabel>
106
                                                                                                <rank>subspecies</rank>
107
                                                                                                <taxonepithet>$subspecies</taxonepithet>
108
                                                                                                <parent_id>
109
                                                                                                    <taxonlabel>
110
                                                                                                        <rank>species</rank>
111
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
112
                                                                                                        <parent_id>
113
                                                                                                            <taxonlabel>
114
                                                                                                                <rank>genus</rank>
115
                                                                                                                <taxonepithet>$genus</taxonepithet>
116
                                                                                                                <parent_id>
117
                                                                                                                    <taxonlabel>
118
                                                                                                                        <rank>family</rank>
119
                                                                                                                        <taxonepithet>$family</taxonepithet>
120
                                                                                                                        <parent_id>
121
                                                                                                                            <taxonlabel>
122
                                                                                                                                <rank>order</rank>
123
                                                                                                                                <taxonepithet>$order</taxonepithet>
124
                                                                                                                                <parent_id>
125
                                                                                                                                    <taxonlabel>
126
                                                                                                                                        <rank>class</rank>
127
                                                                                                                                        <taxonepithet>$class</taxonepithet>
128
                                                                                                                                        <parent_id>
129
                                                                                                                                            <taxonlabel>
130
                                                                                                                                                <rank>phylum</rank>
131
                                                                                                                                                <taxonepithet>$phylum</taxonepithet>
132
                                                                                                                                                <parent_id>
133
                                                                                                                                                    <taxonlabel>
134
                                                                                                                                                        <rank>kingdom</rank>
135
                                                                                                                                                        <taxonepithet>$kingdom</taxonepithet>
136
                                                                                                                                                    </taxonlabel>
137
                                                                                                                                                </parent_id>
138
                                                                                                                                            </taxonlabel>
139
                                                                                                                                        </parent_id>
140
                                                                                                                                    </taxonlabel>
141
                                                                                                                                </parent_id>
142
                                                                                                                            </taxonlabel>
143
                                                                                                                        </parent_id>
144
                                                                                                                    </taxonlabel>
145
                                                                                                                </parent_id>
146
                                                                                                            </taxonlabel>
147
                                                                                                        </parent_id>
148
                                                                                                    </taxonlabel>
149
                                                                                                </parent_id>
150
                                                                                            </taxonlabel>
151
                                                                                        </parent_id>
152
                                                                                    </taxonlabel>
153
                                                                                </parent_id>
154
                                                                            </taxonlabel>
155
                                                                        </parent_id>
156
                                                                    </taxonlabel>
157
                                                                </parent_id>
158
                                                            </taxonlabel>
159
                                                        </parent_id>
160
                                                        <taxonomicname>
161
                                                            <_merge_prefix>
162
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
163
                                                                <value>
164
                                                                    <_join_words>
165
                                                                        <1>
166
                                                                            <_alt>
167
                                                                                <1>$taxonName</1>
168
                                                                                <2>
169
                                                                                    <_join_words>
170
                                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
171
                                                                                        <3>$specificEpithet</3>
172
                                                                                        <4>$subspecies</4>
173
                                                                                    </_join_words>
174
                                                                                </2>
175
                                                                            </_alt>
176
                                                                        </1>
177
                                                                        <2>$scientificNameAuthorship</2>
178
                                                                    </_join_words>
179
                                                                </value>
180
                                                            </_merge_prefix>
181
                                                        </taxonomicname>
182
                                                    </taxonlabel>
183
                                                </taxonlabel_id>
184
                                                <author>$scientificNameAuthorship</author>
185
                                                <family>$family</family>
186
                                                <genus>$genus</genus>
187
                                                <specific_epithet>$specificEpithet</specific_epithet>
188
                                                <subspecies>$subspecies</subspecies>
189
                                                <taxonname>$taxonName</taxonname>
190
                                            </taxonverbatim>
191
                                        </taxonverbatim_id>
192
                                        <determinationdate>
193
                                            <_date>
194
                                                <day>
195
                                                    <_nullIf>
196
                                                        <null>0</null>
197
                                                        <type>float</type>
198
                                                        <value>$dayIdentified</value>
199
                                                    </_nullIf>
200
                                                </day>
201
                                                <month>
202
                                                    <_nullIf>
203
                                                        <null>0</null>
204
                                                        <type>float</type>
205
                                                        <value>$monthIdentified</value>
206
                                                    </_nullIf>
207
                                                </month>
208
                                                <year>
209
                                                    <_nullIf>
210
                                                        <null>0</null>
211
                                                        <type>float</type>
212
                                                        <value>$yearIdentified</value>
213
                                                    </_nullIf>
214
                                                </year>
215
                                            </_date>
216
                                        </determinationdate>
217
                                    </taxondetermination>
218
                                </taxonoccurrence>
219
                            </locationevent>
220
                            <waterdepth_m>
221
                                <_avg>
222
                                    <1>$minimumDepthInMeters</1>
223
                                    <2>$maximumDepthInMeters</2>
224
                                </_avg>
225
                            </waterdepth_m>
226
                        </locationevent>
227
                        <locationnarrative>$locality</locationnarrative>
228
                        <locationplace>
229
                            <place_id>
230
                                <place>
231
                                    <coordinates_id>
232
                                        <coordinates>
233
                                            <latitude_deg>
234
                                                <_nullIf>
235
                                                    <null>0</null>
236
                                                    <type>float</type>
237
                                                    <value>$decimalLatitude</value>
238
                                                </_nullIf>
239
                                            </latitude_deg>
240
                                            <longitude_deg>
241
                                                <_nullIf>
242
                                                    <null>0</null>
243
                                                    <type>float</type>
244
                                                    <value>$decimalLongitude</value>
245
                                                </_nullIf>
246
                                            </longitude_deg>
247
                                        </coordinates>
248
                                    </coordinates_id>
249
                                    <continent>$continent</continent>
250
                                    <country>$country</country>
251
                                    <county>$county</county>
252
                                    <matched_place_id>
253
                                        <place>
254
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
255
                                            <coordinates_id>
256
                                                <coordinates>
257
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
258
                                                    <latitude_deg>
259
                                                        <_nullIf>
260
                                                            <null>0</null>
261
                                                            <type>float</type>
262
                                                            <value>$decimalLatitude</value>
263
                                                        </_nullIf>
264
                                                    </latitude_deg>
265
                                                    <longitude_deg>
266
                                                        <_nullIf>
267
                                                            <null>0</null>
268
                                                            <type>float</type>
269
                                                            <value>$decimalLongitude</value>
270
                                                        </_nullIf>
271
                                                    </longitude_deg>
272
                                                </coordinates>
273
                                            </coordinates_id>
274
                                            <country>$country</country>
275
                                            <county>$county</county>
276
                                            <stateprovince>$stateProvince</stateprovince>
277
                                        </place>
278
                                    </matched_place_id>
279
                                    <stateprovince>$stateProvince</stateprovince>
280
                                </place>
281
                            </place_id>
282
                        </locationplace>
283
                    </location>
284
                </path>
285
            </_simplifyPath>
286
        </path>
287
    </_setDefault>
288
</VegBIEN>
289
Inserted 3 new rows into database
(9-9/10)