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