Project

General

Profile

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