Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>ACAD</shortname></source></source_id>
5 4621 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$id</1>
13 4621 aaronmk
                                <2>
14
                                    <_join>
15 7856 aaronmk
                                        <1>
16
                                            <_map>
17
                                                <Acadia University>ACAD</Acadia University>
18
                                                <*>*</*>
19
                                                <value>$institutionCode</value>
20
                                            </_map>
21
                                        </1>
22 6403 aaronmk
                                        <2>
23
                                            <_join>
24
                                                <1>$collectionCode</1>
25
                                                <2>$collectionID</2>
26
                                            </_join>
27
                                        </2>
28
                                        <3>$catalogNumber</3>
29 4621 aaronmk
                                    </_join>
30
                                </2>
31 6403 aaronmk
                            </_alt>
32
                        </authorlocationcode>
33 6596 aaronmk
                        <accessconditions>$rights</accessconditions>
34 6403 aaronmk
                        <elevation_m>
35
                            <_units>
36
                                <to>m</to>
37
                                <to></to>
38
                                <value>$verbatimElevation</value>
39
                            </_units>
40
                        </elevation_m>
41 6432 aaronmk
                        <iscultivated>
42
                            <_locationnarrative_is_cultivated>
43
                                <locationnarrative>
44
                                    <_join>
45
                                        <1>$locality</1>
46
                                        <3>$habitat</3>
47
                                    </_join>
48
                                </locationnarrative>
49
                            </_locationnarrative_is_cultivated>
50
                        </iscultivated>
51 6403 aaronmk
                        <locationevent>
52
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
53
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
54
                            <taxonoccurrence>
55
                                <aggregateoccurrence>
56 7713 aaronmk
                                    <notes>$occurrenceRemarks</notes>
57 6403 aaronmk
                                    <plantobservation>
58 7190 aaronmk
                                        <authorplantcode>$recordNumber</authorplantcode>
59 7610 aaronmk
                                        <reproductivecondition>$reproductiveCondition</reproductivecondition>
60 6403 aaronmk
                                        <specimenreplicate>
61
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
62
                                            <collectioncode_dwc>
63 7712 aaronmk
                                                <_alt>
64 6403 aaronmk
                                                    <1>$collectionCode</1>
65
                                                    <2>$collectionID</2>
66 7712 aaronmk
                                                </_alt>
67 6403 aaronmk
                                            </collectioncode_dwc>
68 7198 aaronmk
                                            <collectionnumber>$recordNumber</collectionnumber>
69 6403 aaronmk
                                            <institution_id>
70 6791 aaronmk
                                                <sourcelist>
71 7856 aaronmk
                                                    <name>
72
                                                        <_map>
73
                                                            <Acadia University>ACAD</Acadia University>
74
                                                            <*>*</*>
75
                                                            <value>$institutionCode</value>
76
                                                        </_map>
77
                                                    </name>
78 6791 aaronmk
                                                    <sourcename>
79 6795 aaronmk
                                                        <name>
80
                                                            <_split>
81 7433 aaronmk
                                                                <separator>[,;] *</separator>
82 7856 aaronmk
                                                                <value>
83
                                                                    <_map>
84
                                                                        <Acadia University>ACAD</Acadia University>
85
                                                                        <*>*</*>
86
                                                                        <value>$institutionCode</value>
87
                                                                    </_map>
88
                                                                </value>
89 6795 aaronmk
                                                            </_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
                                <sourceaccessioncode>$id</sourceaccessioncode>
100
                                <taxondetermination>
101
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
102
                                    <taxonverbatim_id>
103
                                        <taxonverbatim>
104
                                            <taxonlabel_id>
105 5657 aaronmk
                                                <taxonlabel>
106 5294 aaronmk
                                                    <parent_id>
107 5608 aaronmk
                                                        <taxonlabel>
108 6403 aaronmk
                                                            <rank>$taxonRank</rank>
109 5294 aaronmk
                                                            <parent_id>
110 5608 aaronmk
                                                                <taxonlabel>
111 6403 aaronmk
                                                                    <rank>cultivar</rank>
112 5294 aaronmk
                                                                    <parent_id>
113 5608 aaronmk
                                                                        <taxonlabel>
114 6403 aaronmk
                                                                            <rank>forma</rank>
115 5294 aaronmk
                                                                            <parent_id>
116 5608 aaronmk
                                                                                <taxonlabel>
117 6403 aaronmk
                                                                                    <rank>variety</rank>
118 5294 aaronmk
                                                                                    <parent_id>
119 5608 aaronmk
                                                                                        <taxonlabel>
120 6403 aaronmk
                                                                                            <rank>subspecies</rank>
121 5294 aaronmk
                                                                                            <parent_id>
122 5608 aaronmk
                                                                                                <taxonlabel>
123 6403 aaronmk
                                                                                                    <rank>species</rank>
124
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
125 5294 aaronmk
                                                                                                    <parent_id>
126 5608 aaronmk
                                                                                                        <taxonlabel>
127 6403 aaronmk
                                                                                                            <rank>genus</rank>
128
                                                                                                            <taxonepithet>$genus</taxonepithet>
129 5294 aaronmk
                                                                                                            <parent_id>
130 5608 aaronmk
                                                                                                                <taxonlabel>
131 6403 aaronmk
                                                                                                                    <rank>family</rank>
132
                                                                                                                    <taxonepithet>$family</taxonepithet>
133 5294 aaronmk
                                                                                                                    <parent_id>
134 5608 aaronmk
                                                                                                                        <taxonlabel>
135 6403 aaronmk
                                                                                                                            <rank>order</rank>
136
                                                                                                                            <taxonepithet>$order</taxonepithet>
137 5306 aaronmk
                                                                                                                            <parent_id>
138 5608 aaronmk
                                                                                                                                <taxonlabel>
139 6403 aaronmk
                                                                                                                                    <rank>class</rank>
140
                                                                                                                                    <taxonepithet>$class</taxonepithet>
141 5657 aaronmk
                                                                                                                                    <parent_id>
142
                                                                                                                                        <taxonlabel>
143 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
144
                                                                                                                                            <taxonepithet>$phylum</taxonepithet>
145
                                                                                                                                            <parent_id>
146
                                                                                                                                                <taxonlabel>
147
                                                                                                                                                    <rank>kingdom</rank>
148
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
149
                                                                                                                                                </taxonlabel>
150
                                                                                                                                            </parent_id>
151 5657 aaronmk
                                                                                                                                        </taxonlabel>
152
                                                                                                                                    </parent_id>
153 5608 aaronmk
                                                                                                                                </taxonlabel>
154 5306 aaronmk
                                                                                                                            </parent_id>
155 5608 aaronmk
                                                                                                                        </taxonlabel>
156 5294 aaronmk
                                                                                                                    </parent_id>
157 5608 aaronmk
                                                                                                                </taxonlabel>
158 5294 aaronmk
                                                                                                            </parent_id>
159 5608 aaronmk
                                                                                                        </taxonlabel>
160 5294 aaronmk
                                                                                                    </parent_id>
161 5608 aaronmk
                                                                                                </taxonlabel>
162 5294 aaronmk
                                                                                            </parent_id>
163 5608 aaronmk
                                                                                        </taxonlabel>
164 5294 aaronmk
                                                                                    </parent_id>
165 5608 aaronmk
                                                                                </taxonlabel>
166 5294 aaronmk
                                                                            </parent_id>
167 5608 aaronmk
                                                                        </taxonlabel>
168 5294 aaronmk
                                                                    </parent_id>
169 5608 aaronmk
                                                                </taxonlabel>
170 5294 aaronmk
                                                            </parent_id>
171 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
172 5608 aaronmk
                                                        </taxonlabel>
173 5294 aaronmk
                                                    </parent_id>
174 6403 aaronmk
                                                    <rank>$taxonRank</rank>
175
                                                    <taxonomicname>
176 7142 aaronmk
                                                        <_merge_prefix>
177
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
178
                                                            <value>
179 6403 aaronmk
                                                                <_alt>
180
                                                                    <1>$scientificName</1>
181
                                                                    <2>
182 5657 aaronmk
                                                                        <_join_words>
183 6403 aaronmk
                                                                            <1>
184 5788 aaronmk
                                                                                <_join_words>
185 9882 aaronmk
                                                                                    <2><_filter_genus><value>$genus</value></_filter_genus></2>
186 6403 aaronmk
                                                                                    <3>$specificEpithet</3>
187
                                                                                    <5>
188
                                                                                        <_join_words>
189
                                                                                            <1>
190
                                                                                                <_if name="if has infraspecificEpithet">
191
                                                                                                    <cond>$infraspecificEpithet</cond>
192
                                                                                                    <then>$taxonRank</then>
193
                                                                                                </_if>
194
                                                                                            </1>
195
                                                                                            <2>$infraspecificEpithet</2>
196
                                                                                        </_join_words>
197
                                                                                    </5>
198 5788 aaronmk
                                                                                </_join_words>
199 6403 aaronmk
                                                                            </1>
200
                                                                            <2>$scientificNameAuthorship</2>
201 5657 aaronmk
                                                                        </_join_words>
202 6403 aaronmk
                                                                    </2>
203
                                                                </_alt>
204 7142 aaronmk
                                                            </value>
205
                                                        </_merge_prefix>
206 6403 aaronmk
                                                    </taxonomicname>
207
                                                </taxonlabel>
208
                                            </taxonlabel_id>
209
                                            <author>$scientificNameAuthorship</author>
210
                                            <family>$family</family>
211
                                            <genus>$genus</genus>
212
                                            <specific_epithet>$specificEpithet</specific_epithet>
213
                                            <taxonomicname>$scientificName</taxonomicname>
214
                                            <verbatimrank>$taxonRank</verbatimrank>
215
                                        </taxonverbatim>
216
                                    </taxonverbatim_id>
217
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
218
                                </taxondetermination>
219
                            </taxonoccurrence>
220
                        </locationevent>
221
                        <locationnarrative>
222
                            <_merge>
223
                                <1>$locality</1>
224
                                <3>
225
                                    <_label>
226
                                        <label>habitat</label>
227
                                        <value>$habitat</value>
228
                                    </_label>
229
                                </3>
230 8078 aaronmk
                                <4>$locationRemarks</4>
231 6403 aaronmk
                            </_merge>
232
                        </locationnarrative>
233
                        <locationplace>
234
                            <place_id>
235 5958 aaronmk
                                <place>
236
                                    <coordinates_id>
237
                                        <coordinates>
238 5969 aaronmk
                                            <latitude_deg>
239
                                                <_nullIf>
240
                                                    <null>0</null>
241
                                                    <type>float</type>
242
                                                    <value>$decimalLatitude</value>
243
                                                </_nullIf>
244
                                            </latitude_deg>
245
                                            <longitude_deg>
246
                                                <_nullIf>
247
                                                    <null>0</null>
248
                                                    <type>float</type>
249
                                                    <value>$decimalLongitude</value>
250
                                                </_nullIf>
251
                                            </longitude_deg>
252 5958 aaronmk
                                        </coordinates>
253
                                    </coordinates_id>
254 6403 aaronmk
                                    <continent>$continent</continent>
255 5958 aaronmk
                                    <country>$country</country>
256 6294 aaronmk
                                    <county>$county</county>
257 6403 aaronmk
                                    <matched_place_id>
258
                                        <place>
259
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
260
                                            <coordinates_id>
261
                                                <coordinates>
262
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
263
                                                    <latitude_deg>
264
                                                        <_nullIf>
265
                                                            <null>0</null>
266
                                                            <type>float</type>
267
                                                            <value>$decimalLatitude</value>
268
                                                        </_nullIf>
269
                                                    </latitude_deg>
270
                                                    <longitude_deg>
271
                                                        <_nullIf>
272
                                                            <null>0</null>
273
                                                            <type>float</type>
274
                                                            <value>$decimalLongitude</value>
275
                                                        </_nullIf>
276
                                                    </longitude_deg>
277
                                                </coordinates>
278
                                            </coordinates_id>
279
                                            <country>$country</country>
280
                                            <county>$county</county>
281
                                            <stateprovince>$stateProvince</stateprovince>
282
                                        </place>
283
                                    </matched_place_id>
284 5958 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
285
                                </place>
286 6403 aaronmk
                            </place_id>
287
                        </locationplace>
288
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
289
                    </location>
290
                </path>
291
            </_simplifyPath>
292 4621 aaronmk
        </path>
293 6403 aaronmk
    </_setDefault>
294 3641 aaronmk
</VegBIEN>
295 7162 aaronmk
Inserted 42 new rows into database