1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<location id="-1">
|
4
|
<authorlocationcode>
|
5
|
<_alt>
|
6
|
<3>$accession</3>
|
7
|
<4>$herbarium</4>
|
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
|
<authorplantcode>$collectno</authorplantcode>
|
162
|
<sourceaccessioncode>$accession</sourceaccessioncode>
|
163
|
<specimenreplicate>
|
164
|
<collectionnumber>$collectno</collectionnumber>
|
165
|
<institution_id><party><organizationname>$herbarium</organizationname></party></institution_id>
|
166
|
<sourceaccessioncode>$accession</sourceaccessioncode>
|
167
|
</specimenreplicate>
|
168
|
</plantobservation>
|
169
|
</aggregateoccurrence>
|
170
|
<authortaxoncode>$collectno</authortaxoncode>
|
171
|
<iscultivated>
|
172
|
<_map>
|
173
|
<cultivated>t</cultivated>
|
174
|
<wild>f</wild>
|
175
|
<*></*>
|
176
|
<value>
|
177
|
<_map>
|
178
|
<Y>cultivated</Y>
|
179
|
<N>wild</N>
|
180
|
<*></*>
|
181
|
<value>$cultivated</value>
|
182
|
</_map>
|
183
|
</value>
|
184
|
</_map>
|
185
|
</iscultivated>
|
186
|
<isnative>
|
187
|
<_map>
|
188
|
<native>t</native>
|
189
|
<exotic>f</exotic>
|
190
|
<*></*>
|
191
|
<value>
|
192
|
<_map>
|
193
|
<Y>cultivated</Y>
|
194
|
<N>wild</N>
|
195
|
<*></*>
|
196
|
<value>$cultivated</value>
|
197
|
</_map>
|
198
|
</value>
|
199
|
</_map>
|
200
|
</isnative>
|
201
|
<sourceaccessioncode>$accession</sourceaccessioncode>
|
202
|
<taxondetermination>
|
203
|
<isoriginal>true</isoriginal>
|
204
|
<role>identifier</role>
|
205
|
<plantconcept_id>
|
206
|
<plantconcept>
|
207
|
<plantname_id>
|
208
|
<_simplifyPath>
|
209
|
<next>parent_id/plantname</next>
|
210
|
<require>plantname</require>
|
211
|
<path>
|
212
|
<plantname>
|
213
|
<rank>binomial</rank>
|
214
|
<plantname>$SciName</plantname>
|
215
|
<parent_id>
|
216
|
<plantname>
|
217
|
<rank>authority</rank>
|
218
|
<plantname>$authors</plantname>
|
219
|
<parent_id>
|
220
|
<plantname>
|
221
|
<rank>subspecies</rank>
|
222
|
<plantname>$infraname</plantname>
|
223
|
<parent_id>
|
224
|
<plantname>
|
225
|
<rank>species</rank>
|
226
|
<plantname>$species</plantname>
|
227
|
<parent_id>
|
228
|
<plantname>
|
229
|
<rank>genus</rank>
|
230
|
<plantname>$genus</plantname>
|
231
|
<parent_id>
|
232
|
<plantname>
|
233
|
<rank>family</rank>
|
234
|
<plantname>$family</plantname>
|
235
|
</plantname>
|
236
|
</parent_id>
|
237
|
</plantname>
|
238
|
</parent_id>
|
239
|
</plantname>
|
240
|
</parent_id>
|
241
|
</plantname>
|
242
|
</parent_id>
|
243
|
</plantname>
|
244
|
</parent_id>
|
245
|
</plantname>
|
246
|
</path>
|
247
|
</_simplifyPath>
|
248
|
</plantname_id>
|
249
|
</plantconcept>
|
250
|
</plantconcept_id>
|
251
|
</taxondetermination>
|
252
|
<verbatimcollectorname>
|
253
|
<_merge>
|
254
|
<1>$collector</1>
|
255
|
<2>$collector1</2>
|
256
|
<3>$collector2</3>
|
257
|
<4>$collector3</4>
|
258
|
</_merge>
|
259
|
</verbatimcollectorname>
|
260
|
</taxonoccurrence>
|
261
|
</locationevent>
|
262
|
<locationnarrative>
|
263
|
<_merge>
|
264
|
<1>$locality</1>
|
265
|
<3>
|
266
|
<_label>
|
267
|
<label>habitat</label>
|
268
|
<value>$habitat</value>
|
269
|
</_label>
|
270
|
</3>
|
271
|
</_merge>
|
272
|
</locationnarrative>
|
273
|
</location>
|
274
|
</VegBIEN>
|
275
|
Inserted 22 new rows into database
|