Project

General

Profile

1 6344 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>TRTE</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
                                <1>$id</1>
13 6344 aaronmk
                                <2>
14
                                    <_join>
15 6403 aaronmk
                                        <1>$institutionCode</1>
16
                                        <2>
17
                                            <_join>
18
                                                <1>$collectionCode</1>
19
                                                <2>$collectionID</2>
20
                                            </_join>
21
                                        </2>
22
                                        <3>$catalogNumber</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
                            <obsenddate><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></obsenddate>
47
                            <obsstartdate><_dateRangeStart><value>$eventDate</value></_dateRangeStart></obsstartdate>
48
                            <taxonoccurrence>
49
                                <aggregateoccurrence>
50 7713 aaronmk
                                    <notes>$occurrenceRemarks</notes>
51 6403 aaronmk
                                    <plantobservation>
52 7190 aaronmk
                                        <authorplantcode>$recordNumber</authorplantcode>
53 6403 aaronmk
                                        <specimenreplicate>
54
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
55
                                            <collectioncode_dwc>
56 7712 aaronmk
                                                <_alt>
57 6403 aaronmk
                                                    <1>$collectionCode</1>
58
                                                    <2>$collectionID</2>
59 7712 aaronmk
                                                </_alt>
60 6403 aaronmk
                                            </collectioncode_dwc>
61 7198 aaronmk
                                            <collectionnumber>$recordNumber</collectionnumber>
62 6403 aaronmk
                                            <institution_id>
63 6791 aaronmk
                                                <sourcelist>
64 6403 aaronmk
                                                    <name>$institutionCode</name>
65 6791 aaronmk
                                                    <sourcename>
66 6795 aaronmk
                                                        <name>
67
                                                            <_split>
68 7433 aaronmk
                                                                <separator>[,;] *</separator>
69 6795 aaronmk
                                                                <value>$institutionCode</value>
70
                                                            </_split>
71
                                                        </name>
72 6791 aaronmk
                                                    </sourcename>
73
                                                </sourcelist>
74 6403 aaronmk
                                            </institution_id>
75
                                            <sourceaccessioncode>$id</sourceaccessioncode>
76
                                        </specimenreplicate>
77
                                    </plantobservation>
78
                                </aggregateoccurrence>
79
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
80
                                <sourceaccessioncode>$id</sourceaccessioncode>
81
                                <taxondetermination>
82
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
83
                                    <taxonverbatim_id>
84
                                        <taxonverbatim>
85
                                            <taxonlabel_id>
86 6344 aaronmk
                                                <taxonlabel>
87
                                                    <parent_id>
88
                                                        <taxonlabel>
89 6403 aaronmk
                                                            <rank>$taxonRank</rank>
90 6344 aaronmk
                                                            <parent_id>
91
                                                                <taxonlabel>
92 6403 aaronmk
                                                                    <rank>cultivar</rank>
93 6344 aaronmk
                                                                    <parent_id>
94
                                                                        <taxonlabel>
95 6403 aaronmk
                                                                            <rank>forma</rank>
96 6344 aaronmk
                                                                            <parent_id>
97
                                                                                <taxonlabel>
98 6403 aaronmk
                                                                                    <rank>variety</rank>
99 6344 aaronmk
                                                                                    <parent_id>
100
                                                                                        <taxonlabel>
101 6403 aaronmk
                                                                                            <rank>subspecies</rank>
102 6344 aaronmk
                                                                                            <parent_id>
103
                                                                                                <taxonlabel>
104 6403 aaronmk
                                                                                                    <rank>species</rank>
105
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
106 6344 aaronmk
                                                                                                    <parent_id>
107
                                                                                                        <taxonlabel>
108 6403 aaronmk
                                                                                                            <rank>genus</rank>
109
                                                                                                            <taxonepithet>$genus</taxonepithet>
110 6344 aaronmk
                                                                                                            <parent_id>
111
                                                                                                                <taxonlabel>
112 6403 aaronmk
                                                                                                                    <rank>family</rank>
113
                                                                                                                    <taxonepithet>$family</taxonepithet>
114 6344 aaronmk
                                                                                                                    <parent_id>
115
                                                                                                                        <taxonlabel>
116 6403 aaronmk
                                                                                                                            <rank>order</rank>
117 6344 aaronmk
                                                                                                                            <parent_id>
118
                                                                                                                                <taxonlabel>
119 6403 aaronmk
                                                                                                                                    <rank>class</rank>
120 6344 aaronmk
                                                                                                                                    <parent_id>
121
                                                                                                                                        <taxonlabel>
122 6403 aaronmk
                                                                                                                                            <rank>phylum</rank>
123
                                                                                                                                            <parent_id>
124
                                                                                                                                                <taxonlabel>
125
                                                                                                                                                    <rank>kingdom</rank>
126
                                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
127
                                                                                                                                                </taxonlabel>
128
                                                                                                                                            </parent_id>
