Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>TRT</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$id</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$institutionCode</1>
16
                                        <2>
17
                                            <_join>
18
                                                <1>$collectionCode</1>
19
                                                <2>$collectionID</2>
20
                                            </_join>
21
                                        </2>
22
                                        <3>$catalogNumber</3>
23
                                    </_join>
24
                                </2>
25
                            </_alt>
26
                        </authorlocationcode>
27
                        <accessconditions>$rights</accessconditions>
28
                        <elevation_m>
29
                            <_alt>
30
                                <1>
31
                                    <_units>
32
                                        <to>m</to>
33
                                        <to></to>
34
                                        <value>$verbatimElevation</value>
35
                                    </_units>
36
                                </1>
37
                                <2>
38
                                    <_avg>
39
                                        <max>$maximumElevationInMeters</max>
40
                                        <min>$minimumElevationInMeters</min>
41
                                    </_avg>
42
                                </2>
43
                            </_alt>
44
                        </elevation_m>
45
                        <iscultivated>
46
                            <_locationnarrative_is_cultivated>
47
                                <locationnarrative>
48
                                    <_join>
49
                                        <1>$locality</1>
50
                                        <3>$habitat</3>
51
                                    </_join>
52
                                </locationnarrative>
53
                            </_locationnarrative_is_cultivated>
54
                        </iscultivated>
55
                        <locationevent>
56
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
57
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
58
                            <taxonoccurrence>
59
                                <aggregateoccurrence>
60
                                    <plantobservation>
61
                                        <authorplantcode>$recordNumber</authorplantcode>
62
                                        <definedvalue fkey="tablerecord_id">
63
                                            <userdefined_id>
64
                                                <userdefined>
65
                                                    <tablename>plantobservation</tablename>
66
                                                    <userdefinedname>sex</userdefinedname>
67
                                                </userdefined>
68
                                            </userdefined_id>
69
                                            <definedvalue>$sex</definedvalue>
70
                                        </definedvalue>
71
                                        <specimenreplicate>
72
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
73
                                            <collectioncode_dwc>
74
                                                <_join>
75
                                                    <1>$collectionCode</1>
76
                                                    <2>$collectionID</2>
77
                                                </_join>
78
                                            </collectioncode_dwc>
79
                                            <collectionnumber>$recordNumber</collectionnumber>
80
                                            <institution_id>
81
                                                <sourcelist>
82
                                                    <name>$institutionCode</name>
83
                                                    <sourcename>
84
                                                        <name>
85
                                                            <_split>
86
                                                                <separator>[,;] *</separator>
87
                                                                <value>$institutionCode</value>
88
                                                            </_split>
89
                                                        </name>
90
                                                    </sourcename>
91
                                                </sourcelist>
92
                                            </institution_id>
93
                                            <sourceaccessioncode>$id</sourceaccessioncode>
94
                                        </specimenreplicate>
95
                                    </plantobservation>
96
                                </aggregateoccurrence>
97
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
98
                                <iscultivated>
99
                                    <_map>
100
                                        <cultivated>t</cultivated>
101
                                        <wild>f</wild>
