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