Project

General

Profile

1 6344 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>TRTE.new</shortname></source></source_id>
5 6344 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_alt>
12 10260 aaronmk
                                <1>$dataProviderRecordID</1>
13 6344 aaronmk
                                <2>
14
                                    <_join>
15 10260 aaronmk
                                        <1>$specimenHolderInstitutions</1>
16 6403 aaronmk
                                        <2>
17
                                            <_join>
18 10260 aaronmk
                                                <1>$collection</1>
19
                                                <2>$collectionURL</2>
20 6403 aaronmk
                                            </_join>
21
                                        </2>
22 10260 aaronmk
                                        <3>$accessionNumber</3>
23 6344 aaronmk
                                    </_join>
24
                                </2>
25 6403 aaronmk
                            </_alt>
26
                        </authorlocationcode>
27 6596 aaronmk
                        <accessconditions>$rights</accessconditions>
28 6403 aaronmk
                        <elevation_m>
29
                            <_units>
30
                                <to>m</to>
31
                                <to></to>
32
                                <value>$verbatimElevation</value>
33
                            </_units>
34
                        </elevation_m>
35 6432 aaronmk
                        <iscultivated>
36
                            <_locationnarrative_is_cultivated>
37
                                <locationnarrative>
38
                                    <_join>
39
                                        <1>$locality</1>
40
                                        <3>$habitat</3>
41
                                    </_join>
42
                                </locationnarrative>
43
                            </_locationnarrative_is_cultivated>
44
                        </iscultivated>
45 6403 aaronmk
                        <locationevent>
46
                            <taxonoccurrence>
47
                                <aggregateoccurrence>
48 10758 aaronmk
                                    <collectiondate>$dateCollected</collectiondate>
49 7713 aaronmk
                                    <notes>$occurrenceRemarks</notes>
50 6403 aaronmk
                                    <plantobservation>
51 10260 aaronmk
                                        <authorplantcode>$collectorNumber</authorplantcode>
52 6403 aaronmk
                                        <specimenreplicate>
53 10260 aaronmk
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
54 6403 aaronmk
                                            <collectioncode_dwc>
55 7712 aaronmk
                                                <_alt>
56 10260 aaronmk
                                                    <1>$collection</1>
57
                                                    <2>$collectionURL</2>
58 7712 aaronmk
                                                </_alt>
59 6403 aaronmk
                                            </collectioncode_dwc>
60 10260 aaronmk
                                            <collectionnumber>$collectorNumber</collectionnumber>
61 6403 aaronmk
                                            <institution_id>
62 6791 aaronmk
                                                <sourcelist>
63 10260 aaronmk
                                                    <name>$specimenHolderInstitutions</name>
64 6791 aaronmk
                                                    <sourcename>
65 6795 aaronmk
                                                        <name>
66
                                                            <_split>
67 7433 aaronmk
                                                                <separator>[,;] *</separator>
68 10260 aaronmk
                                                                <value>$specimenHolderInstitutions</value>
69 6795 aaronmk
                                                            </_split>
70
                                                        </name>
71 6791 aaronmk
                                                    </sourcename>
72
                                                </sourcelist>
73 6403 aaronmk
                                            </institution_id>
74 10260 aaronmk
                                            <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
75 6403 aaronmk
                                        </specimenreplicate>
76
                                    </plantobservation>
77
                                </aggregateoccurrence>
78
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
79 10260 aaronmk
                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
80 6403 aaronmk
                                <taxondetermination>
81
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
82
                                    <taxonverbatim_id>
83
                                        <taxonverbatim>
84
                                            <taxonlabel_id>
85 6344 aaronmk
                                                <taxonlabel>
86
                                                    <parent_id>
87
                                                        <taxonlabel>
88 6403 aaronmk
                                                            <rank>$taxonRank</rank>
89 6344 aaronmk
                                                            <parent_id>
90
                                                                <taxonlabel>
91 6403 aaronmk
                                                                    <rank>cultivar</rank>
92 6344 aaronmk
                                                                    <parent_id>
93
                                                                        <taxonlabel>
