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 7610 aaronmk
                                        <reproductivecondition>$reproductiveCondition</reproductivecondition>
72 6403 aaronmk
                                        <specimenreplicate>
73
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
74
                                            <collectioncode_dwc>
75
                                                <_join>
76
                                                    <1>$collectionCode</1>
77
                                                    <2>$collectionID</2>
78
                                                </_join>
79
                                            </collectioncode_dwc>
80 7198 aaronmk
                                            <collectionnumber>$recordNumber</collectionnumber>
81 6403 aaronmk
                                            <institution_id>
82 6791 aaronmk
                                                <sourcelist>
83 6403 aaronmk
                                                    <name>$institutionCode</name>
84 6791 aaronmk
                                                    <sourcename>
85 6795 aaronmk
                                                        <name>
86
                                                            <_split>
87 7433 aaronmk
                                                                <separator>[,;] *</separator>
88 6795 aaronmk
                                                                <value>$institutionCode</value>
89
                                                            </_split>
90
                                                        </name>
91 6791 aaronmk
                                                    </sourcename>
92
                                                </sourcelist>
93 6403 aaronmk
                                            </institution_id>
94
                                            <sourceaccessioncode>$id</sourceaccessioncode>
95
                                        </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
                                <sourceaccessioncode>$id</sourceaccessioncode>
116
                                <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 6403 aaronmk
                                                                                    <2>$genus</2>
199
                                                                                    <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
                            </_merge>
245
                        </locationnarrative>
246
                        <locationplace>
247
                            <place_id>
248 6342 aaronmk
                                <place>
249
                                    <coordinates_id>
250
                                        <coordinates>
251 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
252 6342 aaronmk
                                            <latitude_deg>
253
                                                <_nullIf>
254
                                                    <null>0</null>
255
                                                    <type>float</type>
256
                                                    <value>$decimalLatitude</value>
257
                                                </_nullIf>
258
                                            </latitude_deg>
259
                                            <longitude_deg>
260
                                                <_nullIf>
261
                                                    <null>0</null>
262
                                                    <type>float</type>
263
                                                    <value>$decimalLongitude</value>
264
                                                </_nullIf>
265
                                            </longitude_deg>
266 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
267 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
268
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
269 6342 aaronmk
                                        </coordinates>
270
                                    </coordinates_id>
271 6403 aaronmk
                                    <continent>$continent</continent>
272 6342 aaronmk
                                    <country>$country</country>
273
                                    <county>$county</county>
274 6403 aaronmk
                                    <matched_place_id>
275
                                        <place>
276
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
277
                                            <coordinates_id>
278
                                                <coordinates>
279
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
280
                                                    <latitude_deg>
281
                                                        <_nullIf>
282
                                                            <null>0</null>
283
                                                            <type>float</type>
284
                                                            <value>$decimalLatitude</value>
285
                                                        </_nullIf>
286
                                                    </latitude_deg>
287
                                                    <longitude_deg>
288
                                                        <_nullIf>
289
                                                            <null>0</null>
290
                                                            <type>float</type>
291
                                                            <value>$decimalLongitude</value>
292
                                                        </_nullIf>
293
                                                    </longitude_deg>
294
                                                </coordinates>
295
                                            </coordinates_id>
296
                                            <country>$country</country>
297
                                            <county>$county</county>
298
                                            <stateprovince>$stateProvince</stateprovince>
299
                                        </place>
300
                                    </matched_place_id>
301 6342 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
302
                                </place>
303 6403 aaronmk
                            </place_id>
304
                        </locationplace>
305 7469 aaronmk
                        <notespublic>$locationRemarks</notespublic>
306 6403 aaronmk
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
307
                    </location>
308
                </path>
309
            </_simplifyPath>
310 6342 aaronmk
        </path>
311 6403 aaronmk
    </_setDefault>
312 6342 aaronmk
</VegBIEN>
313 7162 aaronmk
Inserted 38 new rows into database