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
                                                <taxonname>$taxonName</taxonname>
189
                                            </taxonverbatim>
190
                                        </taxonverbatim_id>
191
                                        <determinationdate>
192
                                            <_date>
193
                                                <day>
194
                                                    <_nullIf>
195
                                                        <null>0</null>
196
                                                        <type>float</type>
197
                                                        <value>$dayIdentified</value>
198
                                                    </_nullIf>
199
                                                </day>
200
                                                <month>
201
                                                    <_nullIf>
202
                                                        <null>0</null>
203
                                                        <type>float</type>
204
                                                        <value>$monthIdentified</value>
205
                                                    </_nullIf>
206
                                                </month>
207
                                                <year>
208
                                                    <_nullIf>
209
                                                        <null>0</null>
210
                                                        <type>float</type>
211
                                                        <value>$yearIdentified</value>
212
                                                    </_nullIf>
213
                                                </year>
214
                                            </_date>
215
                                        </determinationdate>
216
                                    </taxondetermination>
217
                                </taxonoccurrence>
218
                            </locationevent>
219
                            <waterdepth_m>
220
                                <_avg>
221
                                    <1>$minimumDepthInMeters</1>
222
                                    <2>$maximumDepthInMeters</2>
223
                                </_avg>
224
                            </waterdepth_m>
225
                        </locationevent>
226
                        <locationnarrative>$locality</locationnarrative>
227
                        <locationplace>
228
                            <place_id>
229
                                <place>
230
                                    <coordinates_id>
231
                                        <coordinates>
232
                                            <latitude_deg>
233
                                                <_nullIf>
234
                                                    <null>0</null>
235
                                                    <type>float</type>
236
                                                    <value>$decimalLatitude</value>
237
                                                </_nullIf>
238
                                            </latitude_deg>
239
                                            <longitude_deg>
240
                                                <_nullIf>
241
                                                    <null>0</null>
242
                                                    <type>float</type>
243
                                                    <value>$decimalLongitude</value>
244
                                                </_nullIf>
245
                                            </longitude_deg>
246
                                        </coordinates>
247
                                    </coordinates_id>
248
                                    <continent>$continent</continent>
249
                                    <country>$country</country>
250
                                    <county>$county</county>
251
                                    <matched_place_id>
252
                                        <place>
253
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
254
                                            <coordinates_id>
255
                                                <coordinates>
256
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
257
                                                    <latitude_deg>
258
                                                        <_nullIf>
259
                                                            <null>0</null>
260
                                                            <type>float</type>
261
                                                            <value>$decimalLatitude</value>
262
                                                        </_nullIf>
263
                                                    </latitude_deg>
264
                                                    <longitude_deg>
265
                                                        <_nullIf>
266
                                                            <null>0</null>
267
                                                            <type>float</type>
268
                                                            <value>$decimalLongitude</value>
269
                                                        </_nullIf>
270
                                                    </longitude_deg>
271
                                                </coordinates>
272
                                            </coordinates_id>
273
                                            <country>$country</country>
274
                                            <county>$county</county>
275
                                            <stateprovince>$stateProvince</stateprovince>
276
                                        </place>
277
                                    </matched_place_id>
278
                                    <stateprovince>$stateProvince</stateprovince>
279
                                </place>
280
                            </place_id>
281
                        </locationplace>
282
                    </location>
283
                </path>
284
            </_simplifyPath>
285
        </path>
286
    </_setDefault>
287
</VegBIEN>
288
Inserted 3 new rows into database
(8-8/9)