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