Project

General

Profile

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