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