Project

General

Profile

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