Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10 4066 aaronmk
                        <2>
11 4327 aaronmk
                            <_join>
12 4621 aaronmk
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20 4327 aaronmk
                            </_join>
21 4066 aaronmk
                        </2>
22 4621 aaronmk
                    </_alt>
23
                </authorlocationcode>
24 4753 aaronmk
                <elevation_m>
25 4818 aaronmk
                    <_units>
26
                        <to>m</to>
27
                        <to></to>
28 4621 aaronmk
                        <value>$verbatimElevation</value>
29 4818 aaronmk
                    </_units>
30 4753 aaronmk
                </elevation_m>
31 4621 aaronmk
                <locationevent>
32
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
33
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
34
                    <taxonoccurrence>
35
                        <aggregateoccurrence>
36
                            <plantobservation>
37
                                <collectionnumber>$recordNumber</collectionnumber>
38
                                <specimenreplicate>
39
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
40
                                    <collectioncode_dwc>
41
                                        <_join>
42
                                            <1>$collectionCode</1>
43
                                            <2>$collectionID</2>
44
                                        </_join>
45
                                    </collectioncode_dwc>
46
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
47
                                    <sourceaccessioncode>$id</sourceaccessioncode>
48
                                </specimenreplicate>
49
                            </plantobservation>
50
                        </aggregateoccurrence>
51 4834 aaronmk
                        <sourceaccessioncode>$id</sourceaccessioncode>
52 4621 aaronmk
                        <taxondetermination>
53 5600 aaronmk
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
54 5657 aaronmk
                            <taxonverbatim_id>
55
                                <taxonverbatim>
56
                                    <taxonlabel_id>
57 5608 aaronmk
                                        <taxonlabel>
58 5657 aaronmk
                                            <matched_label_id>
59
                                                <taxonlabel>
60 5953 aaronmk
                                                    <reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
61 5657 aaronmk
                                                    <taxonomicname>
62 5788 aaronmk
                                                        <_join_words>
63 5790 aaronmk
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
64 5657 aaronmk
                                                            <2>
65 5788 aaronmk
                                                                <_alt>
66
                                                                    <1>$scientificName</1>
67
                                                                    <2>
68 5138 aaronmk
                                                                        <_join_words>
69 5788 aaronmk
                                                                            <1>
70 5657 aaronmk
                                                                                <_join_words>
71 5788 aaronmk
                                                                                    <2>$genus</2>
72
                                                                                    <3>$specificEpithet</3>
73
                                                                                    <5>
74
                                                                                        <_join_words>
75
                                                                                            <1>
76
                                                                                                <_if name="if has infraspecificEpithet">
77
                                                                                                    <cond>$infraspecificEpithet</cond>
78
                                                                                                    <then>$taxonRank</then>
79
                                                                                                </_if>
80
                                                                                            </1>
81
                                                                                            <2>$infraspecificEpithet</2>
82
                                                                                        </_join_words>
83
                                                                                    </5>
84 5657 aaronmk
                                                                                </_join_words>
85 5788 aaronmk
                                                                            </1>
86
                                                                            <2>$scientificNameAuthorship</2>
87 5138 aaronmk
                                                                        </_join_words>
88 5788 aaronmk
                                                                    </2>
89
                                                                </_alt>
90 5657 aaronmk
                                                            </2>
91 5788 aaronmk
                                                        </_join_words>
92 5657 aaronmk
                                                    </taxonomicname>
93
                                                </taxonlabel>
94
                                            </matched_label_id>
95
                                            <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
96 5294 aaronmk
                                            <parent_id>
97 5608 aaronmk
                                                <taxonlabel>
98 5657 aaronmk
                                                    <rank>$taxonRank</rank>
99
                                                    <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
100 5294 aaronmk
                                                    <parent_id>
101 5608 aaronmk
                                                        <taxonlabel>
102 5657 aaronmk
                                                            <rank>cultivar</rank>
103 5294 aaronmk
                                                            <parent_id>
104 5608 aaronmk
                                                                <taxonlabel>
105 5657 aaronmk
                                                                    <rank>forma</rank>
106 5294 aaronmk
                                                                    <parent_id>
107 5608 aaronmk
                                                                        <taxonlabel>
