Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_alt>
6
                <1>$accession</1>
7
                <2>$herbarium</2>
8
            </_alt>
9
        </authorlocationcode>
10
        <locationdetermination>
11
            <namedplace_id>
12
                <_simplifyPath>
13
                    <next>parent_id/namedplace</next>
14
                    <require>placename</require>
15
                    <path>
16
                        <namedplace>
17
                            <rank>county</rank>
18
                            <placename>$county</placename>
19
                            <parent_id>
20
                                <namedplace>
21
                                    <rank>stateProvince</rank>
22
                                    <placename>$state</placename>
23
                                    <parent_id>
24
                                        <namedplace>
25
                                            <rank>country</rank>
26
                                            <placename>$country</placename>
27
                                        </namedplace>
28
                                    </parent_id>
29
                                </namedplace>
30
                            </parent_id>
31
                        </namedplace>
32
                    </path>
33
                </_simplifyPath>
34
            </namedplace_id>
35
        </locationdetermination>
36
        <locationevent>
37
            <obsenddate>
38
                <_date>
39
                    <date>
40
                        <_dateRangeEnd>
41
                            <value>
42
                                <_date>
43
                                    <day>
44
                                        <_nullIf>
45
                                            <null>0</null>
46
                                            <type>float</type>
47
                                            <value>$collday</value>
48
                                        </_nullIf>
49
                                    </day>
50
                                    <month>
51
                                        <_nullIf>
52
                                            <null>0</null>
53
                                            <type>float</type>
54
                                            <value>$collmonth</value>
55
                                        </_nullIf>
56
                                    </month>
57
                                    <year>
58
                                        <_nullIf>
59
                                            <null>0</null>
60
                                            <type>float</type>
61
                                            <value>$collyear</value>
62
                                        </_nullIf>
63
                                    </year>
64
                                </_date>
65
                            </value>
66
                        </_dateRangeEnd>
67
                    </date>
68
                </_date>
69
            </obsenddate>
70
            <obsstartdate>
71
                <_date>
72
                    <date>
73
                        <_dateRangeStart>
74
                            <value>
75
                                <_date>
76
                                    <day>
77
                                        <_nullIf>
78
                                            <null>0</null>
79
                                            <type>float</type>
80
                                            <value>$collday</value>
81
                                        </_nullIf>
82
                                    </day>
83
                                    <month>
84
                                        <_nullIf>
85
                                            <null>0</null>
86
                                            <type>float</type>
87
                                            <value>$collmonth</value>
88
                                        </_nullIf>
89
                                    </month>
90
                                    <year>
91
                                        <_nullIf>
92
                                            <null>0</null>
93
                                            <type>float</type>
94
                                            <value>$collyear</value>
95
                                        </_nullIf>
96
                                    </year>
97
                                </_date>
98
                            </value>
99
                        </_dateRangeStart>
100
                    </date>
101
                </_date>
102
            </obsstartdate>
103
            <taxonoccurrence>
104
                <aggregateoccurrence>
105
                    <collectiondate>
106
                        <_date>
107
                            <date>
108
                                <_date>
109
                                    <day>
110
                                        <_nullIf>
111
                                            <null>0</null>
112
                                            <type>float</type>
113
                                            <value>$collday</value>
114
                                        </_nullIf>
115
                                    </day>
116
                                    <month>
117
                                        <_nullIf>
118
                                            <null>0</null>
119
                                            <type>float</type>
120
                                            <value>$collmonth</value>
121
                                        </_nullIf>
122
                                    </month>
123
                                    <year>
124
                                        <_nullIf>
125
                                            <null>0</null>
126
                                            <type>float</type>
127
                                            <value>$collyear</value>
128
                                        </_nullIf>
129
                                    </year>
130
                                </_date>
131
                            </date>
132
                        </_date>
133
                    </collectiondate>
134
                    <notes>
135
                        <_merge>
136
                            <1>$comment1</1>
137
                            <2>$comment2</2>
138
                            <3>$comment3</3>
139
                            <4>$comment4</4>
140
                            <5>
141
                                <_label>
142
                                    <label>campus</label>
143
                                    <value>$campus</value>
144
                                </_label>
145
                            </5>
146
                            <6>
