Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <elevation>
5
            <_alt>
6
                <2>
7
                    <_avg>
8
                        <max>
9
                            <_units>
10
                                <default>m</default>
11
                                <to>m</to>
12
                                <to></to>
13
                                <value>$maximumElevationInMeters</value>
14
                            </_units>
15
                        </max>
16
                        <min>
17
                            <_units>
18
                                <default>m</default>
19
                                <to>m</to>
20
                                <to></to>
21
                                <value>
22
                                    <_rangeStart>
23
                                        <value>
24
                                            <_replace>
25
                                                <\bca\.?></\bca\.?>
26
                                                <value>$minimumElevationInMeters</value>
27
                                            </_replace>
28
                                        </value>
29
                                    </_rangeStart>
30
                                </value>
31
                            </_units>
32
                        </min>
33
                    </_avg>
34
                </2>
35
            </_alt>
36
        </elevation>
37
        <elevationrange>
38
            <_range>
39
                <from>
40
                    <_units>
41
                        <default>m</default>
42
                        <to>m</to>
43
                        <to></to>
44
                        <value>
45
                            <_rangeStart>
46
                                <value>
47
                                    <_replace>
48
                                        <\bca\.?></\bca\.?>
49
                                        <value>$minimumElevationInMeters</value>
50
                                    </_replace>
51
                                </value>
52
                            </_rangeStart>
53
                        </value>
54
                    </_units>
55
                </from>
56
                <to>
57
                    <_units>
58
                        <default>m</default>
59
                        <to>m</to>
60
                        <to></to>
61
                        <value>
62
                            <_alt>
63
                                <1>$maximumElevationInMeters</1>
64
                                <2>
65
                                    <_rangeEnd>
66
                                        <value>
67
                                            <_replace>
68
                                                <\bca\.?></\bca\.?>
69
                                                <value>$minimumElevationInMeters</value>
70
                                            </_replace>
71
                                        </value>
72
                                    </_rangeEnd>
73
                                </2>
74
                            </_alt>
75
                        </value>
76
                    </_units>
77
                </to>
78
            </_range>
79
        </elevationrange>
80
        <locationdetermination>
81
            <coordsaccuracy><_noCV><value><_alt><1>$coordinateUncertaintyInMeters</1></_alt></value></_noCV></coordsaccuracy>
82
            <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
83
            <latitude>
84
                <_alt>
85
                    <1>
86
                        <_nullIf>
87
                            <null>0</null>
88
                            <type>float</type>
89
                            <value>
90
                                <_alt>
91
                                    <0>$decimalLatitude</0>
92
                                    <1>$verbatimLatitude</1>
93
                                </_alt>
94
                            </value>
95
                        </_nullIf>
96
                    </1>
97
                </_alt>
98
            </latitude>
99
            <longitude>
100
                <_alt>
101
                    <1>
102
                        <_nullIf>
103
                            <null>0</null>
104
                            <type>float</type>
105
                            <value>
106
                                <_alt>
107
                                    <0>$decimalLongitude</0>
108
                                    <1>$verbatimLongitude</1>
109
                                </_alt>
110
                            </value>
111
                        </_nullIf>
112
                    </1>
113
                </_alt>
114
            </longitude>
115
            <namedplace_id>
116
                <_simplifyPath>
117
                    <next>parent_id/namedplace</next>
118
                    <require>placename</require>
119
                    <path>
120
                        <namedplace>
121
                            <rank>county</rank>
122
                            <placename>$county</placename>
123
                            <parent_id>
124
                                <namedplace>
125
                                    <rank>stateProvince</rank>
126
                                    <placename>$stateProvince</placename>
127
                                    <parent_id>
128
                                        <namedplace>
129
                                            <rank>country</rank>
130
                                            <placename>$country</placename>
131
                                            <parent_id>
132
                                                <namedplace>
133
                                                    <rank>continent</rank>
134
                                                    <placename>$continent</placename>
135
                                                </namedplace>
136
                                            </parent_id>
137
                                        </namedplace>
138
                                    </parent_id>
139
                                </namedplace>
140
                            </parent_id>
141
                        </namedplace>
142
                    </path>
143
                </_simplifyPath>
144
            </namedplace_id>
145
        </locationdetermination>
146
        <locationevent>
147
            <taxonoccurrence>
148
                <aggregateoccurrence>
149
                    <collectiondate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></collectiondate>
150
                    <plantobservation>
151
                        <definedvalue fkey="tablerecord_id">
152
                            <userdefined_id>
153
                                <userdefined>
154
                                    <tablename>plantobservation</tablename>
155
                                    <userdefinedname>sex</userdefinedname>
156
                                </userdefined>
157
                            </userdefined_id>
158
                            <definedvalue>$sex</definedvalue>
