Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>$Barcode</authorlocationcode>
5
        <locationdetermination>
6
            <latitude>
7
                <_nullIf>
8
                    <null>0</null>
9
                    <type>float</type>
10
                    <value>$Lat</value>
11
                </_nullIf>
12
            </latitude>
13
            <longitude>
14
                <_nullIf>
15
                    <null>0</null>
16
                    <type>float</type>
17
                    <value>$Long</value>
18
                </_nullIf>
19
            </longitude>
20
            <namedplace_id>
21
                <_simplifyPath>
22
                    <next>parent_id/namedplace</next>
23
                    <require>placename</require>
24
                    <path>
25
                        <namedplace>
26
                            <rank>county</rank>
27
                            <parent_id>
28
                                <namedplace>
29
                                    <rank>stateProvince</rank>
30
                                    <parent_id>
31
                                        <namedplace>
32
                                            <rank>country</rank>
33
                                            <placename>$Country</placename>
34
                                        </namedplace>
35
                                    </parent_id>
36
                                </namedplace>
37
                            </parent_id>
38
                        </namedplace>
39
                    </path>
40
                </_simplifyPath>
41
            </namedplace_id>
42
        </locationdetermination>
43
        <locationevent>
44
            <obsenddate>
45
                <_date>
46
                    <date>
47
                        <_dateRangeEnd>
48
                            <value>
49
                                <_date>
50
                                    <day>
51
                                        <_nullIf>
52
                                            <null>0</null>
53
                                            <type>float</type>
54
                                            <value>$Colldd</value>
55
                                        </_nullIf>
56
                                    </day>
57
                                    <month>
58
                                        <_nullIf>
59
                                            <null>0</null>
60
                                            <type>float</type>
61
                                            <value>$Collmm</value>
62
                                        </_nullIf>
63
                                    </month>
64
                                    <year>
65
                                        <_nullIf>
66
                                            <null>0</null>
67
                                            <type>float</type>
68
                                            <value>$Collyy</value>
69
                                        </_nullIf>
70
                                    </year>
71
                                </_date>
72
                            </value>
73
                        </_dateRangeEnd>
74
                    </date>
75
                </_date>
76
            </obsenddate>
77
            <obsstartdate>
78
                <_date>
79
                    <date>
80
                        <_dateRangeStart>
81
                            <value>
82
                                <_date>
83
                                    <day>
84
                                        <_nullIf>
85
                                            <null>0</null>
86
                                            <type>float</type>
87
                                            <value>$Colldd</value>
88
                                        </_nullIf>
89
                                    </day>
90
                                    <month>
91
                                        <_nullIf>
92
                                            <null>0</null>
93
                                            <type>float</type>
94
                                            <value>$Collmm</value>
95
                                        </_nullIf>
96
                                    </month>
97
                                    <year>
98
                                        <_nullIf>
99
                                            <null>0</null>
100
                                            <type>float</type>
101
                                            <value>$Collyy</value>
102
                                        </_nullIf>
103
                                    </year>
104
                                </_date>
105
                            </value>
106
                        </_dateRangeStart>
107
                    </date>
108
                </_date>
109
            </obsstartdate>
110
            <taxonoccurrence>
111
                <aggregateoccurrence>
112
                    <collectiondate>
113
                        <_date>
114
                            <date>
115
                                <_date>
116
                                    <day>
117
                                        <_nullIf>
118
                                            <null>0</null>
119
                                            <type>float</type>
120
                                            <value>$Colldd</value>
121
                                        </_nullIf>
122
                                    </day>
123
                                    <month>
124
                                        <_nullIf>
125
                                            <null>0</null>
126
                                            <type>float</type>
127
                                            <value>$Collmm</value>
128
                                        </_nullIf>
129
                                    </month>
130
                                    <year>
131
                                        <_nullIf>
132
                                            <null>0</null>
133
                                            <type>float</type>
134
                                            <value>$Collyy</value>
135
                                        </_nullIf>
136
                                    </year>
137
                                </_date>
138
                            </date>
139
                        </_date>
140
                    </collectiondate>
141
                    <notes>$Notes</notes>
142
                    <plantobservation>
143
                        <authorplantcode>$Number</authorplantcode>
144
                        <sourceaccessioncode>$ID</sourceaccessioncode>
145
                        <specimenreplicate>
