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
                                <1>$id</1>
13 6349 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 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
                                    <plantobservation>
51 7190 aaronmk
                                        <authorplantcode>$recordNumber</authorplantcode>
52 6403 aaronmk
                                        <specimenreplicate>
53
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
54
                                            <collectioncode_dwc>
55
                                                <_join>
56
                                                    <1>$collectionCode</1>
57
                                                    <2>$collectionID</2>
58
                                                </_join>
59
                                            </collectioncode_dwc>
60 7198 aaronmk
                                            <collectionnumber>$recordNumber</collectionnumber>
61 6403 aaronmk
                                            <institution_id>
62 6791 aaronmk
                                                <sourcelist>
63 6403 aaronmk
                                                    <name>$institutionCode</name>
64 6791 aaronmk
                                                    <sourcename>
65 6795 aaronmk
                                                        <name>
66
                                                            <_split>
67
                                                                <separator>, </separator>
68
                                                                <value>$institutionCode</value>
69
                                                            </_split>
70
                                                        </name>
71 6791 aaronmk
                                                    </sourcename>
72
                                                </sourcelist>
73 6403 aaronmk
                                            </institution_id>
74
                                            <sourceaccessioncode>$id</sourceaccessioncode>
75
                                        </specimenreplicate>
76
                                    </plantobservation>
77
                                </aggregateoccurrence>
78
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
79
                                <sourceaccessioncode>$id</sourceaccessioncode>
80
                                <taxondetermination>
81
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
82
                                    <taxonverbatim_id>
83
                                        <taxonverbatim>
84
                                            <taxonlabel_id>
85 6349 aaronmk
                                                <taxonlabel>
86 6403 aaronmk
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
87 6349 aaronmk
                                                    <parent_id>
88
                                                        <taxonlabel>
89 6403 aaronmk
                                                            <rank>$taxonRank</rank>
90 6349 aaronmk
                                                            <parent_id>
91
                                                                <taxonlabel>
92 6403 aaronmk
                                                                    <rank>cultivar</rank>
93 6349 aaronmk
                                                                    <parent_id>
94
                                                                        <taxonlabel>
95 6403 aaronmk
                                                                            <rank>forma</rank>
96 6349 aaronmk
                                                                            <parent_id>
97
                                                                                <taxonlabel>
98 6403 aaronmk
                                                                                    <rank>variety</rank>
99 6349 aaronmk
                                                                                    <parent_id>
100
                                                                                        <taxonlabel>
101 6403 aaronmk
                                                                                            <rank>subspecies</rank>
102 6349 aaronmk
                                                                                            <parent_id>
103
                                                                                                <taxonlabel>
104 6403 aaronmk
                                                                                                    <rank>species</rank>
105
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
106 6349 aaronmk
                                                                                                    <parent_id>
107
                                                                                                        <taxonlabel>
108 6403 aaronmk
                                                                                                            <rank>genus</rank>
109
                                                                                                            <taxonepithet>$genus</taxonepithet>
110 6349 aaronmk
                                                                                                            <parent_id>
111
                                                                                                                <taxonlabel>
112 6403 aaronmk
                                                                                                                    <rank>family</rank>
113
                                                                                                                    <taxonepithet>$family</taxonepithet>
114 6349 aaronmk
                                                                                                                    <parent_id>
115
                                                                                                                        <taxonlabel>
116 6403 aaronmk
                                                                                                                            <rank>order</rank>
117
                                                                                                                            <taxonepithet>$order</taxonepithet>
118 6349 aaronmk
                                                                                                                            <parent_id>
119
                                                                                                                                <taxonlabel>
120 6403 aaronmk
                                                                                                                                    <rank>class</rank>
121
                                                                                                                                    <taxonepithet>$class</taxonepithet>
122 6349 aaronmk
                                                                                                                                    <parent_id>
123
                                                                                                                                        <taxonlabel>
124 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
125
                                                                                                                                            <taxonepithet>$phylum</taxonepithet>
126
                                                                                                                                            <parent_id>
127
                                                                                                                                                <taxonlabel>
128
                                                                                                                                                    <rank>kingdom</rank>
129
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
130
                                                                                                                                                </taxonlabel>
131
                                                                                                                                            </parent_id>
132 6349 aaronmk
                                                                                                                                        </taxonlabel>
133
                                                                                                                                    </parent_id>
134
                                                                                                                                </taxonlabel>
135
                                                                                                                            </parent_id>
136
                                                                                                                        </taxonlabel>
