Project

General

Profile

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