Project

General

Profile

1 6343 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>QFA</shortname></source></source_id>
5 6343 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12
                                <1>$id</1>
13 6343 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 6343 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
                                <iscultivated>
80
                                    <_map>
81
                                        <cultivated>t</cultivated>
82
                                        <wild>f</wild>
83
                                        <*></*>
84
                                        <value>$establishmentMeans</value>
85
                                    </_map>
86
                                </iscultivated>
87
                                <isnative>
88
                                    <_map>
89
                                        <native>t</native>
90
                                        <exotic>f</exotic>
91
                                        <*></*>
92
                                        <value>$establishmentMeans</value>
93
                                    </_map>
94
                                </isnative>
95
                                <sourceaccessioncode>$id</sourceaccessioncode>
96
                                <taxondetermination>
97
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
98
                                    <taxonverbatim_id>
99
                                        <taxonverbatim>
100
                                            <taxonlabel_id>
101 6343 aaronmk
                                                <taxonlabel>
102 6403 aaronmk
                                                    <creationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></creationdate>
103 6343 aaronmk
                                                    <parent_id>
104
                                                        <taxonlabel>
105 6403 aaronmk
                                                            <rank>$taxonRank</rank>
106 6343 aaronmk
                                                            <parent_id>
107
                                                                <taxonlabel>
108 6403 aaronmk
                                                                    <rank>cultivar</rank>
109 6343 aaronmk
                                                                    <parent_id>
110
                                                                        <taxonlabel>
111 6403 aaronmk
                                                                            <rank>forma</rank>
112 6343 aaronmk
                                                                            <parent_id>
113
                                                                                <taxonlabel>
114 6403 aaronmk
                                                                                    <rank>variety</rank>
115 6343 aaronmk
                                                                                    <parent_id>
116
                                                                                        <taxonlabel>
117 6403 aaronmk
                                                                                            <rank>subspecies</rank>
118 6343 aaronmk
                                                                                            <parent_id>
119
                                                                                                <taxonlabel>
120 6403 aaronmk
                                                                                                    <rank>species</rank>
121
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
122 6343 aaronmk
                                                                                                    <parent_id>
123
                                                                                                        <taxonlabel>
124 6403 aaronmk
                                                                                                            <rank>genus</rank>
125
                                                                                                            <taxonepithet>$genus</taxonepithet>
126 6343 aaronmk
                                                                                                            <parent_id>
127
                                                                                                                <taxonlabel>
128 6403 aaronmk
                                                                                                                    <rank>family</rank>
129
                                                                                                                    <taxonepithet>$family</taxonepithet>
130 6343 aaronmk
                                                                                                                    <parent_id>
131
                                                                                                                        <taxonlabel>
132 6403 aaronmk
                                                                                                                            <rank>order</rank>
133 6343 aaronmk
                                                                                                                            <parent_id>
134
                                                                                                                                <taxonlabel>
135 6403 aaronmk
                                                                                                                                    <rank>class</rank>
136 6343 aaronmk
                                                                                                                                    <parent_id>
137
                                                                                                                                        <taxonlabel>
138 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
139
                                                                                                                                            <parent_id>
140
                                                                                                                                                <taxonlabel>
141
                                                                                                                                                    <rank>kingdom</rank>
142
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
143
                                                                                                                                                </taxonlabel>
144
                                                                                                                                            </parent_id>
145 6343 aaronmk
                                                                                                                                        </taxonlabel>
146
                                                                                                                                    </parent_id>
147
                                                                                                                                </taxonlabel>
148
                                                                                                                            </parent_id>
149
                                                                                                                        </taxonlabel>
150
                                                                                                                    </parent_id>
151
                                                                                                                </taxonlabel>
152
                                                                                                            </parent_id>
153
                                                                                                        </taxonlabel>
154
                                                                                                    </parent_id>
155
                                                                                                </taxonlabel>
156
                                                                                            </parent_id>
157
                                                                                        </taxonlabel>
158
                                                                                    </parent_id>
159
                                                                                </taxonlabel>
160
                                                                            </parent_id>
161
                                                                        </taxonlabel>
162
                                                                    </parent_id>
163
                                                                </taxonlabel>
164
                                                            </parent_id>
165 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
166 6343 aaronmk
                                                        </taxonlabel>
167
                                                    </parent_id>
168 6403 aaronmk
                                                    <rank>$taxonRank</rank>
169
                                                    <taxonomicname>
170 7142 aaronmk
                                                        <_merge_prefix>
171
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
172
                                                            <value>
173 6403 aaronmk
                                                                <_alt>
174
                                                                    <1>$scientificName</1>
175
                                                                    <2>
176 6343 aaronmk
                                                                        <_join_words>
177 6403 aaronmk
                                                                            <1>
178 6343 aaronmk
                                                                                <_join_words>
179 6403 aaronmk
                                                                                    <2>$genus</2>
180
                                                                                    <3>$specificEpithet</3>
181
                                                                                    <5>
182
                                                                                        <_join_words>
183
                                                                                            <1>
184
                                                                                                <_if name="if has infraspecificEpithet">
185
                                                                                                    <cond>$infraspecificEpithet</cond>
186
                                                                                                    <then>$taxonRank</then>
187
                                                                                                </_if>
188
                                                                                            </1>
189
                                                                                            <2>$infraspecificEpithet</2>
190
                                                                                        </_join_words>
191
                                                                                    </5>
192 6343 aaronmk
                                                                                </_join_words>
193 6403 aaronmk
                                                                            </1>
194
                                                                            <2>$scientificNameAuthorship</2>
195 6343 aaronmk
                                                                        </_join_words>
196 6403 aaronmk
                                                                    </2>
197
                                                                </_alt>
198 7142 aaronmk
                                                            </value>
199
                                                        </_merge_prefix>
200 6403 aaronmk
                                                    </taxonomicname>
201
                                                </taxonlabel>
202
                                            </taxonlabel_id>
203
                                            <author>$scientificNameAuthorship</author>
204
                                            <family>$family</family>
205
                                            <genus>$genus</genus>
206
                                            <specific_epithet>$specificEpithet</specific_epithet>
207
                                            <taxonomicname>$scientificName</taxonomicname>
208
                                            <verbatimrank>$taxonRank</verbatimrank>
209
                                        </taxonverbatim>
210
                                    </taxonverbatim_id>
211
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
212
                                    <taxonfit>$identificationQualifier</taxonfit>
213
                                </taxondetermination>
214
                            </taxonoccurrence>
215
                        </locationevent>
216
                        <locationnarrative>
217
                            <_merge>
218
                                <1>$locality</1>
219
                                <3>
220
                                    <_label>
221
                                        <label>habitat</label>
222
                                        <value>$habitat</value>
223
                                    </_label>
224
                                </3>
225
                            </_merge>
226
                        </locationnarrative>
227
                        <locationplace>
228
                            <place_id>
229 6343 aaronmk
                                <place>
230
                                    <coordinates_id>
231
                                        <coordinates>
232
                                            <latitude_deg>
233
                                                <_nullIf>
234
                                                    <null>0</null>
235
                                                    <type>float</type>
236
                                                    <value>$decimalLatitude</value>
237
                                                </_nullIf>
238
                                            </latitude_deg>
239
                                            <longitude_deg>
240
                                                <_nullIf>
241
                                                    <null>0</null>
242
                                                    <type>float</type>
243
                                                    <value>$decimalLongitude</value>
244
                                                </_nullIf>
245
                                            </longitude_deg>
246 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
247 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
248
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
249 6343 aaronmk
                                        </coordinates>
250
                                    </coordinates_id>
251
                                    <country>$country</country>
252 6403 aaronmk
                                    <matched_place_id>
253
                                        <place>
254
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
255
                                            <coordinates_id>
256
                                                <coordinates>
257
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
258
                                                    <latitude_deg>
259
                                                        <_nullIf>
260
                                                            <null>0</null>
261
                                                            <type>float</type>
262
                                                            <value>$decimalLatitude</value>
263
                                                        </_nullIf>
264
                                                    </latitude_deg>
265
                                                    <longitude_deg>
266
                                                        <_nullIf>
267
                                                            <null>0</null>
268
                                                            <type>float</type>
269
                                                            <value>$decimalLongitude</value>
270
                                                        </_nullIf>
271
                                                    </longitude_deg>
272
                                                </coordinates>
273
                                            </coordinates_id>
274
                                            <country>$country</country>
275
                                            <stateprovince>$stateProvince</stateprovince>
276
                                        </place>
277
                                    </matched_place_id>
278 6343 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
279
                                </place>
280 6403 aaronmk
                            </place_id>
281
                        </locationplace>
282
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
283
                    </location>
284
                </path>
285
            </_simplifyPath>
286 6343 aaronmk
        </path>
287 6403 aaronmk
    </_setDefault>
288 6343 aaronmk
</VegBIEN>
289 7162 aaronmk
Inserted 42 new rows into database