108 5657 aaronmk
                                                                            <rank>variety</rank>
109 5294 aaronmk
                                                                            <parent_id>
110 5608 aaronmk
                                                                                <taxonlabel>
111 5657 aaronmk
                                                                                    <rank>subspecies</rank>
112 5294 aaronmk
                                                                                    <parent_id>
113 5608 aaronmk
                                                                                        <taxonlabel>
114 5657 aaronmk
                                                                                            <rank>species</rank>
115
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
116 5294 aaronmk
                                                                                            <parent_id>
117 5608 aaronmk
                                                                                                <taxonlabel>
118 5657 aaronmk
                                                                                                    <rank>genus</rank>
119
                                                                                                    <taxonepithet>$genus</taxonepithet>
120 5294 aaronmk
                                                                                                    <parent_id>
121 5608 aaronmk
                                                                                                        <taxonlabel>
122 5657 aaronmk
                                                                                                            <rank>family</rank>
123
                                                                                                            <taxonepithet>$family</taxonepithet>
124 5294 aaronmk
                                                                                                            <parent_id>
125 5608 aaronmk
                                                                                                                <taxonlabel>
126 5657 aaronmk
                                                                                                                    <rank>order</rank>
127
                                                                                                                    <taxonepithet>$order</taxonepithet>
128 5294 aaronmk
                                                                                                                    <parent_id>
129 5608 aaronmk
                                                                                                                        <taxonlabel>
130 5657 aaronmk
                                                                                                                            <rank>class</rank>
131
                                                                                                                            <taxonepithet>$class</taxonepithet>
132 5306 aaronmk
                                                                                                                            <parent_id>
133 5608 aaronmk
                                                                                                                                <taxonlabel>
134 5657 aaronmk
                                                                                                                                    <rank>phylum</rank>
135
                                                                                                                                    <taxonepithet>$phylum</taxonepithet>
136
                                                                                                                                    <parent_id>
137
                                                                                                                                        <taxonlabel>
138
                                                                                                                                            <rank>kingdom</rank>
139
                                                                                                                                            <taxonepithet>$kingdom</taxonepithet>
140
                                                                                                                                        </taxonlabel>
141
                                                                                                                                    </parent_id>
142 5608 aaronmk
                                                                                                                                </taxonlabel>
143 5306 aaronmk
                                                                                                                            </parent_id>
144 5608 aaronmk
                                                                                                                        </taxonlabel>
145 5294 aaronmk
                                                                                                                    </parent_id>
146 5608 aaronmk
                                                                                                                </taxonlabel>
147 5294 aaronmk
                                                                                                            </parent_id>
148 5608 aaronmk
                                                                                                        </taxonlabel>
149 5294 aaronmk
                                                                                                    </parent_id>
150 5608 aaronmk
                                                                                                </taxonlabel>
151 5294 aaronmk
                                                                                            </parent_id>
152 5608 aaronmk
                                                                                        </taxonlabel>
153 5294 aaronmk
                                                                                    </parent_id>
154 5608 aaronmk
                                                                                </taxonlabel>
155 5294 aaronmk
                                                                            </parent_id>
156 5608 aaronmk
                                                                        </taxonlabel>
157 5294 aaronmk
                                                                    </parent_id>
158 5608 aaronmk
                                                                </taxonlabel>
159 5294 aaronmk
                                                            </parent_id>
160 5608 aaronmk
                                                        </taxonlabel>
161 5294 aaronmk
                                                    </parent_id>
162 5657 aaronmk
                                                    <taxonepithet>$infraspecificEpithet</taxonepithet>
163 5608 aaronmk
                                                </taxonlabel>
164 5294 aaronmk
                                            </parent_id>
165 5657 aaronmk
                                            <rank>$taxonRank</rank>
166
                                            <taxonomicname>
167 5788 aaronmk
                                                <_join_words>
168 5790 aaronmk
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
169 5657 aaronmk
                                                    <2>
170 5788 aaronmk
                                                        <_alt>
171
                                                            <1>$scientificName</1>
172
                                                            <2>
173 5656 aaronmk
                                                                <_join_words>
174 5788 aaronmk
                                                                    <1>
175 5657 aaronmk
                                                                        <_join_words>
176 5788 aaronmk
                                                                            <2>$genus</2>
