1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<location id="-1">
|
4
|
<authorlocationcode><_merge><2>$herbarium</2></_merge></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
|
<taxonoccurrence>
|
33
|
<aggregateoccurrence>
|
34
|
<collectiondate>
|
35
|
<_date>
|
36
|
<date>
|
37
|
<_dateRangeStart>
|
38
|
<value>
|
39
|
<_alt>
|
40
|
<1>
|
41
|
<_date>
|
42
|
<day>
|
43
|
<_nullIf>
|
44
|
<null>0</null>
|
45
|
<type>float</type>
|
46
|
<value>$collday</value>
|
47
|
</_nullIf>
|
48
|
</day>
|
49
|
<month>
|
50
|
<_nullIf>
|
51
|
<null>0</null>
|
52
|
<type>float</type>
|
53
|
<value>$collmonth</value>
|
54
|
</_nullIf>
|
55
|
</month>
|
56
|
<year>
|
57
|
<_nullIf>
|
58
|
<null>0</null>
|
59
|
<type>float</type>
|
60
|
<value>$collyear</value>
|
61
|
</_nullIf>
|
62
|
</year>
|
63
|
</_date>
|
64
|
</1>
|
65
|
</_alt>
|
66
|
</value>
|
67
|
</_dateRangeStart>
|
68
|
</date>
|
69
|
</_date>
|
70
|
</collectiondate>
|
71
|
<notes>
|
72
|
<_merge>
|
73
|
<1>$comment1</1>
|
74
|
<2>$comment2</2>
|
75
|
<3>$comment3</3>
|
76
|
<4>$comment4</4>
|
77
|
<5>
|
78
|
<_label>
|
79
|
<label>campus</label>
|
80
|
<value>$campus</value>
|
81
|
</_label>
|
82
|
</5>
|
83
|
<6>
|
84
|
<_label>
|
85
|
<label>loaned to</label>
|
86
|
<value>$loanto</value>
|
87
|
</_label>
|
88
|
</6>
|
89
|
<7>
|
90
|
<_label>
|
91
|
<label>in or out</label>
|
92
|
<value>$inorout</value>
|
93
|
</_label>
|
94
|
</7>
|
95
|
</_merge>
|
96
|
</notes>
|
97
|
<plantobservation>
|
98
|
<specimenreplicate>
|
99
|
<collectioncode_dwc><_alt><1>$herbarium</1></_alt></collectioncode_dwc>
|
100
|
<collectionnumber><_alt><1>$collectno</1></_alt></collectionnumber>
|
101
|
<sourceaccessioncode>$accession</sourceaccessioncode>
|
102
|
</specimenreplicate>
|
103
|
</plantobservation>
|
104
|
</aggregateoccurrence>
|
105
|
<iscultivated>
|
106
|
<_map>
|
107
|
<cultivated>t</cultivated>
|
108
|
<wild>f</wild>
|
109
|
<*></*>
|
110
|
<value>
|
111
|
<_map>
|
112
|
<Y>cultivated</Y>
|
113
|
<N>wild</N>
|
114
|
<*></*>
|
115
|
<value>$cultivated</value>
|
116
|
</_map>
|
117
|
</value>
|
118
|
</_map>
|
119
|
</iscultivated>
|
120
|
<isnative>
|
121
|
<_map>
|
122
|
<native>t</native>
|
123
|
<exotic>f</exotic>
|
124
|
<*></*>
|
125
|
<value>
|
126
|
<_map>
|
127
|
<Y>cultivated</Y>
|
128
|
<N>wild</N>
|
129
|
<*></*>
|
130
|
<value>$cultivated</value>
|
131
|
</_map>
|
132
|
</value>
|
133
|
</_map>
|
134
|
</isnative>
|
135
|
<taxondetermination>
|
136
|
<isoriginal>true</isoriginal>
|
137
|
<role>identifier</role>
|
138
|
<plantconcept_id>
|
139
|
<plantconcept>
|
140
|
<plantname_id>
|
141
|
<_simplifyPath>
|
142
|
<next>parent_id/plantname</next>
|
143
|
<require>plantname</require>
|
144
|
<path>
|
145
|
<plantname>
|
146
|
<rank>binomial</rank>
|
147
|
<plantname>$SciName</plantname>
|
148
|
<parent_id>
|
149
|
<plantname>
|
150
|
<rank>authority</rank>
|
151
|
<plantname>$authors</plantname>
|
152
|
<parent_id>
|
153
|
<plantname>
|
154
|
<rank>subspecies</rank>
|
155
|
<plantname>$infraname</plantname>
|
156
|
<parent_id>
|
157
|
<plantname>
|
158
|
<rank>species</rank>
|
159
|
<plantname>$species</plantname>
|
160
|
<parent_id>
|
161
|
<plantname>
|
162
|
<rank>genus</rank>
|
163
|
<plantname>$genus</plantname>
|
164
|
<parent_id>
|
165
|
<plantname>
|
166
|
<rank>family</rank>
|
167
|
<plantname>$family</plantname>
|
168
|
</plantname>
|
169
|
</parent_id>
|
170
|
</plantname>
|
171
|
</parent_id>
|
172
|
</plantname>
|
173
|
</parent_id>
|
174
|
</plantname>
|
175
|
</parent_id>
|
176
|
</plantname>
|
177
|
</parent_id>
|
178
|
</plantname>
|
179
|
</path>
|
180
|
</_simplifyPath>
|
181
|
</plantname_id>
|
182
|
</plantconcept>
|
183
|
</plantconcept_id>
|
184
|
</taxondetermination>
|
185
|
<verbatimcollectorname>
|
186
|
<_merge>
|
187
|
<1>$collector</1>
|
188
|
<2>$collector1</2>
|
189
|
<3>$collector2</3>
|
190
|
<4>$collector3</4>
|
191
|
</_merge>
|
192
|
</verbatimcollectorname>
|
193
|
</taxonoccurrence>
|
194
|
</locationevent>
|
195
|
<locationnarrative>
|
196
|
<_merge>
|
197
|
<1>$locality</1>
|
198
|
<3>
|
199
|
<_label>
|
200
|
<label>habitat</label>
|
201
|
<value>$habitat</value>
|
202
|
</_label>
|
203
|
</3>
|
204
|
</_merge>
|
205
|
</locationnarrative>
|
206
|
<sourceaccessioncode>$accession</sourceaccessioncode>
|
207
|
</location>
|
208
|
</VegBIEN>
|
209
|
Inserted 21 new rows into database
|