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
|
<creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
|
112
|
<creator_id>
|
113
|
<_simplifyPath>
|
114
|
<next>creator_id</next>
|
115
|
<path><party><fullname>$identifiedBy</fullname></party></path>
|
116
|
</_simplifyPath>
|
117
|
</creator_id>
|
118
|
<family>$family</family>
|
119
|
<genus>$genus</genus>
|
120
|
<parent_id>
|
121
|
<taxonlabel>
|
122
|
<rank>$taxonRank</rank>
|
123
|
<verbatimrank>$taxonRank</verbatimrank>
|
124
|
<parent_id>
|
125
|
<taxonlabel>
|
126
|
<rank>cultivar</rank>
|
127
|
<parent_id>
|
128
|
<taxonlabel>
|
129
|
<rank>forma</rank>
|
130
|
<parent_id>
|
131
|
<taxonlabel>
|
132
|
<rank>variety</rank>
|
133
|
<parent_id>
|
134
|
<taxonlabel>
|
135
|
<rank>subspecies</rank>
|
136
|
<parent_id>
|
137
|
<taxonlabel>
|
138
|
<rank>species</rank>
|
139
|
<taxonepithet>$specificEpithet</taxonepithet>
|
140
|
<parent_id>
|
141
|
<taxonlabel>
|
142
|
<rank>genus</rank>
|
143
|
<taxonepithet>$genus</taxonepithet>
|
144
|
<parent_id>
|
145
|
<taxonlabel>
|
146
|
<rank>family</rank>
|
147
|
<taxonepithet>$family</taxonepithet>
|
148
|
<parent_id>
|
149
|
<taxonlabel>
|
150
|
<rank>order</rank>
|
151
|
<taxonepithet>$order</taxonepithet>
|
152
|
<parent_id>
|
153
|
<taxonlabel>
|
154
|
<rank>class</rank>
|
155
|
<taxonepithet>$class</taxonepithet>
|
156
|
<parent_id>
|
157
|
<taxonlabel>
|
158
|
<rank>phylum</rank>
|
159
|
<taxonepithet>$phylum</taxonepithet>
|
160
|
<parent_id>
|
161
|
<taxonlabel>
|
162
|
<rank>kingdom</rank>
|
163
|
<taxonepithet>$kingdom</taxonepithet>
|
164
|
</taxonlabel>
|
165
|
</parent_id>
|
166
|
</taxonlabel>
|
167
|
</parent_id>
|
168
|
</taxonlabel>
|
169
|
</parent_id>
|
170
|
</taxonlabel>
|
171
|
</parent_id>
|
172
|
</taxonlabel>
|
173
|
</parent_id>
|
174
|
</taxonlabel>
|
175
|
</parent_id>
|
176
|
</taxonlabel>
|
177
|
</parent_id>
|
178
|
</taxonlabel>
|
179
|
</parent_id>
|
180
|
</taxonlabel>
|
181
|
</parent_id>
|
182
|
</taxonlabel>
|
183
|
</parent_id>
|
184
|
</taxonlabel>
|
185
|
</parent_id>
|
186
|
<taxonepithet>$infraspecificEpithet</taxonepithet>
|
187
|
</taxonlabel>
|
188
|
</parent_id>
|
189
|
<rank>$taxonRank</rank>
|
190
|
<species>$specificEpithet</species>
|
191
|
<taxonomicname>$scientificName</taxonomicname>
|
192
|
<verbatimrank>$taxonRank</verbatimrank>
|
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
|