Project

General

Profile

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