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
                                <2><_avg><min>$minimumElevationInMeters</min></_avg></2>
38
                            </_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
                                                <_join>
61
                                                    <1>$collectionCode</1>
62
                                                    <2>$collectionID</2>
63
                                                </_join>
64
                                            </collectioncode_dwc>
65
                                            <institution_id>
66 6791 aaronmk
                                                <sourcelist>
67 6403 aaronmk
                                                    <name>$institutionCode</name>
68 6791 aaronmk
                                                    <sourcename>
69 6795 aaronmk
                                                        <name>
70
                                                            <_split>
71
                                                                <separator>, </separator>
72
                                                                <value>$institutionCode</value>
73
                                                            </_split>
74
                                                        </name>
75 6791 aaronmk
                                                    </sourcename>
76
                                                </sourcelist>
77 6403 aaronmk
                                            </institution_id>
78
                                            <sourceaccessioncode>$id</sourceaccessioncode>
79
                                        </specimenreplicate>
80
                                    </plantobservation>
81
                                </aggregateoccurrence>
82
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
83
                                <sourceaccessioncode>$id</sourceaccessioncode>
84
                                <taxondetermination>
85
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
86
                                    <taxonverbatim_id>
87
                                        <taxonverbatim>
88
                                            <taxonlabel_id>
89 6346 aaronmk
                                                <taxonlabel>
90 6403 aaronmk
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
91 6346 aaronmk
                                                    <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