Project

General

Profile

1 6342 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>TRT</shortname></source></source_id>
5 6342 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$id</1>
13 6342 aaronmk
                                <2>
14
                                    <_join>
15 6403 aaronmk
                                        <1>$institutionCode</1>
16
                                        <2>
17
                                            <_join>
18
                                                <1>$collectionCode</1>
19
                                                <2>$collectionID</2>
20
                                            </_join>
21
                                        </2>
22
                                        <3>$catalogNumber</3>
23 6342 aaronmk
                                    </_join>
24
                                </2>
25 6403 aaronmk
                            </_alt>
26
                        </authorlocationcode>
27 6596 aaronmk
                        <accessconditions>$rights</accessconditions>
28 6403 aaronmk
                        <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 6432 aaronmk
                        <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 6403 aaronmk
                        <locationevent>
56
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
57
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
58
                            <taxonoccurrence>
59
                                <aggregateoccurrence>
60
                                    <plantobservation>
61 7190 aaronmk
                                        <authorplantcode>$recordNumber</authorplantcode>
62 6403 aaronmk
                                        <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 7198 aaronmk
                                            <collectionnumber>$recordNumber</collectionnumber>
80 6403 aaronmk
                                            <institution_id>
81 6791 aaronmk
                                                <sourcelist>
82 6403 aaronmk
                                                    <name>$institutionCode</name>
83 6791 aaronmk
                                                    <sourcename>
84 6795 aaronmk
                                                        <name>
85
                                                            <_split>
86 7433 aaronmk
                                                                <separator>[,;] *</separator>
87 6795 aaronmk
                                                                <value>$institutionCode</value>
88
                                                            </_split>
89
                                                        </name>
90 6791 aaronmk
                                                    </sourcename>
91
                                                </sourcelist>
92 6403 aaronmk
                                            </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 6342 aaronmk
                                                <taxonlabel>
121
                                                    <parent_id>
122
                                                        <taxonlabel>
123 6403 aaronmk
                                                            <rank>$taxonRank</rank>
124 6342 aaronmk
                                                            <parent_id>
125
                                                                <taxonlabel>
126 6403 aaronmk
                                                                    <rank>cultivar</rank>
127 6342 aaronmk
                                                                    <parent_id>
128
                                                                        <taxonlabel>
129 6403 aaronmk
                                                                            <rank>forma</rank>
130 6342 aaronmk
                                                                            <parent_id>
131
                                                                                <taxonlabel>
132 6403 aaronmk
                                                                                    <rank>variety</rank>
133 6342 aaronmk
                                                                                    <parent_id>
134
                                                                                        <taxonlabel>
135 6403 aaronmk
                                                                                            <rank>subspecies</rank>
136 6342 aaronmk
                                                                                            <parent_id>
137
                                                                                                <taxonlabel>
138 6403 aaronmk
                                                                                                    <rank>species</rank>
139
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
140 6342 aaronmk
                                                                                                    <parent_id>
141
                                                                                                        <taxonlabel>
142 6403 aaronmk
                                                                                                            <rank>genus</rank>
143
                                                                                                            <taxonepithet>$genus</taxonepithet>
144 6342 aaronmk
                                                                                                            <parent_id>
145
                                                                                                                <taxonlabel>
146 6403 aaronmk
                                                                                                                    <rank>family</rank>
147
                                                                                                                    <taxonepithet>$family</taxonepithet>
148 6342 aaronmk
                                                                                                                    <parent_id>
149
                                                                                                                        <taxonlabel>
150 6403 aaronmk
                                                                                                                            <rank>order</rank>
151 6342 aaronmk
                                                                                                                            <parent_id>
152
                                                                                                                                <taxonlabel>
153 6403 aaronmk
                                                                                                                                    <rank>class</rank>
154 6342 aaronmk
                                                                                                                                    <parent_id>
155
                                                                                                                                        <taxonlabel>
156 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
157
                                                                                                                                            <parent_id>
158
                                                                                                                                                <taxonlabel>
159
                                                                                                                                                    <rank>kingdom</rank>
160
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
161
                                                                                                                                                </taxonlabel>
162
                                                                                                                                            </parent_id>
163 6342 aaronmk
                                                                                                                                        </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 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
184 6342 aaronmk
                                                        </taxonlabel>
185
                                                    </parent_id>
186 6403 aaronmk
                                                    <rank>$taxonRank</rank>
187
                                                    <taxonomicname>
188 7142 aaronmk
                                                        <_merge_prefix>
189
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
190
                                                            <value>
191 6403 aaronmk
                                                                <_alt>
192
                                                                    <1>$scientificName</1>
193
                                                                    <2>
194 6342 aaronmk
                                                                        <_join_words>
195 6403 aaronmk
                                                                            <1>
196 6342 aaronmk
                                                                                <_join_words>
197 6403 aaronmk
                                                                                    <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 6342 aaronmk
                                                                                </_join_words>
211 6403 aaronmk
                                                                            </1>
212
                                                                            <2>$scientificNameAuthorship</2>
213 6342 aaronmk
                                                                        </_join_words>
214 6403 aaronmk
                                                                    </2>
215
                                                                </_alt>
216 7142 aaronmk
                                                            </value>
217
                                                        </_merge_prefix>
218 6403 aaronmk
                                                    </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 6342 aaronmk
                                <place>
248
                                    <coordinates_id>
249
                                        <coordinates>
250 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
251 6342 aaronmk
                                            <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 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
266 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
267
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
268 6342 aaronmk
                                        </coordinates>
269
                                    </coordinates_id>
270 6403 aaronmk
                                    <continent>$continent</continent>
271 6342 aaronmk
                                    <country>$country</country>
272
                                    <county>$county</county>
273 6403 aaronmk
                                    <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 6342 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
301
                                </place>
302 6403 aaronmk
                            </place_id>
303
                        </locationplace>
304 7469 aaronmk
                        <notespublic>$locationRemarks</notespublic>
305 6403 aaronmk
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
306
                    </location>
307
                </path>
308
            </_simplifyPath>
309 6342 aaronmk
        </path>
310 6403 aaronmk
    </_setDefault>
311 6342 aaronmk
</VegBIEN>
312 7162 aaronmk
Inserted 38 new rows into database