Project

General

Profile

1 6346 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>WIN.new</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 10260 aaronmk
                                <1>$dataProviderRecordID</1>
13 6346 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 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 7713 aaronmk
                                    <notes>$occurrenceRemarks</notes>
56 6403 aaronmk
                                    <plantobservation>
57 10260 aaronmk
                                        <authorplantcode>$collectorNumber</authorplantcode>
58 6403 aaronmk
                                        <specimenreplicate>
59 10260 aaronmk
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
60 6403 aaronmk
                                            <collectioncode_dwc>
61 7712 aaronmk
                                                <_alt>
62 10260 aaronmk
                                                    <1>$collection</1>
63
                                                    <2>$collectionURL</2>
64 7712 aaronmk
                                                </_alt>
65 6403 aaronmk
                                            </collectioncode_dwc>
66 10260 aaronmk
                                            <collectionnumber>$collectorNumber</collectionnumber>
67 6403 aaronmk
                                            <institution_id>
68 6791 aaronmk
                                                <sourcelist>
69 10260 aaronmk
                                                    <name>$specimenHolderInstitutions</name>
70 6791 aaronmk
                                                    <sourcename>
71 6795 aaronmk
                                                        <name>
72
                                                            <_split>
73 7433 aaronmk
                                                                <separator>[,;] *</separator>
74 10260 aaronmk
                                                                <value>$specimenHolderInstitutions</value>
75 6795 aaronmk
                                                            </_split>
76
                                                        </name>
77 6791 aaronmk
                                                    </sourcename>
78
                                                </sourcelist>
79 6403 aaronmk
                                            </institution_id>
80 10260 aaronmk
                                            <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
81 6403 aaronmk
                                        </specimenreplicate>
82
                                    </plantobservation>
83
                                </aggregateoccurrence>
84
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
85 10260 aaronmk
                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
86 6403 aaronmk
                                <taxondetermination>
87
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
88
                                    <taxonverbatim_id>
89
                                        <taxonverbatim>
90
                                            <taxonlabel_id>
91 6346 aaronmk
                                                <taxonlabel>
92
                                                    <parent_id>
93
                                                        <taxonlabel>
94 6403 aaronmk
                                                            <rank>$taxonRank</rank>
95 6346 aaronmk
                                                            <parent_id>
96
                                                                <taxonlabel>
97 6403 aaronmk
                                                                    <rank>cultivar</rank>
98 6346 aaronmk
                                                                    <parent_id>
99
                                                                        <taxonlabel>
100 6403 aaronmk
                                                                            <rank>forma</rank>
101 6346 aaronmk
                                                                            <parent_id>
102
                                                                                <taxonlabel>
103 6403 aaronmk
                                                                                    <rank>variety</rank>
104 6346 aaronmk
                                                                                    <parent_id>
105
                                                                                        <taxonlabel>
106 6403 aaronmk
                                                                                            <rank>subspecies</rank>
107 6346 aaronmk
                                                                                            <parent_id>
108
                                                                                                <taxonlabel>
109 6403 aaronmk
                                                                                                    <rank>species</rank>
110
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
111 6346 aaronmk
                                                                                                    <parent_id>
112
                                                                                                        <taxonlabel>
113 6403 aaronmk
                                                                                                            <rank>genus</rank>
114
                                                                                                            <taxonepithet>$genus</taxonepithet>
115 6346 aaronmk
                                                                                                            <parent_id>
116
                                                                                                                <taxonlabel>
117 6403 aaronmk
                                                                                                                    <rank>family</rank>
118 6346 aaronmk
                                                                                                                    <parent_id>
119
                                                                                                                        <taxonlabel>
120 6403 aaronmk
                                                                                                                            <rank>order</rank>
121 6346 aaronmk
                                                                                                                            <parent_id>
122
                                                                                                                                <taxonlabel>
123 6403 aaronmk
                                                                                                                                    <rank>class</rank>
124 6346 aaronmk
                                                                                                                                    <parent_id>
125
                                                                                                                                        <taxonlabel>
126 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
127
                                                                                                                                            <parent_id>
128
                                                                                                                                                <taxonlabel>
129
                                                                                                                                                    <rank>kingdom</rank>
130
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
131
                                                                                                                                                </taxonlabel>
132
                                                                                                                                            </parent_id>
133 6346 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 6346 aaronmk
                                                        </taxonlabel>
155
                                                    </parent_id>
156 6403 aaronmk
                                                    <rank>$taxonRank</rank>
157
                                                    <taxonomicname>
158
                                                        <_alt>
159
                                                            <1>$scientificName</1>
160
                                                            <2>
