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