Project

General

Profile

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