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 5294 aaronmk
                                            <parent_id>
122 5608 aaronmk
                                                <taxonlabel>
123 5657 aaronmk
                                                    <rank>$taxonRank</rank>
124
                                                    <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
125 5294 aaronmk
                                                    <parent_id>
126 5608 aaronmk
                                                        <taxonlabel>
127 5657 aaronmk
                                                            <rank>cultivar</rank>
128 5294 aaronmk
                                                            <parent_id>
129 5608 aaronmk
                                                                <taxonlabel>
130 5657 aaronmk
                                                                    <rank>forma</rank>
131 5294 aaronmk
                                                                    <parent_id>
132 5608 aaronmk
                                                                        <taxonlabel>
133 5657 aaronmk
                                                                            <rank>variety</rank>
134 5294 aaronmk
                                                                            <parent_id>
135 5608 aaronmk
                                                                                <taxonlabel>
136 5657 aaronmk
                                                                                    <rank>subspecies</rank>
137 5294 aaronmk
                                                                                    <parent_id>
138 5608 aaronmk
                                                                                        <taxonlabel>
139 5657 aaronmk
                                                                                            <rank>species</rank>
140
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
141 5294 aaronmk
                                                                                            <parent_id>
142 5608 aaronmk
                                                                                                <taxonlabel>
143 5657 aaronmk
                                                                                                    <rank>genus</rank>
144
                                                                                                    <taxonepithet>$genus</taxonepithet>
145 5294 aaronmk
                                                                                                    <parent_id>
146 5608 aaronmk
                                                                                                        <taxonlabel>
147 5657 aaronmk
                                                                                                            <rank>family</rank>
148
                                                                                                            <taxonepithet>$family</taxonepithet>
149 5294 aaronmk
                                                                                                            <parent_id>
150 5608 aaronmk
                                                                                                                <taxonlabel>
151 5657 aaronmk
                                                                                                                    <rank>order</rank>
152
                                                                                                                    <taxonepithet>$order</taxonepithet>
153 5294 aaronmk
                                                                                                                    <parent_id>
154 5608 aaronmk
                                                                                                                        <taxonlabel>
155 5657 aaronmk
                                                                                                                            <rank>class</rank>
156
                                                                                                                            <taxonepithet>$class</taxonepithet>
157 5306 aaronmk
                                                                                                                            <parent_id>
158 5608 aaronmk
                                                                                                                                <taxonlabel>
159 5657 aaronmk
                                                                                                                                    <rank>phylum</rank>
160
                                                                                                                                    <taxonepithet>$phylum</taxonepithet>
161
                                                                                                                                    <parent_id>
162
                                                                                                                                        <taxonlabel>
163
                                                                                                                                            <rank>kingdom</rank>
164
                                                                                                                                            <taxonepithet>$kingdom</taxonepithet>
165
                                                                                                                                        </taxonlabel>
166
                                                                                                                                    </parent_id>
167 5608 aaronmk
                                                                                                                                </taxonlabel>
168 5306 aaronmk
                                                                                                                            </parent_id>
169 5608 aaronmk
                                                                                                                        </taxonlabel>
170 5294 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 5657 aaronmk
                                                    <taxonepithet>$infraspecificEpithet</taxonepithet>
188 5608 aaronmk
                                                </taxonlabel>
189 5294 aaronmk
                                            </parent_id>
190 5657 aaronmk
                                            <rank>$taxonRank</rank>
191
                                            <taxonomicname>
192
                                                <_join_words>
193 5790 aaronmk
                                                    <1><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></1>
194 5788 aaronmk
                                                    <2>
195
                                                        <_join_words>
196
                                                            <1>
197
                                                                <_alt>
198
                                                                    <1>$scientificName</1>
199
                                                                    <2>
200 5657 aaronmk
                                                                        <_join_words>
201 5788 aaronmk
                                                                            <2>$genus</2>
202
                                                                            <3>$specificEpithet</3>
203
                                                                            <5>
204
                                                                                <_join_words>
205
                                                                                    <1>
206
                                                                                        <_if name="if has infraspecificEpithet">
207
                                                                                            <cond>$infraspecificEpithet</cond>
208
                                                                                            <then>$taxonRank</then>
209
                                                                                        </_if>
210
                                                                                    </1>
211
                                                                                    <2>$infraspecificEpithet</2>
212
                                                                                </_join_words>
213
                                                                            </5>
214 5657 aaronmk
                                                                        </_join_words>
215 5788 aaronmk
                                                                    </2>
216
                                                                </_alt>
217
                                                            </1>
218
                                                            <2>$scientificNameAuthorship</2>
219
                                                        </_join_words>
220
                                                    </2>
221 5657 aaronmk
                                                </_join_words>
222
                                            </taxonomicname>
223
                                        </taxonlabel>
224
                                    </taxonlabel_id>
225
                                    <author>$scientificNameAuthorship</author>
226
                                    <family>$family</family>
227
                                    <genus>$genus</genus>
228 5783 aaronmk
                                    <specific_epithet>$specificEpithet</specific_epithet>
229 5948 aaronmk
                                    <taxonname>$scientificName</taxonname>
230 5657 aaronmk
                                    <verbatimrank>$taxonRank</verbatimrank>
231
                                </taxonverbatim>
232
                            </taxonverbatim_id>
233 5645 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
234 5314 aaronmk
                            <taxonfit>$identificationQualifier</taxonfit>
235 4621 aaronmk
                        </taxondetermination>
236
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
237
                    </taxonoccurrence>
238
                </locationevent>
239
                <locationnarrative>
240
                    <_merge>
241
                        <1>$locality</1>
242
                        <3>
243
                            <_label>
244
                                <label>habitat</label>
245
                                <value>$habitat</value>
246
                            </_label>
247
                        </3>
248
                    </_merge>
249
                </locationnarrative>
250 4726 aaronmk
                <locationplace>
251 5855 aaronmk
                    <place_id>
252
                        <place>
253 5861 aaronmk
                            <coordinates_id>
254
                                <coordinates>
255
                                    <coordsaccuracy_deg><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
256
                                    <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
257
                                    <latitude_deg>
258
                                        <_nullIf>
259
                                            <null>0</null>
260
                                            <type>float</type>
261
                                            <value>$decimalLatitude</value>
262
                                        </_nullIf>
263
                                    </latitude_deg>
264
                                    <longitude_deg>
265
                                        <_nullIf>
266
                                            <null>0</null>
267
                                            <type>float</type>
268
                                            <value>$decimalLongitude</value>
269
                                        </_nullIf>
270
                                    </longitude_deg>
271
                                    <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
272
                                    <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
273
                                </coordinates>
274
                            </coordinates_id>
275 4727 aaronmk
                            <continent>$continent</continent>
276
                            <country>$country</country>
277
                            <county>$county</county>
278
                            <stateprovince>$stateProvince</stateprovince>
279 5855 aaronmk
                        </place>
280
                    </place_id>
281 4726 aaronmk
                </locationplace>
282 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
283 4621 aaronmk
            </location>
284
        </path>
285
    </_simplifyPath>
286 3641 aaronmk
</VegBIEN>
287 5861 aaronmk
Inserted 34 new rows into database