129 6344 aaronmk
                                                                                                                                        </taxonlabel>
130
                                                                                                                                    </parent_id>
131
                                                                                                                                </taxonlabel>
132
                                                                                                                            </parent_id>
133
                                                                                                                        </taxonlabel>
134
                                                                                                                    </parent_id>
135
                                                                                                                </taxonlabel>
136
                                                                                                            </parent_id>
137
                                                                                                        </taxonlabel>
138
                                                                                                    </parent_id>
139
                                                                                                </taxonlabel>
140
                                                                                            </parent_id>
141
                                                                                        </taxonlabel>
142
                                                                                    </parent_id>
143
                                                                                </taxonlabel>
144
                                                                            </parent_id>
145
                                                                        </taxonlabel>
146
                                                                    </parent_id>
147
                                                                </taxonlabel>
148
                                                            </parent_id>
149 6403 aaronmk
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
150 6344 aaronmk
                                                        </taxonlabel>
151
                                                    </parent_id>
152 6403 aaronmk
                                                    <rank>$taxonRank</rank>
153
                                                    <taxonomicname>
154 7142 aaronmk
                                                        <_merge_prefix>
155
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
156
                                                            <value>
157 6403 aaronmk
                                                                <_alt>
158
                                                                    <1>$scientificName</1>
159
                                                                    <2>
160 6344 aaronmk
                                                                        <_join_words>
161 6403 aaronmk
                                                                            <1>
162 6344 aaronmk
                                                                                <_join_words>
163 6403 aaronmk
                                                                                    <2>$genus</2>
164
                                                                                    <3>$specificEpithet</3>
165
                                                                                    <5>
166
                                                                                        <_join_words>
167
                                                                                            <1>
168
                                                                                                <_if name="if has infraspecificEpithet">
169
                                                                                                    <cond>$infraspecificEpithet</cond>
170
                                                                                                    <then>$taxonRank</then>
171
                                                                                                </_if>
172
                                                                                            </1>
173
                                                                                            <2>$infraspecificEpithet</2>
174
                                                                                        </_join_words>
175
                                                                                    </5>
176 6344 aaronmk
                                                                                </_join_words>
177 6403 aaronmk
                                                                            </1>
178
                                                                            <2>$scientificNameAuthorship</2>
179 6344 aaronmk
                                                                        </_join_words>
180 6403 aaronmk
                                                                    </2>
181
                                                                </_alt>
182 7142 aaronmk
                                                            </value>
183
                                                        </_merge_prefix>
184 6403 aaronmk
                                                    </taxonomicname>
185
                                                </taxonlabel>
186
                                            </taxonlabel_id>
187
                                            <author>$scientificNameAuthorship</author>
188
                                            <family>$family</family>
189
                                            <genus>$genus</genus>
190
                                            <specific_epithet>$specificEpithet</specific_epithet>
191
                                            <taxonomicname>$scientificName</taxonomicname>
192
                                            <verbatimrank>$taxonRank</verbatimrank>
193
                                        </taxonverbatim>
194
                                    </taxonverbatim_id>
195
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
196
                                </taxondetermination>
197
                            </taxonoccurrence>
198
                        </locationevent>
199
                        <locationnarrative>
200
                            <_merge>
201
                                <1>$locality</1>
202
                                <3>
203
                                    <_label>
204
                                        <label>habitat</label>
205
                                        <value>$habitat</value>
206
                                    </_label>
207
                                </3>
208
                            </_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
                                    <country>$country</country>
235
                                    <county>$county</county>
236 6403 aaronmk
                                    <matched_place_id>
237
                                        <place>
238
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
239
                                            <coordinates_id>
240
                                                <coordinates>
241
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
242
                                                    <latitude_deg>
243
                                                        <_nullIf>
244
                                                            <null>0</null>
245
                                                            <type>float</type>
246
                                                            <value>$decimalLatitude</value>
247
                                                        </_nullIf>
248
                                                    </latitude_deg>
249
                                                    <longitude_deg>
250
                                                        <_nullIf>
251
                                                            <null>0</null>
252
                                                            <type>float</type>
253
                                                            <value>$decimalLongitude</value>
254
                                                        </_nullIf>
255
                                                    </longitude_deg>
256
                                                </coordinates>
257
                                            </coordinates_id>
258
                                            <country>$country</country>
259
                                            <county>$county</county>
260
                                            <stateprovince>$stateProvince</stateprovince>
261
                                        </place>
262
                                    </matched_place_id>
263 6344 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
264
                                </place>
265 6403 aaronmk
                            </place_id>
266
                        </locationplace>
267 7469 aaronmk
                        <notespublic>$locationRemarks</notespublic>
268 6403 aaronmk
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
269
                    </location>
270
                </path>
271
            </_simplifyPath>
272 6344 aaronmk
        </path>
273 6403 aaronmk
    </_setDefault>
274 6344 aaronmk
</VegBIEN>
275 7162 aaronmk
Inserted 32 new rows into database