177
                                                                            <3>$specificEpithet</3>
178
                                                                            <5>
179
                                                                                <_join_words>
180
                                                                                    <1>
181
                                                                                        <_if name="if has infraspecificEpithet">
182
                                                                                            <cond>$infraspecificEpithet</cond>
183
                                                                                            <then>$taxonRank</then>
184
                                                                                        </_if>
185
                                                                                    </1>
186
                                                                                    <2>$infraspecificEpithet</2>
187
                                                                                </_join_words>
188
                                                                            </5>
189 5657 aaronmk
                                                                        </_join_words>
190 5788 aaronmk
                                                                    </1>
191
                                                                    <2>$scientificNameAuthorship</2>
192 5656 aaronmk
                                                                </_join_words>
193 5788 aaronmk
                                                            </2>
194
                                                        </_alt>
195 5657 aaronmk
                                                    </2>
196 5788 aaronmk
                                                </_join_words>
197 5657 aaronmk
                                            </taxonomicname>
198
                                        </taxonlabel>
199
                                    </taxonlabel_id>
200
                                    <author>$scientificNameAuthorship</author>
201
                                    <family>$family</family>
202
                                    <genus>$genus</genus>
203 5783 aaronmk
                                    <specific_epithet>$specificEpithet</specific_epithet>
204 5657 aaronmk
                                    <taxonomicname>$scientificName</taxonomicname>
205
                                    <verbatimrank>$taxonRank</verbatimrank>
206
                                </taxonverbatim>
207
                            </taxonverbatim_id>
208 4621 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
209
                        </taxondetermination>
210
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
211
                    </taxonoccurrence>
212
                </locationevent>
213
                <locationnarrative>
214
                    <_merge>
215
                        <1>$locality</1>
216
                        <3>
217
                            <_label>
218
                                <label>habitat</label>
219
                                <value>$habitat</value>
220
                            </_label>
221
                        </3>
222
                    </_merge>
223
                </locationnarrative>
224 4726 aaronmk
                <locationplace>
225 5855 aaronmk
                    <place_id>
226
                        <place>
227 5861 aaronmk
                            <coordinates_id>
228
                                <coordinates>
229
                                    <latitude_deg>
230
                                        <_nullIf>
231
                                            <null>0</null>
232
                                            <type>float</type>
233
                                            <value>$decimalLatitude</value>
234
                                        </_nullIf>
235
                                    </latitude_deg>
236
                                    <longitude_deg>
237
                                        <_nullIf>
238
                                            <null>0</null>
239
                                            <type>float</type>
240
                                            <value>$decimalLongitude</value>
241
                                        </_nullIf>
242
                                    </longitude_deg>
243
                                </coordinates>
244
                            </coordinates_id>
245 4727 aaronmk
                            <continent>$continent</continent>
246
                            <country>$country</country>
247
                            <county>$county</county>
248 5958 aaronmk
                            <matched_place_id>
249
                                <place>
250
                                    <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
251
                                    <coordinates_id>
252
                                        <coordinates>
253 5969 aaronmk
                                            <latitude_deg>
254
                                                <_nullIf>
255
                                                    <null>0</null>
256
                                                    <type>float</type>
257
                                                    <value>$decimalLatitude</value>
258
                                                </_nullIf>
259
                                            </latitude_deg>
260
                                            <longitude_deg>
261
                                                <_nullIf>
262
                                                    <null>0</null>
263
                                                    <type>float</type>
264
                                                    <value>$decimalLongitude</value>
265
                                                </_nullIf>
266
                                            </longitude_deg>
267 5958 aaronmk
                                        </coordinates>
268
                                    </coordinates_id>
269
                                    <country>$country</country>
270
                                    <stateprovince>$stateProvince</stateprovince>
271
                                </place>
272
                            </matched_place_id>
273 4727 aaronmk
                            <stateprovince>$stateProvince</stateprovince>
274 5855 aaronmk
                        </place>
275
                    </place_id>
276 4726 aaronmk
                </locationplace>
277 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
278 4621 aaronmk
            </location>
279
        </path>
280
    </_simplifyPath>
281 3641 aaronmk
</VegBIEN>
282 5958 aaronmk
Inserted 42 new rows into database