1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<location id="-1">
|
4
|
<authorlocationcode>
|
5
|
<_alt>
|
6
|
<3>$accession_number</3>
|
7
|
<4>$acronym</4>
|
8
|
</_alt>
|
9
|
</authorlocationcode>
|
10
|
<locationdetermination>
|
11
|
<latitude>
|
12
|
<_nullIf>
|
13
|
<null>0</null>
|
14
|
<type>float</type>
|
15
|
<value>$lat_deg</value>
|
16
|
</_nullIf>
|
17
|
</latitude>
|
18
|
<longitude>
|
19
|
<_nullIf>
|
20
|
<null>0</null>
|
21
|
<type>float</type>
|
22
|
<value>$long_deg</value>
|
23
|
</_nullIf>
|
24
|
</longitude>
|
25
|
<namedplace_id>
|
26
|
<_simplifyPath>
|
27
|
<next>parent_id/namedplace</next>
|
28
|
<require>placename</require>
|
29
|
<path>
|
30
|
<namedplace>
|
31
|
<rank>county</rank>
|
32
|
<placename>$county</placename>
|
33
|
<parent_id>
|
34
|
<namedplace>
|
35
|
<rank>stateProvince</rank>
|
36
|
<placename>$state</placename>
|
37
|
<parent_id>
|
38
|
<namedplace>
|
39
|
<rank>country</rank>
|
40
|
<placename>$country</placename>
|
41
|
</namedplace>
|
42
|
</parent_id>
|
43
|
</namedplace>
|
44
|
</parent_id>
|
45
|
</namedplace>
|
46
|
</path>
|
47
|
</_simplifyPath>
|
48
|
</namedplace_id>
|
49
|
</locationdetermination>
|
50
|
<locationevent>
|
51
|
<obsenddate>
|
52
|
<_date>
|
53
|
<date>
|
54
|
<_dateRangeEnd>
|
55
|
<value>
|
56
|
<_date>
|
57
|
<day>
|
58
|
<_nullIf>
|
59
|
<null>0</null>
|
60
|
<type>float</type>
|
61
|
<value>$coll_day</value>
|
62
|
</_nullIf>
|
63
|
</day>
|
64
|
<month>
|
65
|
<_nullIf>
|
66
|
<null>0</null>
|
67
|
<type>float</type>
|
68
|
<value>$coll_month</value>
|
69
|
</_nullIf>
|
70
|
</month>
|
71
|
<year>
|
72
|
<_nullIf>
|
73
|
<null>0</null>
|
74
|
<type>float</type>
|
75
|
<value>$coll_year</value>
|
76
|
</_nullIf>
|
77
|
</year>
|
78
|
</_date>
|
79
|
</value>
|
80
|
</_dateRangeEnd>
|
81
|
</date>
|
82
|
</_date>
|
83
|
</obsenddate>
|
84
|
<obsstartdate>
|
85
|
<_date>
|
86
|
<date>
|
87
|
<_dateRangeStart>
|
88
|
<value>
|
89
|
<_date>
|
90
|
<day>
|
91
|
<_nullIf>
|
92
|
<null>0</null>
|
93
|
<type>float</type>
|
94
|
<value>$coll_day</value>
|
95
|
</_nullIf>
|
96
|
</day>
|
97
|
<month>
|
98
|
<_nullIf>
|
99
|
<null>0</null>
|
100
|
<type>float</type>
|
101
|
<value>$coll_month</value>
|
102
|
</_nullIf>
|
103
|
</month>
|
104
|
<year>
|
105
|
<_nullIf>
|
106
|
<null>0</null>
|
107
|
<type>float</type>
|
108
|
<value>$coll_year</value>
|
109
|
</_nullIf>
|
110
|
</year>
|
111
|
</_date>
|
112
|
</value>
|
113
|
</_dateRangeStart>
|
114
|
</date>
|
115
|
</_date>
|
116
|
</obsstartdate>
|
117
|
<taxonoccurrence>
|
118
|
<aggregateoccurrence>
|
119
|
<collectiondate>
|
120
|
<_date>
|
121
|
<date>
|
122
|
<_date>
|
123
|
<day>
|
124
|
<_nullIf>
|
125
|
<null>0</null>
|
126
|
<type>float</type>
|
127
|
<value>$coll_day</value>
|
128
|
</_nullIf>
|
129
|
</day>
|
130
|
<month>
|
131
|
<_nullIf>
|
132
|
<null>0</null>
|
133
|
<type>float</type>
|
134
|
<value>$coll_month</value>
|
135
|
</_nullIf>
|
136
|
</month>
|
137
|
<year>
|
138
|
<_nullIf>
|
139
|
<null>0</null>
|
140
|
<type>float</type>
|
141
|
<value>$coll_year</value>
|
142
|
</_nullIf>
|
143
|
</year>
|
144
|
</_date>
|
145
|
</date>
|
146
|
</_date>
|
147
|
</collectiondate>
|
148
|
<plantobservation>
|
149
|
<specimenreplicate>
|
150
|
<collectioncode_dwc>$acronym</collectioncode_dwc>
|
151
|
<sourceaccessioncode>$accession_number</sourceaccessioncode>
|
152
|
</specimenreplicate>
|
153
|
</plantobservation>
|
154
|
</aggregateoccurrence>
|
155
|
<taxondetermination>
|
156
|
<role>identifier</role>
|
157
|
<plantconcept_id>
|
158
|
<plantconcept>
|
159
|
<plantname_id>
|
160
|
<_simplifyPath>
|
161
|
<next>parent_id/plantname</next>
|
162
|
<require>plantname</require>
|
163
|
<path>
|
164
|
<plantname>
|
165
|
<rank>binomial</rank>
|
166
|
<parent_id>
|
167
|
<plantname>
|
168
|
<rank>authority</rank>
|
169
|
<parent_id>
|
170
|
<plantname>
|
171
|
<rank>subspecies</rank>
|
172
|
<parent_id>
|
173
|
<plantname>
|
174
|
<rank>species</rank>
|
175
|
<plantname>$specificEpithet</plantname>
|
176
|
<parent_id>
|
177
|
<plantname>
|
178
|
<rank>genus</rank>
|
179
|
<plantname>$genus</plantname>
|
180
|
<parent_id>
|
181
|
<plantname>
|
182
|
<rank>family</rank>
|
183
|
<plantname>$family</plantname>
|
184
|
</plantname>
|
185
|
</parent_id>
|
186
|
</plantname>
|
187
|
</parent_id>
|
188
|
</plantname>
|
189
|
</parent_id>
|
190
|
</plantname>
|
191
|
</parent_id>
|
192
|
</plantname>
|
193
|
</parent_id>
|
194
|
</plantname>
|
195
|
</path>
|
196
|
</_simplifyPath>
|
197
|
</plantname_id>
|
198
|
</plantconcept>
|
199
|
</plantconcept_id>
|
200
|
</taxondetermination>
|
201
|
<verbatimcollectorname>$collector</verbatimcollectorname>
|
202
|
</taxonoccurrence>
|
203
|
</locationevent>
|
204
|
<locationnarrative>
|
205
|
<_merge>
|
206
|
<1>$locality</1>
|
207
|
<3>
|
208
|
<_label>
|
209
|
<label>habitat</label>
|
210
|
<value>$habitat</value>
|
211
|
</_label>
|
212
|
</3>
|
213
|
</_merge>
|
214
|
</locationnarrative>
|
215
|
</location>
|
216
|
</VegBIEN>
|
217
|
Inserted 26 new rows into database
|