161 6346 aaronmk
                                                                <_join_words>
162 6403 aaronmk
                                                                    <1>
163 6346 aaronmk
                                                                        <_join_words>
164 9882 aaronmk
                                                                            <2><_filter_genus><value>$genus</value></_filter_genus></2>
165 6403 aaronmk
                                                                            <3>$specificEpithet</3>
166
                                                                            <5>
167
                                                                                <_join_words>
168
                                                                                    <1>
169
                                                                                        <_if name="if has infraspecificEpithet">
170
                                                                                            <cond>$infraspecificEpithet</cond>
171
                                                                                            <then>$taxonRank</then>
172
                                                                                        </_if>
173
                                                                                    </1>
174
                                                                                    <2>$infraspecificEpithet</2>
175
                                                                                </_join_words>
176
                                                                            </5>
177 6346 aaronmk
                                                                        </_join_words>
178 6403 aaronmk
                                                                    </1>
179
                                                                    <2>$scientificNameAuthorship</2>
180 6346 aaronmk
                                                                </_join_words>
181 6403 aaronmk
                                                            </2>
182
                                                        </_alt>
183
                                                    </taxonomicname>
184
                                                </taxonlabel>
185
                                            </taxonlabel_id>
186
                                            <author>$scientificNameAuthorship</author>
187
                                            <genus>$genus</genus>
188
                                            <specific_epithet>$specificEpithet</specific_epithet>
189
                                            <taxonomicname>$scientificName</taxonomicname>
190
                                            <verbatimrank>$taxonRank</verbatimrank>
191
                                        </taxonverbatim>
192
                                    </taxonverbatim_id>
193
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
194
                                </taxondetermination>
195
                            </taxonoccurrence>
196
                        </locationevent>
197
                        <locationnarrative>
198
                            <_merge>
199
                                <1>$locality</1>
200
                                <3>
201
                                    <_label>
202
                                        <label>habitat</label>
203
                                        <value>$habitat</value>
204
                                    </_label>
205
                                </3>
206
                            </_merge>
207
                        </locationnarrative>
208
                        <locationplace>
209
                            <place_id>
210 6346 aaronmk
                                <place>
211
                                    <coordinates_id>
212
                                        <coordinates>
213 6403 aaronmk
                                            <coordsaccuracy_m><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_m>
214 6346 aaronmk
                                            <latitude_deg>
215
                                                <_nullIf>
216
                                                    <null>0</null>
217
                                                    <type>float</type>
218
                                                    <value>$decimalLatitude</value>
219
                                                </_nullIf>
220
                                            </latitude_deg>
221
                                            <longitude_deg>
222
                                                <_nullIf>
223
                                                    <null>0</null>
224
                                                    <type>float</type>
225
                                                    <value>$decimalLongitude</value>
226
                                                </_nullIf>
227
                                            </longitude_deg>
228 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
229 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
230
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
231 6346 aaronmk
                                        </coordinates>
232
                                    </coordinates_id>
233 10565 aaronmk
                                    <placename_id>
234
                                        <placename>
235
                                            <rank>municipality</rank>
236
                                            <placename>$municipality</placename>
237
                                        </placename>
238
                                    </placename_id>
239 6346 aaronmk
                                    <country>$country</country>
240
                                    <county>$county</county>
241 6403 aaronmk
                                    <matched_place_id>
242
                                        <place>
243
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
244
                                            <coordinates_id>
245
                                                <coordinates>
246
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
247
                                                    <latitude_deg>
248
                                                        <_nullIf>
249
                                                            <null>0</null>
250
                                                            <type>float</type>
251
                                                            <value>$decimalLatitude</value>
252
                                                        </_nullIf>
253
                                                    </latitude_deg>
254
                                                    <longitude_deg>
255
                                                        <_nullIf>
256
                                                            <null>0</null>
257
                                                            <type>float</type>
258
                                                            <value>$decimalLongitude</value>
259
                                                        </_nullIf>
260
                                                    </longitude_deg>
261
                                                </coordinates>
262
                                            </coordinates_id>
263
                                            <country>$country</country>
264
                                            <county>$county</county>
265
                                            <stateprovince>$stateProvince</stateprovince>
266
                                        </place>
267
                                    </matched_place_id>
268 6346 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
269
                                </place>
270 6403 aaronmk
                            </place_id>
271
                        </locationplace>
272
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
273
                    </location>
274
                </path>
275
            </_simplifyPath>
276 6346 aaronmk
        </path>
277 6403 aaronmk
    </_setDefault>
278 6346 aaronmk
</VegBIEN>
279 7162 aaronmk
Inserted 34 new rows into database