94 6403 aaronmk
                                                                            <rank>forma</rank>
95 6344 aaronmk
                                                                            <parent_id>
96
                                                                                <taxonlabel>
97 6403 aaronmk
                                                                                    <rank>variety</rank>
98 6344 aaronmk
                                                                                    <parent_id>
99
                                                                                        <taxonlabel>
100 6403 aaronmk
                                                                                            <rank>subspecies</rank>
101 6344 aaronmk
                                                                                            <parent_id>
102
                                                                                                <taxonlabel>
103 6403 aaronmk
                                                                                                    <rank>species</rank>
104
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
105 6344 aaronmk
                                                                                                    <parent_id>
106
                                                                                                        <taxonlabel>
107 6403 aaronmk
                                                                                                            <rank>genus</rank>
108
                                                                                                            <taxonepithet>$genus</taxonepithet>
109 6344 aaronmk
                                                                                                            <parent_id>
110
                                                                                                                <taxonlabel>
111 6403 aaronmk
                                                                                                                    <rank>family</rank>
112
                                                                                                                    <taxonepithet>$family</taxonepithet>
113 6344 aaronmk
                                                                                                                    <parent_id>
114
                                                                                                                        <taxonlabel>
115 6403 aaronmk
                                                                                                                            <rank>order</rank>
116 6344 aaronmk
                                                                                                                            <parent_id>
117
                                                                                                                                <taxonlabel>
118 6403 aaronmk
                                                                                                                                    <rank>class</rank>
119 6344 aaronmk
                                                                                                                                    <parent_id>
120
                                                                                                                                        <taxonlabel>
121 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
122
                                                                                                                                            <parent_id>
123
                                                                                                                                                <taxonlabel>
124
                                                                                                                                                    <rank>kingdom</rank>
125
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
126
                                                                                                                                                </taxonlabel>
127
                                                                                                                                            </parent_id>
128 6344 aaronmk
                                                                                                                                        </taxonlabel>
129
                                                                                                                                    </parent_id>
130
                                                                                                                                </taxonlabel>
131
                                                                                                                            </parent_id>
132
                                                                                                                        </taxonlabel>
133
                                                                                                                    </parent_id>
134
                                                                                                                </taxonlabel>
135
                                                                                                            </parent_id>
136
                                                                                                        </taxonlabel>
137
                                                                                                    </parent_id>
138
                                                                                                </taxonlabel>
139
                                                                                            </parent_id>
140
                                                                                        </taxonlabel>
141
                                                                                    </parent_id>
142
                                                                                </taxonlabel>
143
                                                                            </parent_id>
144
                                                                        </taxonlabel>
145
                                                                    </parent_id>
146
                                                                </taxonlabel>
147
                                                            </parent_id>
148 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
149 6344 aaronmk
                                                        </taxonlabel>
150
                                                    </parent_id>
151 6403 aaronmk
                                                    <rank>$taxonRank</rank>
152
                                                    <taxonomicname>
153 7142 aaronmk
                                                        <_merge_prefix>
154
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
155
                                                            <value>
156 6403 aaronmk
                                                                <_alt>
157
                                                                    <1>$scientificName</1>
158
                                                                    <2>
159 6344 aaronmk
                                                                        <_join_words>
160 6403 aaronmk
                                                                            <1>
161 6344 aaronmk
                                                                                <_join_words>
162 9882 aaronmk
                                                                                    <2><_filter_genus><value>$genus</value></_filter_genus></2>
163 6403 aaronmk
                                                                                    <3>$specificEpithet</3>
164
                                                                                    <5>
165
                                                                                        <_join_words>
166
                                                                                            <1>
167
                                                                                                <_if name="if has infraspecificEpithet">
168
                                                                                                    <cond>$infraspecificEpithet</cond>
169
                                                                                                    <then>$taxonRank</then>
170
                                                                                                </_if>
171
                                                                                            </1>
172
                                                                                            <2>$infraspecificEpithet</2>
173
                                                                                        </_join_words>
174
                                                                                    </5>
175 6344 aaronmk
                                                                                </_join_words>
