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