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 6179 aaronmk
                                    <institution_id><sourcename><name>$institutionCode</name></sourcename></institution_id>
47 4621 aaronmk
                                    <sourceaccessioncode>$id</sourceaccessioncode>
48
                                </specimenreplicate>
49
                            </plantobservation>
50
                        </aggregateoccurrence>
51 6171 aaronmk
                        <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
52 4834 aaronmk
                        <sourceaccessioncode>$id</sourceaccessioncode>
53 4621 aaronmk
                        <taxondetermination>
54 5600 aaronmk
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
55 5657 aaronmk
                            <taxonverbatim_id>
56
                                <taxonverbatim>
57
                                    <taxonlabel_id>
58 5608 aaronmk
                                        <taxonlabel>
59 5657 aaronmk
                                            <matched_label_id>
60
                                                <taxonlabel>
61 6179 aaronmk
                                                    <source_id><source><shortname>TNRS</shortname></source></source_id>
62 5657 aaronmk
                                                    <taxonomicname>
63 5788 aaronmk
                                                        <_join_words>
64 5790 aaronmk
                                                            <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
65 5657 aaronmk
                                                            <2>
66 5788 aaronmk
                                                                <_alt>
67
                                                                    <1>$scientificName</1>
68
                                                                    <2>
69 5138 aaronmk
                                                                        <_join_words>
70 5788 aaronmk
                                                                            <1>
71 5657 aaronmk
                                                                                <_join_words>
72 5788 aaronmk
                                                                                    <2>$genus</2>
73
                                                                                    <3>$specificEpithet</3>
74
                                                                                    <5>
75
                                                                                        <_join_words>
76
                                                                                            <1>
77
                                                                                                <_if name="if has infraspecificEpithet">
78
                                                                                                    <cond>$infraspecificEpithet</cond>
79
                                                                                                    <then>$taxonRank</then>
80
                                                                                                </_if>
81
                                                                                            </1>
82
                                                                                            <2>$infraspecificEpithet</2>
83
                                                                                        </_join_words>
84
                                                                                    </5>
85 5657 aaronmk
                                                                                </_join_words>
86 5788 aaronmk
                                                                            </1>
87
                                                                            <2>$scientificNameAuthorship</2>
88 5138 aaronmk
                                                                        </_join_words>
89 5788 aaronmk
                                                                    </2>
90
                                                                </_alt>
91 5657 aaronmk
                                                            </2>
92 5788 aaronmk
                                                        </_join_words>
93 5657 aaronmk
                                                    </taxonomicname>
94
                                                </taxonlabel>
95
                                            </matched_label_id>
96
                                            <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
97 5294 aaronmk
                                            <parent_id>
98 5608 aaronmk
                                                <taxonlabel>
99 5657 aaronmk
                                                    <rank>$taxonRank</rank>
100
                                                    <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
101 5294 aaronmk
                                                    <parent_id>
102 5608 aaronmk
                                                        <taxonlabel>
103 5657 aaronmk
                                                            <rank>cultivar</rank>
104 5294 aaronmk
                                                            <parent_id>
105 5608 aaronmk
                                                                <taxonlabel>
106 5657 aaronmk
                                                                    <rank>forma</rank>
107 5294 aaronmk
                                                                    <parent_id>
108 5608 aaronmk
                                                                        <taxonlabel>
109 5657 aaronmk
                                                                            <rank>variety</rank>
110 5294 aaronmk
                                                                            <parent_id>
111 5608 aaronmk
                                                                                <taxonlabel>
112 5657 aaronmk
                                                                                    <rank>subspecies</rank>
113 5294 aaronmk
                                                                                    <parent_id>
114 5608 aaronmk
                                                                                        <taxonlabel>
115 5657 aaronmk
                                                                                            <rank>species</rank>
116
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
117 5294 aaronmk
                                                                                            <parent_id>
118 5608 aaronmk
                                                                                                <taxonlabel>
119 5657 aaronmk
                                                                                                    <rank>genus</rank>
120
                                                                                                    <taxonepithet>$genus</taxonepithet>
121 5294 aaronmk
                                                                                                    <parent_id>
122 5608 aaronmk
                                                                                                        <taxonlabel>
123 5657 aaronmk
                                                                                                            <rank>family</rank>
124
                                                                                                            <taxonepithet>$family</taxonepithet>
125 5294 aaronmk
                                                                                                            <parent_id>
126 5608 aaronmk
                                                                                                                <taxonlabel>
127 5657 aaronmk
                                                                                                                    <rank>order</rank>
128
                                                                                                                    <taxonepithet>$order</taxonepithet>
129 5294 aaronmk
                                                                                                                    <parent_id>
130 5608 aaronmk
                                                                                                                        <taxonlabel>
131 5657 aaronmk
                                                                                                                            <rank>class</rank>
132
                                                                                                                            <taxonepithet>$class</taxonepithet>
133 5306 aaronmk
                                                                                                                            <parent_id>
134 5608 aaronmk
                                                                                                                                <taxonlabel>
135 5657 aaronmk
                                                                                                                                    <rank>phylum</rank>
136
                                                                                                                                    <taxonepithet>$phylum</taxonepithet>
137
                                                                                                                                    <parent_id>
138
                                                                                                                                        <taxonlabel>