176 6403 aaronmk
                                                                            </1>
177
                                                                            <2>$scientificNameAuthorship</2>
178 6344 aaronmk
                                                                        </_join_words>
179 6403 aaronmk
                                                                    </2>
180
                                                                </_alt>
181 7142 aaronmk
                                                            </value>
182
                                                        </_merge_prefix>
183 6403 aaronmk
                                                    </taxonomicname>
184
                                                </taxonlabel>
185
                                            </taxonlabel_id>
186
                                            <author>$scientificNameAuthorship</author>
187
                                            <family>$family</family>
188
                                            <genus>$genus</genus>
189
                                            <specific_epithet>$specificEpithet</specific_epithet>
190
                                            <taxonomicname>$scientificName</taxonomicname>
191
                                            <verbatimrank>$taxonRank</verbatimrank>
192
                                        </taxonverbatim>
193
                                    </taxonverbatim_id>
194
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
195
                                </taxondetermination>
196
                            </taxonoccurrence>
197
                        </locationevent>
198
                        <locationnarrative>
199
                            <_merge>
200
                                <1>$locality</1>
201
                                <3>
202
                                    <_label>
203
                                        <label>habitat</label>
204
                                        <value>$habitat</value>
205
                                    </_label>
206
                                </3>
207 8078 aaronmk
                                <4>$locationRemarks</4>
208 6403 aaronmk
                            </_merge>
209
                        </locationnarrative>
210
                        <locationplace>
211
                            <place_id>
212 6344 aaronmk
                                <place>
213
                                    <coordinates_id>
214
                                        <coordinates>
215
                                            <latitude_deg>
216
                                                <_nullIf>
217
                                                    <null>0</null>
218
                                                    <type>float</type>
219
                                                    <value>$decimalLatitude</value>
220
                                                </_nullIf>
221
                                            </latitude_deg>
222
                                            <longitude_deg>
223
                                                <_nullIf>
224
                                                    <null>0</null>
225
                                                    <type>float</type>
226
                                                    <value>$decimalLongitude</value>
227
                                                </_nullIf>
228
                                            </longitude_deg>
229 6579 aaronmk
                                            <verbatimcoordinates>$verbatimCoordinates</verbatimcoordinates>
230 6403 aaronmk
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
231
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
232 6344 aaronmk
                                        </coordinates>
233
                                    </coordinates_id>
234 10565 aaronmk
                                    <placename_id>
235
                                        <placename>
236
                                            <rank>municipality</rank>
237
                                            <placename>$municipality</placename>
238
                                        </placename>
239
                                    </placename_id>
240 6344 aaronmk
                                    <country>$country</country>
241
                                    <county>$county</county>
242 6403 aaronmk
                                    <matched_place_id>
243
                                        <place>
244
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
245
                                            <coordinates_id>
246
                                                <coordinates>
247
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
248
                                                    <latitude_deg>
249
                                                        <_nullIf>
250
                                                            <null>0</null>
251
                                                            <type>float</type>
252
                                                            <value>$decimalLatitude</value>
253
                                                        </_nullIf>
254
                                                    </latitude_deg>
255
                                                    <longitude_deg>
256
                                                        <_nullIf>
257
                                                            <null>0</null>
258
                                                            <type>float</type>
259
                                                            <value>$decimalLongitude</value>
260
                                                        </_nullIf>
261
                                                    </longitude_deg>
262
                                                </coordinates>
263
                                            </coordinates_id>
264
                                            <country>$country</country>
265
                                            <county>$county</county>
266
                                            <stateprovince>$stateProvince</stateprovince>
267
                                        </place>
268
                                    </matched_place_id>
269 6344 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
270
                                </place>
271 6403 aaronmk
                            </place_id>
272
                        </locationplace>
273
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
274
                    </location>
275
                </path>
276
            </_simplifyPath>
277 6344 aaronmk
        </path>
278 6403 aaronmk
    </_setDefault>
279 6344 aaronmk
</VegBIEN>
280 7162 aaronmk
Inserted 32 new rows into database