Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10 4066 aaronmk
                        <2>
11 4327 aaronmk
                            <_join>
12 4621 aaronmk
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20 4327 aaronmk
                            </_join>
21 4066 aaronmk
                        </2>
22 4621 aaronmk
                    </_alt>
23
                </authorlocationcode>
24 4753 aaronmk
                <elevation_m>
25 4818 aaronmk
                    <_units>
26
                        <to>m</to>
27
                        <to></to>
28 4621 aaronmk
                        <value>$verbatimElevation</value>
29 4818 aaronmk
                    </_units>
30 4753 aaronmk
                </elevation_m>
31 4726 aaronmk
                <locationcoords>
32 4753 aaronmk
                    <latitude_deg>
33 4621 aaronmk
                        <_nullIf>
34
                            <null>0</null>
35
                            <type>float</type>
36
                            <value>$decimalLatitude</value>
37
                        </_nullIf>
38 4753 aaronmk
                    </latitude_deg>
39
                    <longitude_deg>
40 4621 aaronmk
                        <_nullIf>
41
                            <null>0</null>
42
                            <type>float</type>
43
                            <value>$decimalLongitude</value>
44
                        </_nullIf>
45 4753 aaronmk
                    </longitude_deg>
46 4726 aaronmk
                </locationcoords>
47 4621 aaronmk
                <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 4834 aaronmk
                        <sourceaccessioncode>$id</sourceaccessioncode>
68 4621 aaronmk
                        <taxondetermination>
69 5600 aaronmk
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
70 5657 aaronmk
                            <taxonverbatim_id>
71
                                <taxonverbatim>
72
                                    <taxonlabel_id>
73 5608 aaronmk
                                        <taxonlabel>
74 5657 aaronmk
                                            <matched_label_id>
75
                                                <taxonlabel>
76
                                                    <creator_id>
77
                                                        <party>
78
                                                            <creator_id>0</creator_id>
79
                                                            <organizationname>TNRS</organizationname>
80
                                                        </party>
81
                                                    </creator_id>
82
                                                    <taxonomicname>
83
                                                        <_alt>
84
                                                            <1>$scientificName</1>
85
                                                            <2>
86 5138 aaronmk
                                                                <_join_words>
87 5657 aaronmk
                                                                    <1>
88 5138 aaronmk
                                                                        <_join_words>
89 5657 aaronmk
                                                                            <1>$family</1>
90
                                                                            <2>$genus</2>
91
                                                                            <3>$specificEpithet</3>
92
                                                                            <5>
93
                                                                                <_join_words>
94
                                                                                    <1>
95
                                                                                        <_if name="if has infraspecificEpithet">
96
                                                                                            <cond>$infraspecificEpithet</cond>
97
                                                                                            <then>$taxonRank</then>
98
                                                                                        </_if>
99
                                                                                    </1>
100
                                                                                    <2>$infraspecificEpithet</2>
101
                                                                                </_join_words>
102
                                                                            </5>
103 5138 aaronmk
                                                                        </_join_words>
104 5657 aaronmk
                                                                    </1>
105
                                                                    <2>$scientificNameAuthorship</2>
106 5138 aaronmk
                                                                </_join_words>
107 5657 aaronmk
                                                            </2>
108
                                                        </_alt>
109
                                                    </taxonomicname>
110
                                                </taxonlabel>
111
                                            </matched_label_id>
112
                                            <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
113
                                            <creator_id>
114
                                                <_simplifyPath>
115
                                                    <next>creator_id</next>
116
                                                    <path><party><fullname>$identifiedBy</fullname></party></path>
117
                                                </_simplifyPath>
118
                                            </creator_id>
119 5294 aaronmk
                                            <parent_id>
120 5608 aaronmk
                                                <taxonlabel>
121 5657 aaronmk
                                                    <rank>$taxonRank</rank>
122
                                                    <taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim>
123 5294 aaronmk
                                                    <parent_id>
124 5608 aaronmk
                                                        <taxonlabel>
125 5657 aaronmk
                                                            <rank>cultivar</rank>
126 5294 aaronmk
                                                            <parent_id>
127 5608 aaronmk
                                                                <taxonlabel>
128 5657 aaronmk
                                                                    <rank>forma</rank>
129 5294 aaronmk
                                                                    <parent_id>
130 5608 aaronmk
                                                                        <taxonlabel>
131 5657 aaronmk
                                                                            <rank>variety</rank>
132 5294 aaronmk
                                                                            <parent_id>
133 5608 aaronmk
                                                                                <taxonlabel>
134 5657 aaronmk
                                                                                    <rank>subspecies</rank>
135 5294 aaronmk
                                                                                    <parent_id>
136 5608 aaronmk
                                                                                        <taxonlabel>
137 5657 aaronmk
                                                                                            <rank>species</rank>
138
                                                                                            <taxonepithet>$specificEpithet</taxonepithet>
139 5294 aaronmk
                                                                                            <parent_id>
140 5608 aaronmk
                                                                                                <taxonlabel>
141 5657 aaronmk
                                                                                                    <rank>genus</rank>
142
                                                                                                    <taxonepithet>$genus</taxonepithet>
143 5294 aaronmk
                                                                                                    <parent_id>
