Project

General

Profile

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