137
                                                                                                                    </parent_id>
138
                                                                                                                </taxonlabel>
139
                                                                                                            </parent_id>
140
                                                                                                        </taxonlabel>
141
                                                                                                    </parent_id>
142
                                                                                                </taxonlabel>
143
                                                                                            </parent_id>
144
                                                                                        </taxonlabel>
145
                                                                                    </parent_id>
146
                                                                                </taxonlabel>
147
                                                                            </parent_id>
148
                                                                        </taxonlabel>
149
                                                                    </parent_id>
150
                                                                </taxonlabel>
151
                                                            </parent_id>
152 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
153 6349 aaronmk
                                                        </taxonlabel>
154
                                                    </parent_id>
155 6403 aaronmk
                                                    <rank>$taxonRank</rank>
156
                                                    <taxonomicname>
157 7142 aaronmk
                                                        <_merge_prefix>
158
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
159
                                                            <value>
160 6403 aaronmk
                                                                <_alt>
161
                                                                    <1>$scientificName</1>
162
                                                                    <2>
163 6349 aaronmk
                                                                        <_join_words>
164 6403 aaronmk
                                                                            <1>
165 6349 aaronmk
                                                                                <_join_words>
166 6403 aaronmk
                                                                                    <2>$genus</2>
167
                                                                                    <3>$specificEpithet</3>
168
                                                                                    <5>
169
                                                                                        <_join_words>
170
                                                                                            <1>
171
                                                                                                <_if name="if has infraspecificEpithet">
172
                                                                                                    <cond>$infraspecificEpithet</cond>
173
                                                                                                    <then>$taxonRank</then>
174
                                                                                                </_if>
175
                                                                                            </1>
176
                                                                                            <2>$infraspecificEpithet</2>
177
                                                                                        </_join_words>
178
                                                                                    </5>
179 6349 aaronmk
                                                                                </_join_words>
180 6403 aaronmk
                                                                            </1>
181
                                                                            <2>$scientificNameAuthorship</2>
182 6349 aaronmk
                                                                        </_join_words>
183 6403 aaronmk
                                                                    </2>
184
                                                                </_alt>
185 7142 aaronmk
                                                            </value>
186
                                                        </_merge_prefix>
187 6403 aaronmk
                                                    </taxonomicname>
188
                                                </taxonlabel>
189
                                            </taxonlabel_id>
190
                                            <author>$scientificNameAuthorship</author>
191
                                            <family>$family</family>
192
                                            <genus>$genus</genus>
193
                                            <specific_epithet>$specificEpithet</specific_epithet>
194
                                            <taxonomicname>$scientificName</taxonomicname>
195
                                            <verbatimrank>$taxonRank</verbatimrank>
196
                                        </taxonverbatim>
197
                                    </taxonverbatim_id>
198
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
199
                                </taxondetermination>
200
                            </taxonoccurrence>
201
                        </locationevent>
202
                        <locationnarrative>
203
                            <_merge>
204
                                <1>$locality</1>
205
                                <3>
206
                                    <_label>
207
                                        <label>habitat</label>
208
                                        <value>$habitat</value>
209
                                    </_label>
210
                                </3>
211
                            </_merge>
212
                        </locationnarrative>
213
                        <locationplace>
214
                            <place_id>
215 6349 aaronmk
                                <place>
216
                                    <coordinates_id>
217
                                        <coordinates>
218
                                            <latitude_deg>
219
                                                <_nullIf>
220
                                                    <null>0</null>
221
                                                    <type>float</type>
222
                                                    <value>$decimalLatitude</value>
223
                                                </_nullIf>
224
                                            </latitude_deg>
225
                                            <longitude_deg>
226
                                                <_nullIf>
227
                                                    <null>0</null>
228
                                                    <type>float</type>
229
                                                    <value>$decimalLongitude</value>
230
                                                </_nullIf>
231
                                            </longitude_deg>
232 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
233 6349 aaronmk
                                        </coordinates>
234
                                    </coordinates_id>
235 6403 aaronmk
                                    <continent>$continent</continent>
236 6349 aaronmk
                                    <country>$country</country>
237
                                    <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 6349 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
266
                                </place>
267 6403 aaronmk
                            </place_id>
268
                        </locationplace>
269
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
270
                    </location>
271
                </path>
272
            </_simplifyPath>
273 6349 aaronmk
        </path>
274 6403 aaronmk
    </_setDefault>
275 6349 aaronmk
</VegBIEN>
276 7162 aaronmk
Inserted 37 new rows into database