102
                                        <*></*>
103
                                        <value>$establishmentMeans</value>
104
                                    </_map>
105
                                </iscultivated>
106
                                <isnative>
107
                                    <_map>
108
                                        <native>t</native>
109
                                        <exotic>f</exotic>
110
                                        <*></*>
111
                                        <value>$establishmentMeans</value>
112
                                    </_map>
113
                                </isnative>
114
                                <sourceaccessioncode>$id</sourceaccessioncode>
115
                                <taxondetermination>
116
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
117
                                    <taxonverbatim_id>
118
                                        <taxonverbatim>
119
                                            <taxonlabel_id>
120
                                                <taxonlabel>
121
                                                    <parent_id>
122
                                                        <taxonlabel>
123
                                                            <rank>$taxonRank</rank>
124
                                                            <parent_id>
125
                                                                <taxonlabel>
126
                                                                    <rank>cultivar</rank>
127
                                                                    <parent_id>
128
                                                                        <taxonlabel>
129
                                                                            <rank>forma</rank>
130
                                                                            <parent_id>
131
                                                                                <taxonlabel>
132
                                                                                    <rank>variety</rank>
133
                                                                                    <parent_id>
134
                                                                                        <taxonlabel>
135
                                                                                            <rank>subspecies</rank>
136
                                                                                            <parent_id>
137
                                                                                                <taxonlabel>
138
                                                                                                    <rank>species</rank>
139
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
140
                                                                                                    <parent_id>
141
                                                                                                        <taxonlabel>
142
                                                                                                            <rank>genus</rank>
143
                                                                                                            <taxonepithet>$genus</taxonepithet>
144
                                                                                                            <parent_id>
145
                                                                                                                <taxonlabel>
146
                                                                                                                    <rank>family</rank>
147
                                                                                                                    <taxonepithet>$family</taxonepithet>
148
                                                                                                                    <parent_id>
149
                                                                                                                        <taxonlabel>
150
                                                                                                                            <rank>order</rank>
151
                                                                                                                            <parent_id>
152
                                                                                                                                <taxonlabel>
153
                                                                                                                                    <rank>class</rank>
154
                                                                                                                                    <parent_id>
155
                                                                                                                                        <taxonlabel>
156
                                                                                                                                            <rank>phylum</rank>
157
                                                                                                                                            <parent_id>
158
                                                                                                                                                <taxonlabel>
159
                                                                                                                                                    <rank>kingdom</rank>
160
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
161
                                                                                                                                                </taxonlabel>
162
                                                                                                                                            </parent_id>
163
                                                                                                                                        </taxonlabel>
164
                                                                                                                                    </parent_id>
165
                                                                                                                                </taxonlabel>
166
                                                                                                                            </parent_id>
167
                                                                                                                        </taxonlabel>
168
                                                                                                                    </parent_id>
169
                                                                                                                </taxonlabel>
170
                                                                                                            </parent_id>
171
                                                                                                        </taxonlabel>
172
                                                                                                    </parent_id>
173
                                                                                                </taxonlabel>
174
                                                                                            </parent_id>
175
                                                                                        </taxonlabel>
176
                                                                                    </parent_id>
177
                                                                                </taxonlabel>
178
                                                                            </parent_id>
179
                                                                        </taxonlabel>
180
                                                                    </parent_id>
181
                                                                </taxonlabel>
182
                                                            </parent_id>
183
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
184
                                                        </taxonlabel>
185
                                                    </parent_id>
186
                                                    <rank>$taxonRank</rank>
187
                                                    <taxonomicname>
188
                                                        <_merge_prefix>
189
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
190
                                                            <value>
191
                                                                <_alt>
192
                                                                    <1>$scientificName</1>
193
                                                                    <2>
194
                                                                        <_join_words>
195
                                                                            <1>
196
                                                                                <_join_words>
197
                                                                                    <2>$genus</2>
198
                                                                                    <3>$specificEpithet</3>
199
                                                                                    <5>
200
                                                                                        <_join_words>
201
                                                                                            <1>
202
                                                                                                <_if name="if has infraspecificEpithet">
203
                                                                                                    <cond>$infraspecificEpithet</cond>
204
                                                                                                    <then>$taxonRank</then>
205
                                                                                                </_if>
206
                                                                                            </1>
207
                                                                                            <2>$infraspecificEpithet</2>
208
                                                                                        </_join_words>
209
                                                                                    </5>
210
                                                                                </_join_words>
211
                                                                            </1>
212
                                                                            <2>$scientificNameAuthorship</2>
213
                                                                        </_join_words>
214
                                                                    </2>
215
                                                                </_alt>
216
                                                            </value>
217
                                                        </_merge_prefix>
218
                                                    </taxonomicname>
219
                                                </taxonlabel>
220
                                            </taxonlabel_id>
221
                                            <author>$scientificNameAuthorship</author>
222
                                            <family>$family</family>
223
                                            <genus>$genus</genus>
224
                                            <specific_epithet>$specificEpithet</specific_epithet>
225
                                            <taxonomicname>$scientificName</taxonomicname>
226
                                            <verbatimrank>$taxonRank</verbatimrank>
227
                                        </taxonverbatim>
228
                                    </taxonverbatim_id>
229
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
230
                                    <taxonfit>$identificationQualifier</taxonfit>
231
                                </taxondetermination>
232
                            </taxonoccurrence>
233
                        </locationevent>
234
                        <locationnarrative>
235
                            <_merge>
236
                                <1>$locality</1>
237
                                <3>
238
                                    <_label>
239
                                        <label>habitat</label>
240
                                        <value>$habitat</value>
241
                                    </_label>
242
                                </3>
243
                            </_merge>
244
                        </locationnarrative>
245
                        <locationplace>
246
                            <place_id>
247
                                <place>
248
                                    <coordinates_id>
249
                                        <coordinates>
250
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
251
                                            <latitude_deg>
252
                                                <_nullIf>
253
                                                    <null>0</null>
254
                                                    <type>float</type>
255
                                                    <value>$decimalLatitude</value>
256
                                                </_nullIf>
257
                                            </latitude_deg>
258
                                            <longitude_deg>
259
                                                <_nullIf>
260
                                                    <null>0</null>
261
                                                    <type>float</type>
262
                                                    <value>$decimalLongitude</value>
263
                                                </_nullIf>
264
                                            </longitude_deg>
265
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
266
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
267
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
268
                                        </coordinates>
269
                                    </coordinates_id>
270
                                    <continent>$continent</continent>
271
                                    <country>$country</country>
272
                                    <county>$county</county>
273
                                    <matched_place_id>
274
                                        <place>
275
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
276
                                            <coordinates_id>
277
                                                <coordinates>
278
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
279
                                                    <latitude_deg>
280
                                                        <_nullIf>
281
                                                            <null>0</null>
282
                                                            <type>float</type>
283
                                                            <value>$decimalLatitude</value>
284
                                                        </_nullIf>
285
                                                    </latitude_deg>
286
                                                    <longitude_deg>
287
                                                        <_nullIf>
288
                                                            <null>0</null>
289
                                                            <type>float</type>
290
                                                            <value>$decimalLongitude</value>
291
                                                        </_nullIf>
292
                                                    </longitude_deg>
293
                                                </coordinates>
294
                                            </coordinates_id>
295
                                            <country>$country</country>
296
                                            <county>$county</county>
297
                                            <stateprovince>$stateProvince</stateprovince>
298
                                        </place>
299
                                    </matched_place_id>
300
                                    <stateprovince>$stateProvince</stateprovince>
301
                                </place>
302
                            </place_id>
303
                        </locationplace>
304
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
305
                    </location>
306
                </path>
307
            </_simplifyPath>
308
        </path>
309
    </_setDefault>
310
</VegBIEN>
311
Inserted 38 new rows into database
(4-4/5)