Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <col>source_id</col>
5
        <value><source><shortname>JBM</shortname></source></value>
6
        <path>
7
            <_simplifyPath>
8
                <next>parent_id</next>
9
                <path>
10
                    <location>
11
                        <authorlocationcode>
12
                            <_alt>
13
                                <1>$id</1>
14
                                <2>
15
                                    <_join>
16
                                        <1>$institutionCode</1>
17
                                        <2>
18
                                            <_join>
19
                                                <1>$collectionCode</1>
20
                                                <2>$collectionID</2>
21
                                            </_join>
22
                                        </2>
23
                                        <3>$catalogNumber</3>
24
                                    </_join>
25
                                </2>
26
                            </_alt>
27
                        </authorlocationcode>
28
                        <elevation_m><_avg><min>$minimumElevationInMeters</min></_avg></elevation_m>
29
                        <locationevent>
30
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
31
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
32
                            <taxonoccurrence>
33
                                <aggregateoccurrence>
34
                                    <plantobservation>
35
                                        <collectionnumber>$recordNumber</collectionnumber>
36
                                        <definedvalue fkey="tablerecord_id">
37
                                            <userdefined_id>
38
                                                <userdefined>
39
                                                    <tablename>plantobservation</tablename>
40
                                                    <userdefinedname>sex</userdefinedname>
41
                                                </userdefined>
42
                                            </userdefined_id>
43
                                            <definedvalue>$sex</definedvalue>
44
                                        </definedvalue>
45
                                        <specimenreplicate>
46
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
47
                                            <collectioncode_dwc>
48
                                                <_join>
49
                                                    <1>$collectionCode</1>
50
                                                    <2>$collectionID</2>
51
                                                </_join>
52
                                            </collectioncode_dwc>
53
                                            <institution_id>
54
                                                <sourcename>
55
                                                    <matched_source_id><source><shortname>$institutionCode</shortname></source></matched_source_id>
56
                                                    <name>$institutionCode</name>
57
                                                </sourcename>
58
                                            </institution_id>
59
                                            <sourceaccessioncode>$id</sourceaccessioncode>
60
                                        </specimenreplicate>
61
                                    </plantobservation>
62
                                </aggregateoccurrence>
63
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
64
                                <sourceaccessioncode>$id</sourceaccessioncode>
65
                                <taxondetermination>
66
                                    <taxonverbatim_id>
67
                                        <taxonverbatim>
68
                                            <taxonlabel_id>
69
                                                <taxonlabel>
70
                                                    <matched_label_id>
71
                                                        <taxonlabel>
72
                                                            <source_id><source><shortname>TNRS</shortname></source></source_id>
73
                                                            <taxonomicname>
74
                                                                <_join_words>
75
                                                                    <1>
76
                                                                        <_taxon_family_require_std>
77
                                                                            <family>
78
                                                                                <_nullIf>
79
                                                                                    <null>$scientificName</null>
80
                                                                                    <value>$family</value>
81
                                                                                </_nullIf>
82
                                                                            </family>
83
                                                                        </_taxon_family_require_std>
84
                                                                    </1>
85
                                                                    <2>
86
                                                                        <_alt>
87
                                                                            <1>$scientificName</1>
88
                                                                            <2>
89
                                                                                <_join_words>
90
                                                                                    <2>$genus</2>
91
                                                                                    <3>$specificEpithet</3>
92
                                                                                </_join_words>
93
                                                                            </2>
94
                                                                        </_alt>
95
                                                                    </2>
96
                                                                </_join_words>
97
                                                            </taxonomicname>
98
                                                        </taxonlabel>
99
                                                    </matched_label_id>
100
                                                    <parent_id>
101
                                                        <taxonlabel>
102
                                                            <parent_id>
103
                                                                <taxonlabel>
104
                                                                    <rank>cultivar</rank>
105
                                                                    <parent_id>
106
                                                                        <taxonlabel>
107
                                                                            <rank>forma</rank>
108
                                                                            <parent_id>
109
                                                                                <taxonlabel>
110
                                                                                    <rank>variety</rank>
111
                                                                                    <parent_id>
112
                                                                                        <taxonlabel>
113
                                                                                            <rank>subspecies</rank>
114
                                                                                            <parent_id>
115
                                                                                                <taxonlabel>
116
                                                                                                    <rank>species</rank>
117
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
118
                                                                                                    <parent_id>
119
                                                                                                        <taxonlabel>
120
                                                                                                            <rank>genus</rank>
121
                                                                                                            <taxonepithet>$genus</taxonepithet>
122
                                                                                                            <parent_id>
123
                                                                                                                <taxonlabel>
124
                                                                                                                    <rank>family</rank>
125
                                                                                                                    <taxonepithet>$family</taxonepithet>
126
                                                                                                                    <parent_id>
127
                                                                                                                        <taxonlabel>
128
                                                                                                                            <rank>order</rank>
129
                                                                                                                            <taxonepithet>$order</taxonepithet>
130
                                                                                                                            <parent_id>
131
                                                                                                                                <taxonlabel>
132
                                                                                                                                    <rank>class</rank>
133
                                                                                                                                    <parent_id>
134
                                                                                                                                        <taxonlabel>
135
                                                                                                                                            <rank>phylum</rank>
136
                                                                                                                                            <parent_id>
137
                                                                                                                                                <taxonlabel>
138
                                                                                                                                                    <rank>kingdom</rank>
139
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
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
                                                                </taxonlabel>
161
                                                            </parent_id>
162
                                                        </taxonlabel>
163
                                                    </parent_id>
164
                                                    <taxonomicname>
165
                                                        <_join_words>
166
                                                            <1>
167
                                                                <_taxon_family_require_std>
168
                                                                    <family>
169
                                                                        <_nullIf>
170
                                                                            <null>$scientificName</null>
171
                                                                            <value>$family</value>
172
                                                                        </_nullIf>
173
                                                                    </family>
174
                                                                </_taxon_family_require_std>
175
                                                            </1>
176
                                                            <2>
177
                                                                <_alt>
178
                                                                    <1>$scientificName</1>
179
                                                                    <2>
180
                                                                        <_join_words>
181
                                                                            <2>$genus</2>
182
                                                                            <3>$specificEpithet</3>
183
                                                                        </_join_words>
184
                                                                    </2>
185
                                                                </_alt>
186
                                                            </2>
187
                                                        </_join_words>
188
                                                    </taxonomicname>
189
                                                </taxonlabel>
190
                                            </taxonlabel_id>
191
                                            <family>$family</family>
192
                                            <genus>$genus</genus>
193
                                            <specific_epithet>$specificEpithet</specific_epithet>
194
                                            <taxonomicname>$scientificName</taxonomicname>
195
                                        </taxonverbatim>
196
                                    </taxonverbatim_id>
197
                                </taxondetermination>
198
                            </taxonoccurrence>
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
                            </_merge>
210
                        </locationnarrative>
211
                        <locationplace>
212
                            <place_id>
213
                                <place>
214
                                    <coordinates_id>
215
                                        <coordinates>
216
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
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
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
232
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
233
                                        </coordinates>
234
                                    </coordinates_id>
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
                    </location>
269
                </path>
270
            </_simplifyPath>
271
        </path>
272
    </_setDefault>
273
</VegBIEN>
274
Inserted 38 new rows into database
(4-4/5)