139
                                                                                                                                            <rank>kingdom</rank>
140
                                                                                                                                            <taxonepithet>$kingdom</taxonepithet>
141
                                                                                                                                        </taxonlabel>
142
                                                                                                                                    </parent_id>
143 5608 aaronmk
                                                                                                                                </taxonlabel>
144 5306 aaronmk
                                                                                                                            </parent_id>
145 5608 aaronmk
                                                                                                                        </taxonlabel>
146 5294 aaronmk
                                                                                                                    </parent_id>
147 5608 aaronmk
                                                                                                                </taxonlabel>
148 5294 aaronmk
                                                                                                            </parent_id>
149 5608 aaronmk
                                                                                                        </taxonlabel>
150 5294 aaronmk
                                                                                                    </parent_id>
151 5608 aaronmk
                                                                                                </taxonlabel>
152 5294 aaronmk
                                                                                            </parent_id>
153 5608 aaronmk
                                                                                        </taxonlabel>
154 5294 aaronmk
                                                                                    </parent_id>
155 5608 aaronmk
                                                                                </taxonlabel>
156 5294 aaronmk
                                                                            </parent_id>
157 5608 aaronmk
                                                                        </taxonlabel>
158 5294 aaronmk
                                                                    </parent_id>
159 5608 aaronmk
                                                                </taxonlabel>
160 5294 aaronmk
                                                            </parent_id>
161 5608 aaronmk
                                                        </taxonlabel>
162 5294 aaronmk
                                                    </parent_id>
163 5657 aaronmk
                                                    <taxonepithet>$infraspecificEpithet</taxonepithet>
164 5608 aaronmk
                                                </taxonlabel>
165 5294 aaronmk
                                            </parent_id>
166 5657 aaronmk
                                            <rank>$taxonRank</rank>
167
                                            <taxonomicname>
168 5788 aaronmk
                                                <_join_words>
169 5790 aaronmk
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
170 5657 aaronmk
                                                    <2>
171 5788 aaronmk
                                                        <_alt>
172
                                                            <1>$scientificName</1>
173
                                                            <2>
174 5656 aaronmk
                                                                <_join_words>
175 5788 aaronmk
                                                                    <1>
176 5657 aaronmk
                                                                        <_join_words>
177 5788 aaronmk
                                                                            <2>$genus</2>
178
                                                                            <3>$specificEpithet</3>
179
                                                                            <5>
180
                                                                                <_join_words>
181
                                                                                    <1>
182
                                                                                        <_if name="if has infraspecificEpithet">
183
                                                                                            <cond>$infraspecificEpithet</cond>
184
                                                                                            <then>$taxonRank</then>
185
                                                                                        </_if>
186
                                                                                    </1>
187
                                                                                    <2>$infraspecificEpithet</2>
188
                                                                                </_join_words>
189
                                                                            </5>
190 5657 aaronmk
                                                                        </_join_words>
191 5788 aaronmk
                                                                    </1>
192
                                                                    <2>$scientificNameAuthorship</2>
193 5656 aaronmk
                                                                </_join_words>
194 5788 aaronmk
                                                            </2>
195
                                                        </_alt>
196 5657 aaronmk
                                                    </2>
197 5788 aaronmk
                                                </_join_words>
198 5657 aaronmk
                                            </taxonomicname>
199
                                        </taxonlabel>
200
                                    </taxonlabel_id>
201
                                    <author>$scientificNameAuthorship</author>
202
                                    <family>$family</family>
203
                                    <genus>$genus</genus>
204 5783 aaronmk
                                    <specific_epithet>$specificEpithet</specific_epithet>
205 5657 aaronmk
                                    <taxonomicname>$scientificName</taxonomicname>
206
                                    <verbatimrank>$taxonRank</verbatimrank>
207
                                </taxonverbatim>
208
                            </taxonverbatim_id>
209 4621 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
210
                        </taxondetermination>
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 6179 aaronmk
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
251 5958 aaronmk
                                    <coordinates_id>
252
                                        <coordinates>
253 6179 aaronmk
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
254 5969 aaronmk
                                            <latitude_deg>
255
                                                <_nullIf>
256
                                                    <null>0</null>
257
                                                    <type>float</type>
258
                                                    <value>$decimalLatitude</value>
259
                                                </_nullIf>
260
                                            </latitude_deg>
261
                                            <longitude_deg>
262
                                                <_nullIf>
263
                                                    <null>0</null>
264
                                                    <type>float</type>
265
                                                    <value>$decimalLongitude</value>
266
                                                </_nullIf>
267
                                            </longitude_deg>
268 5958 aaronmk
                                        </coordinates>
269
                                    </coordinates_id>
270
                                    <country>$country</country>
271
                                    <stateprovince>$stateProvince</stateprovince>
272
                                </place>
273
                            </matched_place_id>
274 4727 aaronmk
                            <stateprovince>$stateProvince</stateprovince>
275 5855 aaronmk
                        </place>
276
                    </place_id>
277 4726 aaronmk
                </locationplace>
278 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
279 4621 aaronmk
            </location>
280
        </path>
281
    </_simplifyPath>
282 3641 aaronmk
</VegBIEN>
283 6171 aaronmk
Inserted 46 new rows into database