1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<authorlocationcode>
|
8
|
<_alt>
|
9
|
<1>$id</1>
|
10
|
<2>
|
11
|
<_join>
|
12
|
<1>$institutionCode</1>
|
13
|
<2>
|
14
|
<_join>
|
15
|
<1>$collectionCode</1>
|
16
|
<2>$collectionID</2>
|
17
|
</_join>
|
18
|
</2>
|
19
|
<3>$catalogNumber</3>
|
20
|
</_join>
|
21
|
</2>
|
22
|
</_alt>
|
23
|
</authorlocationcode>
|
24
|
<elevation_m>
|
25
|
<_units>
|
26
|
<to>m</to>
|
27
|
<to></to>
|
28
|
<value>$verbatimElevation</value>
|
29
|
</_units>
|
30
|
</elevation_m>
|
31
|
<locationcoords>
|
32
|
<latitude_deg>
|
33
|
<_nullIf>
|
34
|
<null>0</null>
|
35
|
<type>float</type>
|
36
|
<value>$decimalLatitude</value>
|
37
|
</_nullIf>
|
38
|
</latitude_deg>
|
39
|
<longitude_deg>
|
40
|
<_nullIf>
|
41
|
<null>0</null>
|
42
|
<type>float</type>
|
43
|
<value>$decimalLongitude</value>
|
44
|
</_nullIf>
|
45
|
</longitude_deg>
|
46
|
</locationcoords>
|
47
|
<locationevent>
|
48
|
<obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
|
49
|
<obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
|
50
|
<taxonoccurrence>
|
51
|
<aggregateoccurrence>
|
52
|
<plantobservation>
|
53
|
<collectionnumber>$recordNumber</collectionnumber>
|
54
|
<specimenreplicate>
|
55
|
<catalognumber_dwc>$catalogNumber</catalognumber_dwc>
|
56
|
<collectioncode_dwc>
|
57
|
<_join>
|
58
|
<1>$collectionCode</1>
|
59
|
<2>$collectionID</2>
|
60
|
</_join>
|
61
|
</collectioncode_dwc>
|
62
|
<institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
|
63
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
64
|
</specimenreplicate>
|
65
|
</plantobservation>
|
66
|
</aggregateoccurrence>
|
67
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
68
|
<taxondetermination>
|
69
|
<party_id><party><fullname>$identifiedBy</fullname></party></party_id>
|
70
|
<taxonlabel_id>
|
71
|
<taxonlabel>
|
72
|
<matched_label_id>
|
73
|
<taxonlabel>
|
74
|
<creator_id>
|
75
|
<party>
|
76
|
<creator_id>0</creator_id>
|
77
|
<organizationname>TNRS</organizationname>
|
78
|
</party>
|
79
|
</creator_id>
|
80
|
<identifyingtaxonomicname>
|
81
|
<_alt>
|
82
|
<1>$scientificName</1>
|
83
|
<2>
|
84
|
<_join_words>
|
85
|
<1>
|
86
|
<_join_words>
|
87
|
<1>$family</1>
|
88
|
<2>$genus</2>
|
89
|
<3>$specificEpithet</3>
|
90
|
<5>
|
91
|
<_join_words>
|
92
|
<1>
|
93
|
<_if name="if has infraspecificEpithet">
|
94
|
<cond>$infraspecificEpithet</cond>
|
95
|
<then>$taxonRank</then>
|
96
|
</_if>
|
97
|
</1>
|
98
|
<2>$infraspecificEpithet</2>
|
99
|
</_join_words>
|
100
|
</5>
|
101
|
</_join_words>
|
102
|
</1>
|
103
|
<2>$scientificNameAuthorship</2>
|
104
|
</_join_words>
|
105
|
</2>
|
106
|
</_alt>
|
107
|
</identifyingtaxonomicname>
|
108
|
</taxonlabel>
|
109
|
</matched_label_id>
|
110
|
<author>$scientificNameAuthorship</author>
|
111
|
<creator_id>
|
112
|
<_simplifyPath>
|
113
|
<next>creator_id</next>
|
114
|
<path><party><fullname>$identifiedBy</fullname></party></path>
|
115
|
</_simplifyPath>
|
116
|
</creator_id>
|
117
|
<family>$family</family>
|
118
|
<genus>$genus</genus>
|
119
|
<parent_id>
|
120
|
<taxonlabel>
|
121
|
<rank>$taxonRank</rank>
|
122
|
<verbatimrank>$taxonRank</verbatimrank>
|
123
|
<parent_id>
|
124
|
<taxonlabel>
|
125
|
<rank>cultivar</rank>
|
126
|
<parent_id>
|
127
|
<taxonlabel>
|
128
|
<rank>forma</rank>
|
129
|
<parent_id>
|
130
|
<taxonlabel>
|
131
|
<rank>variety</rank>
|
132
|
<parent_id>
|
133
|
<taxonlabel>
|
134
|
<rank>subspecies</rank>
|
135
|
<parent_id>
|
136
|
<taxonlabel>
|
137
|
<rank>species</rank>
|
138
|
<taxonepithet>$specificEpithet</taxonepithet>
|
139
|
<parent_id>
|
140
|
<taxonlabel>
|
141
|
<rank>genus</rank>
|
142
|
<taxonepithet>$genus</taxonepithet>
|
143
|
<parent_id>
|
144
|
<taxonlabel>
|
145
|
<rank>family</rank>
|
146
|
<taxonepithet>$family</taxonepithet>
|
147
|
<parent_id>
|
148
|
<taxonlabel>
|
149
|
<rank>order</rank>
|
150
|
<taxonepithet>$order</taxonepithet>
|
151
|
<parent_id>
|
152
|
<taxonlabel>
|
153
|
<rank>class</rank>
|
154
|
<taxonepithet>$class</taxonepithet>
|
155
|
<parent_id>
|
156
|
<taxonlabel>
|
157
|
<rank>phylum</rank>
|
158
|
<taxonepithet>$phylum</taxonepithet>
|
159
|
<parent_id>
|
160
|
<taxonlabel>
|
161
|
<rank>kingdom</rank>
|
162
|
<taxonepithet>$kingdom</taxonepithet>
|
163
|
</taxonlabel>
|
164
|
</parent_id>
|
165
|
</taxonlabel>
|
166
|
</parent_id>
|
167
|
</taxonlabel>
|
168
|
</parent_id>
|
169
|
</taxonlabel>
|
170
|
</parent_id>
|
171
|
</taxonlabel>
|
172
|
</parent_id>
|
173
|
</taxonlabel>
|
174
|
</parent_id>
|
175
|
</taxonlabel>
|
176
|
</parent_id>
|
177
|
</taxonlabel>
|
178
|
</parent_id>
|
179
|
</taxonlabel>
|
180
|
</parent_id>
|
181
|
</taxonlabel>
|
182
|
</parent_id>
|
183
|
</taxonlabel>
|
184
|
</parent_id>
|
185
|
<taxonepithet>$infraspecificEpithet</taxonepithet>
|
186
|
</taxonlabel>
|
187
|
</parent_id>
|
188
|
<rank>$taxonRank</rank>
|
189
|
<species>$specificEpithet</species>
|
190
|
<taxonomicnamewithauthor>$scientificName</taxonomicnamewithauthor>
|
191
|
<verbatimrank>$taxonRank</verbatimrank>
|
192
|
<creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
|
193
|
</taxonlabel>
|
194
|
</taxonlabel_id>
|
195
|
<determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
|
196
|
</taxondetermination>
|
197
|
<verbatimcollectorname>$recordedBy</verbatimcollectorname>
|
198
|
</taxonoccurrence>
|
199
|
</locationevent>
|
200
|
<locationnarrative>
|
201
|
<_merge>
|
202
|
<1>$locality</1>
|
203
|
<3>
|
204
|
<_label>
|
205
|
<label>habitat</label>
|
206
|
<value>$habitat</value>
|
207
|
</_label>
|
208
|
</3>
|
209
|
</_merge>
|
210
|
</locationnarrative>
|
211
|
<locationplace>
|
212
|
<placepath_id>
|
213
|
<placepath>
|
214
|
<continent>$continent</continent>
|
215
|
<country>$country</country>
|
216
|
<county>$county</county>
|
217
|
<stateprovince>$stateProvince</stateprovince>
|
218
|
</placepath>
|
219
|
</placepath_id>
|
220
|
</locationplace>
|
221
|
<verbatimelevation>$verbatimElevation</verbatimelevation>
|
222
|
</location>
|
223
|
</path>
|
224
|
</_simplifyPath>
|
225
|
</VegBIEN>
|
226
|
Inserted 35 new rows into database
|