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</next>
111
                    <path>
112
                        <namedplace>
113
                            <rank>county</rank>
114
                            <placename>$County</placename>
115
                            <parent_id>
116
                                <namedplace>
117
                                    <rank>stateProvince</rank>
118
                                    <placename>$StateProvince</placename>
119
                                    <parent_id>
120
                                        <namedplace>
121
                                            <rank>country</rank>
122
                                            <placename>$Country</placename>
123
                                            <parent_id>
124
                                                <namedplace>
125
                                                    <rank>continent</rank>
126
                                                    <placename>$ContinentOcean</placename>
127
                                                </namedplace>
128
                                            </parent_id>
129
                                        </namedplace>
130
                                    </parent_id>
131
                                </namedplace>
132
                            </parent_id>
133
                        </namedplace>
134
                    </path>
135
                </_simplifyPath>
136
            </namedplace_id>
137
        </locationdetermination>
138
        <locationevent>
139
            <taxonoccurrence>
140
                <aggregateoccurrence>
141
                    <collectiondate>
142
                        <_date>
143
                            <day>
144
                                <_nullIf>
145
                                    <null>0</null>
146
                                    <type>float</type>
147
                                    <value>$DayCollected</value>
148
                                </_nullIf>
149
                            </day>
150
                            <month>
151
                                <_nullIf>
152
                                    <null>0</null>
153
                                    <type>float</type>
154
                                    <value>$MonthCollected</value>
155
                                </_nullIf>
156
                            </month>
157
                            <year>
158
                                <_nullIf>
159
                                    <null>0</null>
160
                                    <type>float</type>
161
                                    <value>$YearCollected</value>
162
                                </_nullIf>
163
                            </year>
164
                        </_date>
165
                    </collectiondate>
166
                    <count>$IndividualCount</count>
167
                    <notes>
168
                        <_alt>
169
                            <0>$convertednotes</0>
170
                            <1>$notes</1>
171
                        </_alt>
172
                    </notes>
173
                    <plantobservation>
174
                        <collectionnumber>$CollectorNumber</collectionnumber>
175
                        <specimenreplicate>
176
                            <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
177
                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
178
                            <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
179
                        </specimenreplicate>
180
                    </plantobservation>
181
                </aggregateoccurrence>
182
                <authortaxoncode>
183
                    <_alt>
184
                        <1>$CollectorNumber</1>
185
                        <2>$ScientificName</2>
186
                    </_alt>
187
                </authortaxoncode>
188
                <taxondetermination>
189
                    <party_id>
190
                        <party>
191
                            <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
192
                            <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
193
                            <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
194
                        </party>
195
                    </party_id>
196
                    <plantconcept_id>
197
                        <plantconcept>
198
                            <plantname_id>
199
                                <_simplifyPath>
200
                                    <next>parent_id</next>
201
                                    <path>
202
                                        <plantname>
203
                                            <rank>binomial</rank>
204
                                            <plantname>$ScientificName</plantname>
205
                                            <parent_id>
206
                                                <plantname>
207
                                                    <rank>authority</rank>
208
                                                    <plantname>$ScientificNameAuthor</plantname>
209
                                                    <parent_id>
210
                                                        <plantname>
211
                                                            <rank>subspecies</rank>
212
                                                            <plantname>$Subspecies</plantname>
213
                                                            <parent_id>
214
                                                                <plantname>
215
                                                                    <rank>species</rank>
216
                                                                    <plantname>$species</plantname>
217
                                                                    <parent_id>
218
                                                                        <plantname>
219
                                                                            <rank>genus</rank>
220
                                                                            <plantname>$genus</plantname>
221
                                                                            <parent_id>
222
                                                                                <plantname>
223
                                                                                    <rank>family</rank>
224
                                                                                    <plantname>$family</plantname>
225
                                                                                    <parent_id>
226
                                                                                        <plantname>
227
                                                                                            <rank>order</rank>
228
                                                                                            <parent_id>
229
                                                                                                <plantname>
230
                                                                                                    <rank>class</rank>
231
                                                                                                    <parent_id>
232
                                                                                                        <plantname>
233
                                                                                                            <rank>subkingdom</rank>
234
                                                                                                            <parent_id>
235
                                                                                                                <plantname>
236
                                                                                                                    <rank>kingdom</rank>
237
                                                                                                                    <plantname>$Kingdom</plantname>
238
                                                                                                                </plantname>
239
                                                                                                            </parent_id>
240
                                                                                                        </plantname>
241
                                                                                                    </parent_id>
242
                                                                                                </plantname>
243
                                                                                            </parent_id>
244
                                                                                        </plantname>
245
                                                                                    </parent_id>
246
                                                                                </plantname>
247
                                                                            </parent_id>
248
                                                                        </plantname>
249
                                                                    </parent_id>
250
                                                                </plantname>
251
                                                            </parent_id>
252
                                                        </plantname>
253
                                                    </parent_id>
254
                                                </plantname>
255
                                            </parent_id>
256
                                        </plantname>
257
                                    </path>
258
                                </_simplifyPath>
259
                            </plantname_id>
260
                        </plantconcept>
261
                    </plantconcept_id>
262
                </taxondetermination>
263
                <verbatimcollectorname>$Collector</verbatimcollectorname>
264
            </taxonoccurrence>
265
        </locationevent>
266
        <locationnarrative>$Locality</locationnarrative>
267
    </location>
268
</VegBIEN>
269
Inserted 38 new rows into database
(8-8/8)