146
                            <catalognumber_dwc><_if name="if indirect voucher"><else>$Barcode</else></_if></catalognumber_dwc>
147
                            <collectionnumber>$Number</collectionnumber>
148
                            <sourceaccessioncode>$ID</sourceaccessioncode>
149
                        </specimenreplicate>
150
                    </plantobservation>
151
                </aggregateoccurrence>
152
                <sourceaccessioncode>
153
                    <_alt>
154
                        <1>$ID</1>
155
                        <2><_if name="if indirect voucher"><else>$Barcode</else></_if></2>
156
                        <3>$Number</3>
157
                    </_alt>
158
                </sourceaccessioncode>
159
                <taxondetermination>
160
                    <isoriginal>true</isoriginal>
161
                    <role>identifier</role>
162
                    <party_id>
163
                        <party>
164
                            <givenname><_namePart><first>$Detby</first></_namePart></givenname>
165
                            <middlename><_namePart><middle>$Detby</middle></_namePart></middlename>
166
                            <surname><_namePart><last>$Detby</last></_namePart></surname>
167
                        </party>
168
                    </party_id>
169
                    <plantconcept_id>
170
                        <plantconcept>
171
                            <plantname_id>
172
                                <_simplifyPath>
173
                                    <next>parent_id/plantname</next>
174
                                    <require>plantname</require>
175
                                    <path>
176
                                        <plantname>
177
                                            <rank>binomial</rank>
178
                                            <parent_id>
179
                                                <plantname>
180
                                                    <rank>authority</rank>
181
                                                    <parent_id>
182
                                                        <plantname>
183
                                                            <rank>subspecies</rank>
184
                                                            <parent_id>
185
                                                                <plantname>
186
                                                                    <rank>species</rank>
187
                                                                    <parent_id>
188
                                                                        <plantname>
189
                                                                            <rank>genus</rank>
190
                                                                            <plantname>$Genus</plantname>
191
                                                                            <parent_id>
192
                                                                                <plantname>
193
                                                                                    <rank>family</rank>
194
                                                                                    <plantname>$Family</plantname>
195
                                                                                </plantname>
196
                                                                            </parent_id>
197
                                                                        </plantname>
198
                                                                    </parent_id>
199
                                                                </plantname>
200
                                                            </parent_id>
201
                                                        </plantname>
202
                                                    </parent_id>
203
                                                </plantname>
204
                                            </parent_id>
205
                                        </plantname>
206
                                    </path>
207
                                </_simplifyPath>
208
                            </plantname_id>
209
                        </plantconcept>
210
                    </plantconcept_id>
211
                    <determinationdate>
212
                        <_date>
213
                            <date>
214
                                <_dateRangeStart>
215
                                    <value>
216
                                        <_date>
217
                                            <year>
218
                                                <_nullIf>
219
                                                    <null>0</null>
220
                                                    <type>float</type>
221
                                                    <value>$Detyy</value>
222
                                                </_nullIf>
223
                                            </year>
224
                                        </_date>
225
                                    </value>
226
                                </_dateRangeStart>
227
                            </date>
228
                        </_date>
229
                    </determinationdate>
230
                    <taxonfit>$cf</taxonfit>
231
                </taxondetermination>
232
                <verbatimcollectorname>
233
                    <_merge>
234
                        <1>$Collector</1>
235
                        <2>$Addcoll</2>
236
                    </_merge>
237
                </verbatimcollectorname>
238
            </taxonoccurrence>
239
        </locationevent>
240
        <locationnarrative>
241
            <_merge>
242
                <2>
243
                    <_merge>
244
                        <1>
245
                            <_label>
246
                                <label>gazetteer</label>
247
                                <value>
248
                                    <_merge>
249
                                        <1>$Gazetteer</1>
250
                                        <2>$Newgazett</2>
251
                                    </_merge>
252
                                </value>
253
                            </_label>
254
                        </1>
255
                        <2>$Locnotes</2>
256
                    </_merge>
257
                </2>
258
                <3>
259
                    <_label>
260
                        <label>habitat</label>
261
                        <value>$Ecology</value>
262
                    </_label>
263
                </3>
264
            </_merge>
265
        </locationnarrative>
266
        <sourceaccessioncode>$ID</sourceaccessioncode>
267
    </location>
268
</VegBIEN>
269
Inserted 26 new rows into database
    (1-1/1)