144 5608 aaronmk
                                                                                                        <taxonlabel>
145 5657 aaronmk
                                                                                                            <rank>family</rank>
146
                                                                                                            <taxonepithet>$family</taxonepithet>
147 5294 aaronmk
                                                                                                            <parent_id>
148 5608 aaronmk
                                                                                                                <taxonlabel>
149 5657 aaronmk
                                                                                                                    <rank>order</rank>
150
                                                                                                                    <taxonepithet>$order</taxonepithet>
151 5294 aaronmk
                                                                                                                    <parent_id>
152 5608 aaronmk
                                                                                                                        <taxonlabel>
153 5657 aaronmk
                                                                                                                            <rank>class</rank>
154
                                                                                                                            <taxonepithet>$class</taxonepithet>
155 5306 aaronmk
                                                                                                                            <parent_id>
156 5608 aaronmk
                                                                                                                                <taxonlabel>
157 5657 aaronmk
                                                                                                                                    <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 5608 aaronmk
                                                                                                                                </taxonlabel>
166 5306 aaronmk
                                                                                                                            </parent_id>
167 5608 aaronmk
                                                                                                                        </taxonlabel>
168 5294 aaronmk
                                                                                                                    </parent_id>
169 5608 aaronmk
                                                                                                                </taxonlabel>
170 5294 aaronmk
                                                                                                            </parent_id>
171 5608 aaronmk
                                                                                                        </taxonlabel>
172 5294 aaronmk
                                                                                                    </parent_id>
173 5608 aaronmk
                                                                                                </taxonlabel>
174 5294 aaronmk
                                                                                            </parent_id>
175 5608 aaronmk
                                                                                        </taxonlabel>
176 5294 aaronmk
                                                                                    </parent_id>
177 5608 aaronmk
                                                                                </taxonlabel>
178 5294 aaronmk
                                                                            </parent_id>
179 5608 aaronmk
                                                                        </taxonlabel>
180 5294 aaronmk
                                                                    </parent_id>
181 5608 aaronmk
                                                                </taxonlabel>
182 5294 aaronmk
                                                            </parent_id>
183 5608 aaronmk
                                                        </taxonlabel>
184 5294 aaronmk
                                                    </parent_id>
185 5657 aaronmk
                                                    <taxonepithet>$infraspecificEpithet</taxonepithet>
186 5608 aaronmk
                                                </taxonlabel>
187 5294 aaronmk
                                            </parent_id>
188 5657 aaronmk
                                            <rank>$taxonRank</rank>
189
                                            <taxonomicname>
190
                                                <_alt>
191
                                                    <1>$scientificName</1>
192
                                                    <2>
193 5656 aaronmk
                                                        <_join_words>
194 5657 aaronmk
                                                            <1>
195 5656 aaronmk
                                                                <_join_words>
196 5657 aaronmk
                                                                    <1>$family</1>
197
                                                                    <2>$genus</2>
198
                                                                    <3>$specificEpithet</3>
199
                                                                    <5>
200
                                                                        <_join_words>
201
                                                                            <1>
202
                                                                                <_if name="if has infraspecificEpithet">
203
                                                                                    <cond>$infraspecificEpithet</cond>
204
                                                                                    <then>$taxonRank</then>
205
                                                                                </_if>
206
                                                                            </1>
207
                                                                            <2>$infraspecificEpithet</2>
208
                                                                        </_join_words>
209
                                                                    </5>
210 5656 aaronmk
                                                                </_join_words>
211 5657 aaronmk
                                                            </1>
212
                                                            <2>$scientificNameAuthorship</2>
213 5656 aaronmk
                                                        </_join_words>
214 5657 aaronmk
                                                    </2>
215
                                                </_alt>
216
                                            </taxonomicname>
217
                                        </taxonlabel>
218
                                    </taxonlabel_id>
219
                                    <author>$scientificNameAuthorship</author>
220
                                    <family>$family</family>
221
                                    <genus>$genus</genus>
222
                                    <species>$specificEpithet</species>
223
                                    <taxonomicname>$scientificName</taxonomicname>
224
                                    <verbatimrank>$taxonRank</verbatimrank>
225
                                </taxonverbatim>
226
                            </taxonverbatim_id>
227 4621 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
228
                        </taxondetermination>
229
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
230
                    </taxonoccurrence>
231
                </locationevent>
232
                <locationnarrative>
233
                    <_merge>
234
                        <1>$locality</1>
235
                        <3>
236
                            <_label>
237
                                <label>habitat</label>
238
                                <value>$habitat</value>
239
                            </_label>
240
                        </3>
241
                    </_merge>
242
                </locationnarrative>
243 4726 aaronmk
                <locationplace>
244 4727 aaronmk
                    <placepath_id>
245
                        <placepath>
246
                            <continent>$continent</continent>
247
                            <country>$country</country>
248
                            <county>$county</county>
249
                            <stateprovince>$stateProvince</stateprovince>
250
                        </placepath>
251
                    </placepath_id>
252 4726 aaronmk
                </locationplace>
253 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
254 4621 aaronmk
            </location>
255
        </path>
256
    </_simplifyPath>
257 3641 aaronmk
</VegBIEN>
258 5655 aaronmk
Inserted 39 new rows into database