147
                                <_label>
148
                                    <label>loaned to</label>
149
                                    <value>$loanto</value>
150
                                </_label>
151
                            </6>
152
                            <7>
153
                                <_label>
154
                                    <label>in or out</label>
155
                                    <value>$inorout</value>
156
                                </_label>
157
                            </7>
158
                        </_merge>
159
                    </notes>
160
                    <plantobservation>
161
                        <collectionnumber>$collectno</collectionnumber>
162
                        <specimenreplicate>
163
                            <institution_id><party><organizationname>$herbarium</organizationname></party></institution_id>
164
                            <sourceaccessioncode>$accession</sourceaccessioncode>
165
                        </specimenreplicate>
166
                    </plantobservation>
167
                </aggregateoccurrence>
168
                <authortaxoncode>
169
                    <_alt>
170
                        <1>$collectno</1>
171
                        <2>$SciName</2>
172
                    </_alt>
173
                </authortaxoncode>
174
                <iscultivated>
175
                    <_map>
176
                        <cultivated>t</cultivated>
177
                        <wild>f</wild>
178
                        <*></*>
179
                        <value>
180
                            <_map>
181
                                <Y>cultivated</Y>
182
                                <N>wild</N>
183
                                <*></*>
184
                                <value>$cultivated</value>
185
                            </_map>
186
                        </value>
187
                    </_map>
188
                </iscultivated>
189
                <isnative>
190
                    <_map>
191
                        <native>t</native>
192
                        <exotic>f</exotic>
193
                        <*></*>
194
                        <value>
195
                            <_map>
196
                                <Y>cultivated</Y>
197
                                <N>wild</N>
198
                                <*></*>
199
                                <value>$cultivated</value>
200
                            </_map>
201
                        </value>
202
                    </_map>
203
                </isnative>
204
                <taxondetermination>
205
                    <plantconcept_id>
206
                        <plantconcept>
207
                            <plantname_id>
208
                                <_simplifyPath>
209
                                    <next>parent_id</next>
210
                                    <path>
211
                                        <plantname>
212
                                            <rank>binomial</rank>
213
                                            <plantname>$SciName</plantname>
214
                                            <parent_id>
215
                                                <plantname>
216
                                                    <rank>authority</rank>
217
                                                    <plantname>$authors</plantname>
218
                                                    <parent_id>
219
                                                        <plantname>
220
                                                            <rank>subspecies</rank>
221
                                                            <plantname>
222
                                                                <_name>
223
                                                                    <first>
224
                                                                        <_alt>
225
                                                                            <1>$usdaRank</1>
226
                                                                            <2>$infrarank</2>
227
                                                                        </_alt>
228
                                                                    </first>
229
                                                                    <last>$infraname</last>
230
                                                                </_name>
231
                                                            </plantname>
232
                                                            <parent_id>
233
                                                                <plantname>
234
                                                                    <rank>species</rank>
235
                                                                    <plantname>$species</plantname>
236
                                                                    <parent_id>
237
                                                                        <plantname>
238
                                                                            <rank>genus</rank>
239
                                                                            <plantname>$genus</plantname>
240
                                                                            <parent_id>
241
                                                                                <plantname>
242
                                                                                    <rank>family</rank>
243
                                                                                    <plantname>$family</plantname>
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
                                    </path>
256
                                </_simplifyPath>
257
                            </plantname_id>
258
                        </plantconcept>
259
                    </plantconcept_id>
260
                </taxondetermination>
261
                <verbatimcollectorname>
262
                    <_merge>
263
                        <1>$collector</1>
264
                        <2>$collector1</2>
265
                        <3>$collector2</3>
266
                        <4>$collector3</4>
267
                    </_merge>
268
                </verbatimcollectorname>
269
            </taxonoccurrence>
270
        </locationevent>
271
        <locationnarrative>
272
            <_merge>
273
                <1>$locality</1>
274
                <3>
275
                    <_label>
276
                        <label>habitat</label>
277
                        <value>$habitat</value>
278
                    </_label>
279
                </3>
280
            </_merge>
281
        </locationnarrative>
282
    </location>
283
</VegBIEN>
284
Inserted 22 new rows into database
(7-7/7)