1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>UNCC.new</shortname></source></source_id>
|
5
|
<path>
|
6
|
<_simplifyPath>
|
7
|
<next>parent_id</next>
|
8
|
<path>
|
9
|
<location>
|
10
|
<authorlocationcode>
|
11
|
<_join>
|
12
|
<1>UNCC</1>
|
13
|
<3>$accessionNumber</3>
|
14
|
</_join>
|
15
|
</authorlocationcode>
|
16
|
<iscultivated>
|
17
|
<_locationnarrative_is_cultivated>
|
18
|
<locationnarrative>
|
19
|
<_join>
|
20
|
<1>$locality</1>
|
21
|
<3>$habitat</3>
|
22
|
</_join>
|
23
|
</locationnarrative>
|
24
|
</_locationnarrative_is_cultivated>
|
25
|
</iscultivated>
|
26
|
<locationevent>
|
27
|
<taxonoccurrence>
|
28
|
<aggregateoccurrence>
|
29
|
<collectiondate>
|
30
|
<_date>
|
31
|
<day>
|
32
|
<_nullIf>
|
33
|
<null>0</null>
|
34
|
<type>float</type>
|
35
|
<value>$dayCollected</value>
|
36
|
</_nullIf>
|
37
|
</day>
|
38
|
<month>
|
39
|
<_nullIf>
|
40
|
<null>0</null>
|
41
|
<type>float</type>
|
42
|
<value>$monthCollected</value>
|
43
|
</_nullIf>
|
44
|
</month>
|
45
|
<year>
|
46
|
<_nullIf>
|
47
|
<null>0</null>
|
48
|
<type>float</type>
|
49
|
<value>$yearCollected</value>
|
50
|
</_nullIf>
|
51
|
</year>
|
52
|
</_date>
|
53
|
</collectiondate>
|
54
|
<notes>$occurrenceRemarks</notes>
|
55
|
<plantobservation>
|
56
|
<authorplantcode>$collectorNumber</authorplantcode>
|
57
|
<reproductivecondition>$reproductiveCondition</reproductivecondition>
|
58
|
<specimenreplicate>
|
59
|
<catalognumber_dwc>$accessionNumber</catalognumber_dwc>
|
60
|
<collectionnumber>$collectorNumber</collectionnumber>
|
61
|
<institution_id>
|
62
|
<sourcelist>
|
63
|
<name>UNCC</name>
|
64
|
<sourcename>
|
65
|
<name>
|
66
|
<_split>
|
67
|
<separator>[,;] *</separator>
|
68
|
<value>UNCC</value>
|
69
|
</_split>
|
70
|
</name>
|
71
|
</sourcename>
|
72
|
</sourcelist>
|
73
|
</institution_id>
|
74
|
</specimenreplicate>
|
75
|
</plantobservation>
|
76
|
</aggregateoccurrence>
|
77
|
<collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
|
78
|
<iscultivated>$cultivated</iscultivated>
|
79
|
<taxondetermination>
|
80
|
<taxonverbatim_id>
|
81
|
<taxonverbatim>
|
82
|
<taxonlabel_id>
|
83
|
<taxonlabel>
|
84
|
<parent_id>
|
85
|
<taxonlabel>
|
86
|
<rank>$taxonRank</rank>
|
87
|
<parent_id>
|
88
|
<taxonlabel>
|
89
|
<rank>cultivar</rank>
|
90
|
<parent_id>
|
91
|
<taxonlabel>
|
92
|
<rank>forma</rank>
|
93
|
<parent_id>
|
94
|
<taxonlabel>
|
95
|
<rank>variety</rank>
|
96
|
<parent_id>
|
97
|
<taxonlabel>
|
98
|
<rank>subspecies</rank>
|
99
|
<parent_id>
|
100
|
<taxonlabel>
|
101
|
<rank>species</rank>
|
102
|
<taxonepithet>$specificEpithet</taxonepithet>
|
103
|
<parent_id>
|
104
|
<taxonlabel>
|
105
|
<rank>genus</rank>
|
106
|
<taxonepithet>$genus</taxonepithet>
|
107
|
<parent_id>
|
108
|
<taxonlabel>
|
109
|
<rank>family</rank>
|
110
|
<taxonepithet>$family</taxonepithet>
|
111
|
</taxonlabel>
|
112
|
</parent_id>
|
113
|
</taxonlabel>
|
114
|
</parent_id>
|
115
|
</taxonlabel>
|
116
|
</parent_id>
|
117
|
</taxonlabel>
|
118
|
</parent_id>
|
119
|
</taxonlabel>
|
120
|
</parent_id>
|
121
|
</taxonlabel>
|
122
|
</parent_id>
|
123
|
</taxonlabel>
|
124
|
</parent_id>
|
125
|
<taxonepithet>$infraspecificEpithet</taxonepithet>
|
126
|
</taxonlabel>
|
127
|
</parent_id>
|
128
|
<rank>$taxonRank</rank>
|
129
|
<taxonomicname>
|
130
|
<_merge_prefix>
|
131
|
<prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
|
132
|
<value>
|
133
|
<_join_words>
|
134
|
<1>
|
135
|
<_alt>
|
136
|
<1>$taxonName</1>
|
137
|
<2>
|
138
|
<_join_words>
|
139
|
<2><_filter_genus><value>$genus</value></_filter_genus></2>
|
140
|
<3>$specificEpithet</3>
|
141
|
<5>
|
142
|
<_join_words>
|
143
|
<1>
|
144
|
<_if name="if has infraspecificEpithet">
|
145
|
<cond>$infraspecificEpithet</cond>
|
146
|
<then>$taxonRank</then>
|
147
|
</_if>
|
148
|
</1>
|
149
|
<2>$infraspecificEpithet</2>
|
150
|
</_join_words>
|
151
|
</5>
|
152
|
</_join_words>
|
153
|
</2>
|
154
|
</_alt>
|
155
|
</1>
|
156
|
<2>$scientificNameAuthorship</2>
|
157
|
</_join_words>
|
158
|
</value>
|
159
|
</_merge_prefix>
|
160
|
</taxonomicname>
|
161
|
</taxonlabel>
|
162
|
</taxonlabel_id>
|
163
|
<author>$scientificNameAuthorship</author>
|
164
|
<family>$family</family>
|
165
|
<genus>$genus</genus>
|
166
|
<specific_epithet>$specificEpithet</specific_epithet>
|
167
|
<taxonname>$taxonName</taxonname>
|
168
|
<verbatimrank>$taxonRank</verbatimrank>
|
169
|
</taxonverbatim>
|
170
|
</taxonverbatim_id>
|
171
|
</taxondetermination>
|
172
|
</taxonoccurrence>
|
173
|
</locationevent>
|
174
|
<locationnarrative>
|
175
|
<_merge>
|
176
|
<1>$locality</1>
|
177
|
<3>
|
178
|
<_label>
|
179
|
<label>habitat</label>
|
180
|
<value>$habitat</value>
|
181
|
</_label>
|
182
|
</3>
|
183
|
</_merge>
|
184
|
</locationnarrative>
|
185
|
<locationplace>
|
186
|
<place_id>
|
187
|
<place>
|
188
|
<country>$country</country>
|
189
|
<county>$county</county>
|
190
|
<matched_place_id>
|
191
|
<place>
|
192
|
<source_id><source><shortname>geoscrub</shortname></source></source_id>
|
193
|
<country>$country</country>
|
194
|
<county>$county</county>
|
195
|
<stateprovince>$stateProvince</stateprovince>
|
196
|
</place>
|
197
|
</matched_place_id>
|
198
|
<stateprovince>$stateProvince</stateprovince>
|
199
|
</place>
|
200
|
</place_id>
|
201
|
</locationplace>
|
202
|
</location>
|
203
|
</path>
|
204
|
</_simplifyPath>
|
205
|
</path>
|
206
|
</_setDefault>
|
207
|
</VegBIEN>
|
208
|
Inserted 26 new rows into database
|