Project

General

Profile

1 6349 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>HIBG</shortname></source></source_id>
5 6349 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 6349 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 6349 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 10260 aaronmk
                                        <authorplantcode>$collectorNumber</authorplantcode>
53 7610 aaronmk
                                        <reproductivecondition>$reproductiveCondition</reproductivecondition>
54 6403 aaronmk
                                        <specimenreplicate>
55 10260 aaronmk
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
56 6403 aaronmk
                                            <collectioncode_dwc>
57 7712 aaronmk
                                                <_alt>
58 10260 aaronmk
                                                    <1>$collection</1>
59
                                                    <2>$collectionURL</2>
60 7712 aaronmk
                                                </_alt>
61 6403 aaronmk
                                            </collectioncode_dwc>
62 10260 aaronmk
                                            <collectionnumber>$collectorNumber</collectionnumber>
63 6403 aaronmk
                                            <institution_id>
64 6791 aaronmk
                                                <sourcelist>
65 10260 aaronmk
                                                    <name>$specimenHolderInstitutions</name>
66 6791 aaronmk
                                                    <sourcename>
67 6795 aaronmk
                                                        <name>
68
                                                            <_split>
69 7433 aaronmk
                                                                <separator>[,;] *</separator>
70 10260 aaronmk
                                                                <value>$specimenHolderInstitutions</value>
71 6795 aaronmk
                                                            </_split>
72
                                                        </name>
73 6791 aaronmk
                                                    </sourcename>
74
                                                </sourcelist>
75 6403 aaronmk
                                            </institution_id>
76 10260 aaronmk
                                            <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
77 6403 aaronmk
                                        </specimenreplicate>
78
                                    </plantobservation>
79
                                </aggregateoccurrence>
80
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
81 10260 aaronmk
                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
82 6403 aaronmk
                                <taxondetermination>
83
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
84
                                    <taxonverbatim_id>
85
                                        <taxonverbatim>
86
                                            <taxonlabel_id>
87 6349 aaronmk
                                                <taxonlabel>
88
                                                    <parent_id>
89
                                                        <taxonlabel>
90 6403 aaronmk
                                                            <rank>$taxonRank</rank>
91 6349 aaronmk
                                                            <parent_id>
92
                                                                <taxonlabel>
93 6403 aaronmk
                                                                    <rank>cultivar</rank>
94 6349 aaronmk
                                                                    <parent_id>
95
                                                                        <taxonlabel>
96 6403 aaronmk
                                                                            <rank>forma</rank>
97 6349 aaronmk
                                                                            <parent_id>
98
                                                                                <taxonlabel>
99 6403 aaronmk
                                                                                    <rank>variety</rank>
100 6349 aaronmk
                                                                                    <parent_id>
101
                                                                                        <taxonlabel>
102 6403 aaronmk
                                                                                            <rank>subspecies</rank>
103 6349 aaronmk
                                                                                            <parent_id>
104
                                                                                                <taxonlabel>
105 6403 aaronmk
                                                                                                    <rank>species</rank>
106
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
107 6349 aaronmk
                                                                                                    <parent_id>
108
                                                                                                        <taxonlabel>
109 6403 aaronmk
                                                                                                            <rank>genus</rank>
110
                                                                                                            <taxonepithet>$genus</taxonepithet>
111 6349 aaronmk
                                                                                                            <parent_id>
112
                                                                                                                <taxonlabel>
113 6403 aaronmk
                                                                                                                    <rank>family</rank>
114
                                                                                                                    <taxonepithet>$family</taxonepithet>
115 6349 aaronmk
                                                                                                                    <parent_id>
116
                                                                                                                        <taxonlabel>
117 6403 aaronmk
                                                                                                                            <rank>order</rank>
118
                                                                                                                            <taxonepithet>$order</taxonepithet>
119 6349 aaronmk
                                                                                                                            <parent_id>
120
                                                                                                                                <taxonlabel>
121 6403 aaronmk
                                                                                                                                    <rank>class</rank>
