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