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