Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10
                        <2>
11
                            <_join>
12
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24
                <elevation_m>
25
                    <_alt>
26
                        <1>
27
                            <_units>
28
                                <to>m</to>
29
                                <to></to>
30
                                <value>$verbatimElevation</value>
31
                            </_units>
32
                        </1>
33
                        <2>
34
                            <_avg>
35
                                <max>$maximumElevationInMeters</max>
36
                                <min>$minimumElevationInMeters</min>
37
                            </_avg>
38
                        </2>
39
                    </_alt>
40
                </elevation_m>
41
                <locationcoords>
42
                    <coordsaccuracy_deg><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
43
                    <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
44
                    <latitude_deg>
45
                        <_nullIf>
46
                            <null>0</null>
47
                            <type>float</type>
48
                            <value>$decimalLatitude</value>
49
                        </_nullIf>
50
                    </latitude_deg>
51
                    <longitude_deg>
52
                        <_nullIf>
53
                            <null>0</null>
54
                            <type>float</type>
55
                            <value>$decimalLongitude</value>
56
                        </_nullIf>
57
                    </longitude_deg>
58
                    <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
59
                    <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
60
                </locationcoords>
61
                <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
                        <sourceaccessioncode>$id</sourceaccessioncode>
92
                        <taxondetermination>
93
                            <party_id>
94
                                <party>
95
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
96
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
97
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
98
                                </party>
99
                            </party_id>
100
                            <taxonconcept_id>
101
                                <taxonconcept>
102
                                    <canon_taxonconcept_id>
103
                                        <taxonconcept>
104
                                            <creator_id>
105
                                                <party>
106
                                                    <creator_id>0</creator_id>
107
                                                    <organizationname>TNRS</organizationname>
108
                                                </party>
109
                                            </creator_id>
110
                                            <identifyingtaxonomicname>
111
                                                <_join_words>
112
                                                    <1>
113
                                                        <_alt>
114
                                                            <1>$scientificName</1>
115
                                                            <2>
116
                                                                <_join_words>
117
                                                                    <1>$family</1>
118
                                                                    <2>$genus</2>
119
                                                                    <3>$specificEpithet</3>
120
                                                                    <5>
121
                                                                        <_join_words>
122
                                                                            <1>
123
                                                                                <_if name="if has infraspecificEpithet">
124
                                                                                    <cond>$infraspecificEpithet</cond>
125
                                                                                    <then>$taxonRank</then>
126
                                                                                </_if>
127
                                                                            </1>
128
                                                                            <2>$infraspecificEpithet</2>
129
                                                                        </_join_words>
130
                                                                    </5>
131
                                                                </_join_words>
132
                                                            </2>
133
                                                        </_alt>
134
                                                    </1>
135
                                                    <2>$scientificNameAuthorship</2>
136
                                                </_join_words>
137
                                            </identifyingtaxonomicname>
138
                                        </taxonconcept>
139
                                    </canon_taxonconcept_id>
140
                                    <author>$scientificNameAuthorship</author>
141
                                    <class>$class</class>
142
                                    <creator_id>
143
                                        <_simplifyPath>
144
                                            <next>creator_id</next>
145
                                            <path>
146
                                                <party>
147
                                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
148
                                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
149
                                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
150
                                                </party>
151
                                            </path>
152
                                        </_simplifyPath>
153
                                    </creator_id>
154
                                    <family>$family</family>
155
                                    <genus>$genus</genus>
156
                                    <kingdom>$kingdom</kingdom>
157
                                    <order>$order</order>
158
                                    <parent_id>
159
                                        <taxonconcept>
160
                                            <rank>cultivar</rank>
161
                                            <parent_id>
162
                                                <taxonconcept>
163
                                                    <rank>forma</rank>
164
                                                    <parent_id>
165
                                                        <taxonconcept>
166
                                                            <rank>variety</rank>
167
                                                            <parent_id>
168
                                                                <taxonconcept>
169
                                                                    <rank>subspecies</rank>
170
                                                                    <parent_id>
171
                                                                        <taxonconcept>
172
                                                                            <rank>species</rank>
173
                                                                            <taxonname>$specificEpithet</taxonname>
174
                                                                            <parent_id>
175
                                                                                <taxonconcept>
176
                                                                                    <rank>genus</rank>
177
                                                                                    <taxonname>$genus</taxonname>
178
                                                                                    <parent_id>
179
                                                                                        <taxonconcept>
180
                                                                                            <rank>family</rank>
181
                                                                                            <taxonname>$family</taxonname>
182
                                                                                            <parent_id>
183
                                                                                                <taxonconcept>
184
                                                                                                    <rank>order</rank>
185
                                                                                                    <taxonname>$order</taxonname>
186
                                                                                                    <parent_id>
187
                                                                                                        <taxonconcept>
188
                                                                                                            <rank>class</rank>
189
                                                                                                            <taxonname>$class</taxonname>
190
                                                                                                            <parent_id>
191
                                                                                                                <taxonconcept>
192
                                                                                                                    <rank>phylum</rank>
193
                                                                                                                    <taxonname>$phylum</taxonname>
194
                                                                                                                    <parent_id>
195
                                                                                                                        <taxonconcept>
196
                                                                                                                            <rank>kingdom</rank>
197
                                                                                                                            <taxonname>$kingdom</taxonname>
198
                                                                                                                        </taxonconcept>
199
                                                                                                                    </parent_id>
200
                                                                                                                </taxonconcept>
201
                                                                                                            </parent_id>
202
                                                                                                        </taxonconcept>
203
                                                                                                    </parent_id>
204
                                                                                                </taxonconcept>
205
                                                                                            </parent_id>
206
                                                                                        </taxonconcept>
207
                                                                                    </parent_id>
208
                                                                                </taxonconcept>
209
                                                                            </parent_id>
210
                                                                        </taxonconcept>
211
                                                                    </parent_id>
212
                                                                </taxonconcept>
213
                                                            </parent_id>
214
                                                        </taxonconcept>
215
                                                    </parent_id>
216
                                                </taxonconcept>
217
                                            </parent_id>
218
                                        </taxonconcept>
219
                                    </parent_id>
220
                                    <phylum>$phylum</phylum>
221
                                    <rank>$taxonRank</rank>
222
                                    <species>$specificEpithet</species>
223
                                    <taxonname>$infraspecificEpithet</taxonname>
224
                                    <taxonomicname>$scientificName</taxonomicname>
225
                                    <verbatimrank>$taxonRank</verbatimrank>
226
                                </taxonconcept>
227
                            </taxonconcept_id>
228
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
229
                            <taxonfit>$identificationQualifier</taxonfit>
230
                        </taxondetermination>
231
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
232
                    </taxonoccurrence>
233
                </locationevent>
234
                <locationnarrative>
235
                    <_merge>
236
                        <1>$locality</1>
237
                        <3>
238
                            <_label>
239
                                <label>habitat</label>
240
                                <value>$habitat</value>
241
                            </_label>
242
                        </3>
243
                    </_merge>
244
                </locationnarrative>
245
                <locationplace>
246
                    <placepath_id>
247
                        <placepath>
248
                            <continent>$continent</continent>
249
                            <country>$country</country>
250
                            <county>$county</county>
251
                            <stateprovince>$stateProvince</stateprovince>
252
                        </placepath>
253
                    </placepath_id>
254
                </locationplace>
255
                <verbatimelevation>$verbatimElevation</verbatimelevation>
256
            </location>
257
        </path>
258
    </_simplifyPath>
259
</VegBIEN>
260
Inserted 34 new rows into database
(4-4/5)