122
                                                                                                                                    <taxonepithet>$class</taxonepithet>
123 6349 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 6349 aaronmk
                                                                                                                                        </taxonlabel>
134
                                                                                                                                    </parent_id>
135
                                                                                                                                </taxonlabel>
136
                                                                                                                            </parent_id>
137
                                                                                                                        </taxonlabel>
138
                                                                                                                    </parent_id>
139
                                                                                                                </taxonlabel>
140
                                                                                                            </parent_id>
141
                                                                                                        </taxonlabel>
142
                                                                                                    </parent_id>
143
                                                                                                </taxonlabel>
144
                                                                                            </parent_id>
145
                                                                                        </taxonlabel>
146
                                                                                    </parent_id>
147
                                                                                </taxonlabel>
148
                                                                            </parent_id>
149
                                                                        </taxonlabel>
150
                                                                    </parent_id>
151
                                                                </taxonlabel>
152
                                                            </parent_id>
153 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
154 6349 aaronmk
                                                        </taxonlabel>
155
                                                    </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 6349 aaronmk
                                                                        <_join_words>
165 6403 aaronmk
                                                                            <1>
166 6349 aaronmk
                                                                                <_join_words>
167 9882 aaronmk
                                                                                    <2><_filter_genus><value>$genus</value></_filter_genus></2>
168 6403 aaronmk
                                                                                    <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 6349 aaronmk
                                                                                </_join_words>
181 6403 aaronmk
                                                                            </1>
182
                                                                            <2>$scientificNameAuthorship</2>
183 6349 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 8078 aaronmk
                                <4>$locationRemarks</4>
213 6403 aaronmk
                            </_merge>
214
                        </locationnarrative>
215
                        <locationplace>
216
                            <place_id>
217 6349 aaronmk
                                <place>
218
                                    <coordinates_id>
219
                                        <coordinates>
220
                                            <latitude_deg>
221
                                                <_nullIf>
222
                                                    <null>0</null>
223
                                                    <type>float</type>
224
                                                    <value>$decimalLatitude</value>
225
                                                </_nullIf>
226
                                            </latitude_deg>
227
                                            <longitude_deg>
228
                                                <_nullIf>
229
                                                    <null>0</null>
230
                                                    <type>float</type>
231
                                                    <value>$decimalLongitude</value>
232
                                                </_nullIf>
233
                                            </longitude_deg>
234 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
235 6349 aaronmk
                                        </coordinates>
236
                                    </coordinates_id>
237 6403 aaronmk
                                    <continent>$continent</continent>
238 6349 aaronmk
                                    <country>$country</country>
239
                                    <county>$county</county>
240 6403 aaronmk
                                    <matched_place_id>
241
                                        <place>
242
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
243
                                            <coordinates_id>
244
                                                <coordinates>
245
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
246
                                                    <latitude_deg>
247
                                                        <_nullIf>
248
                                                            <null>0</null>
249
                                                            <type>float</type>
250
                                                            <value>$decimalLatitude</value>
251
                                                        </_nullIf>
252
                                                    </latitude_deg>
253
                                                    <longitude_deg>
254
                                                        <_nullIf>
255
                                                            <null>0</null>
256
                                                            <type>float</type>
257
                                                            <value>$decimalLongitude</value>
258
                                                        </_nullIf>
259
                                                    </longitude_deg>
260
                                                </coordinates>
261
                                            </coordinates_id>
262
                                            <country>$country</country>
263
                                            <county>$county</county>
264
                                            <stateprovince>$stateProvince</stateprovince>
265
                                        </place>
266
                                    </matched_place_id>
267 6349 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
268
                                </place>
269 6403 aaronmk
                            </place_id>
270
                        </locationplace>
271
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
272
                    </location>
273
                </path>
274
            </_simplifyPath>
275 6349 aaronmk
        </path>
276 6403 aaronmk
    </_setDefault>
277 6349 aaronmk
</VegBIEN>
278 7162 aaronmk
Inserted 37 new rows into database