159
                        </definedvalue>
160
                        <specimenreplicate>
161
                            <_if name="if indirect voucher"><else><catalognumber_dwc>$catalogNumber</catalognumber_dwc></else></_if>
162
                            <collectioncode_dwc>$collectionCode</collectioncode_dwc>
163
                            <collectionnumber><_alt><2>$collectionID</2></_alt></collectionnumber>
164
                            <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
165
                            <sourceaccessioncode>$id</sourceaccessioncode>
166
                        </specimenreplicate>
167
                    </plantobservation>
168
                </aggregateoccurrence>
169
                <taxondetermination>
170
                    <role>identifier</role>
171
                    <determinationdate><_date><date><_dateRangeStart><value><_alt><2>$dateIdentified</2></_alt></value></_dateRangeStart></date></_date></determinationdate>
172
                    <iscurrent>true</iscurrent>
173
                    <party_id>
174
                        <party>
175
                            <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
176
                            <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
177
                            <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
178
                        </party>
179
                    </party_id>
180
                    <isoriginal>true</isoriginal>
181
                    <plantconcept_id>
182
                        <plantconcept>
183
                            <plantname_id>
184
                                <_simplifyPath>
185
                                    <next>parent_id/plantname</next>
186
                                    <require>plantname</require>
187
                                    <path>
188
                                        <plantname>
189
                                            <rank>binomial</rank>
190
                                            <plantname>$scientificName</plantname>
191
                                            <parent_id>
192
                                                <plantname>
193
                                                    <rank>authority</rank>
194
                                                    <plantname>$scientificNameAuthorship</plantname>
195
                                                    <parent_id>
196
                                                        <plantname>
197
                                                            <rank>subspecies</rank>
198
                                                            <plantname>$infraspecificEpithet</plantname>
199
                                                            <parent_id>
200
                                                                <plantname>
201
                                                                    <rank>species</rank>
202
                                                                    <plantname>$specificEpithet</plantname>
203
                                                                    <parent_id>
204
                                                                        <plantname>
205
                                                                            <rank>genus</rank>
206
                                                                            <plantname>$genus</plantname>
207
                                                                            <parent_id>
208
                                                                                <plantname>
209
                                                                                    <rank>family</rank>
210
                                                                                    <plantname>$family</plantname>
211
                                                                                    <parent_id>
212
                                                                                        <plantname>
213
                                                                                            <rank>order</rank>
214
                                                                                            <plantname>$order</plantname>
215
                                                                                            <parent_id>
216
                                                                                                <plantname>
217
                                                                                                    <rank>class</rank>
218
                                                                                                    <plantname>$class</plantname>
219
                                                                                                    <parent_id>
220
                                                                                                        <plantname>
221
                                                                                                            <rank>subkingdom</rank>
222
                                                                                                            <plantname>$phylum</plantname>
223
                                                                                                            <parent_id>
224
                                                                                                                <plantname>
225
                                                                                                                    <rank>kingdom</rank>
226
                                                                                                                    <plantname>$kingdom</plantname>
227
                                                                                                                </plantname>
228
                                                                                                            </parent_id>
229
                                                                                                        </plantname>
230
                                                                                                    </parent_id>
231
                                                                                                </plantname>
232
                                                                                            </parent_id>
233
                                                                                        </plantname>
234
                                                                                    </parent_id>
235
                                                                                </plantname>
236
                                                                            </parent_id>
237
                                                                        </plantname>
238
                                                                    </parent_id>
239
                                                                </plantname>
240
                                                            </parent_id>
241
                                                        </plantname>
242
                                                    </parent_id>
243
                                                </plantname>
244
                                            </parent_id>
245
                                        </plantname>
246
                                    </path>
247
                                </_simplifyPath>
248
                            </plantname_id>
249
                        </plantconcept>
250
                    </plantconcept_id>
251
                </taxondetermination>
252
                <verbatimcollectorname>$recordedBy</verbatimcollectorname>
253
            </taxonoccurrence>
254
        </locationevent>
255
        <locationnarrative>
256
            <_merge>
257
                <1>$locality</1>
258
                <3>
259
                    <_label>
260
                        <label>habitat</label>
261
                        <value>$habitat</value>
262
                    </_label>
263
                </3>
264
            </_merge>
265
        </locationnarrative>
266
        <sourceaccessioncode>
267
            <_alt>
268
                <1>$id</1>
269
                <2>
270
                    <_merge>
271
                        <1>$institutionCode</1>
272
                        <2>$collectionCode</2>
273
                        <3>$catalogNumber</3>
274
                    </_merge>
275
                </2>
276
            </_alt>
277
        </sourceaccessioncode>
278
    </location>
279
</VegBIEN>
280
Inserted 34 new rows into database
    (1-1/1)