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 5608 aaronmk
                            <taxonlabel_id>
71
                                <taxonlabel>
72
                                    <matched_label_id>
73
                                        <taxonlabel>
74 5242 aaronmk
                                            <creator_id>
75 5237 aaronmk
                                                <party>
76 5242 aaronmk
                                                    <creator_id>0</creator_id>
77 5237 aaronmk
                                                    <organizationname>TNRS</organizationname>
78
                                                </party>
79 5242 aaronmk
                                            </creator_id>
80 5138 aaronmk
                                            <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 5608 aaronmk
                                        </taxonlabel>
109
                                    </matched_label_id>
110 4944 aaronmk
                                    <author>$scientificNameAuthorship</author>
111 5645 aaronmk
                                    <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
112 5241 aaronmk
                                    <creator_id>
113 5240 aaronmk
                                        <_simplifyPath>
114 5242 aaronmk
                                            <next>creator_id</next>
115 5600 aaronmk
                                            <path><party><fullname>$identifiedBy</fullname></party></path>
116 5240 aaronmk
                                        </_simplifyPath>
117 5241 aaronmk
                                    </creator_id>
118 4703 aaronmk
                                    <family>$family</family>
119
                                    <genus>$genus</genus>
120 5646 aaronmk
                                    <identifyingtaxonomicname>
121
                                        <_alt>
122
                                            <1>$scientificName</1>
123
                                            <2>
124
                                                <_join_words>
125
                                                    <1>
126
                                                        <_join_words>
127
                                                            <1>$family</1>
128
                                                            <2>$genus</2>
129
                                                            <3>$specificEpithet</3>
130
                                                            <5>
131
                                                                <_join_words>
132
                                                                    <1>
133
                                                                        <_if name="if has infraspecificEpithet">
134
                                                                            <cond>$infraspecificEpithet</cond>
135
                                                                            <then>$taxonRank</then>
136
                                                                        </_if>
137
                                                                    </1>
138
                                                                    <2>$infraspecificEpithet</2>
139
                                                                </_join_words>
140
                                                            </5>
141
                                                        </_join_words>
142
                                                    </1>
143
                                                    <2>$scientificNameAuthorship</2>
144
                                                </_join_words>
145
                                            </2>
146
                                        </_alt>
147
                                    </identifyingtaxonomicname>
148 5294 aaronmk
                                    <parent_id>
149 5608 aaronmk
                                        <taxonlabel>
150 5487 aaronmk
                                            <rank>$taxonRank</rank>
151
                                            <verbatimrank>$taxonRank</verbatimrank>
152 5294 aaronmk
                                            <parent_id>
153 5608 aaronmk
                                                <taxonlabel>
154 5306 aaronmk
                                                    <rank>cultivar</rank>
155 5294 aaronmk
                                                    <parent_id>
156 5608 aaronmk
                                                        <taxonlabel>
157 5306 aaronmk
                                                            <rank>forma</rank>
158 5294 aaronmk
                                                            <parent_id>
159 5608 aaronmk
                                                                <taxonlabel>
160 5306 aaronmk
                                                                    <rank>variety</rank>
161 5294 aaronmk
                                                                    <parent_id>
162 5608 aaronmk
                                                                        <taxonlabel>
163 5306 aaronmk
                                                                            <rank>subspecies</rank>
164 5294 aaronmk
                                                                            <parent_id>
165 5608 aaronmk
                                                                                <taxonlabel>
166 5306 aaronmk
                                                                                    <rank>species</rank>
167 5596 aaronmk
                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
168 5294 aaronmk
                                                                                    <parent_id>
169 5608 aaronmk
                                                                                        <taxonlabel>
170 5306 aaronmk
                                                                                            <rank>genus</rank>
171 5596 aaronmk
                                                                                            <taxonepithet>$genus</taxonepithet>
172 5294 aaronmk
                                                                                            <parent_id>
173 5608 aaronmk
                                                                                                <taxonlabel>
174 5306 aaronmk
                                                                                                    <rank>family</rank>
175 5596 aaronmk
                                                                                                    <taxonepithet>$family</taxonepithet>
176 5294 aaronmk
                                                                                                    <parent_id>
177 5608 aaronmk
                                                                                                        <taxonlabel>
178 5306 aaronmk
                                                                                                            <rank>order</rank>
179 5596 aaronmk
                                                                                                            <taxonepithet>$order</taxonepithet>
180 5294 aaronmk
                                                                                                            <parent_id>
181 5608 aaronmk
                                                                                                                <taxonlabel>
182 5306 aaronmk
                                                                                                                    <rank>class</rank>
183 5596 aaronmk
                                                                                                                    <taxonepithet>$class</taxonepithet>
184 5294 aaronmk
                                                                                                                    <parent_id>
185 5608 aaronmk
                                                                                                                        <taxonlabel>
186 5306 aaronmk
                                                                                                                            <rank>phylum</rank>
187 5596 aaronmk
                                                                                                                            <taxonepithet>$phylum</taxonepithet>
188 5306 aaronmk
                                                                                                                            <parent_id>
189 5608 aaronmk
                                                                                                                                <taxonlabel>
190 5306 aaronmk
                                                                                                                                    <rank>kingdom</rank>
191 5596 aaronmk
                                                                                                                                    <taxonepithet>$kingdom</taxonepithet>
192 5608 aaronmk
                                                                                                                                </taxonlabel>
193 5306 aaronmk
                                                                                                                            </parent_id>
194 5608 aaronmk
                                                                                                                        </taxonlabel>
195 5294 aaronmk
                                                                                                                    </parent_id>
196 5608 aaronmk
                                                                                                                </taxonlabel>
197 5294 aaronmk
                                                                                                            </parent_id>
198 5608 aaronmk
                                                                                                        </taxonlabel>
199 5294 aaronmk
                                                                                                    </parent_id>
200 5608 aaronmk
                                                                                                </taxonlabel>
201 5294 aaronmk
                                                                                            </parent_id>
202 5608 aaronmk
                                                                                        </taxonlabel>
203 5294 aaronmk
                                                                                    </parent_id>
204 5608 aaronmk
                                                                                </taxonlabel>
205 5294 aaronmk
                                                                            </parent_id>
206 5608 aaronmk
                                                                        </taxonlabel>
207 5294 aaronmk
                                                                    </parent_id>
208 5608 aaronmk
                                                                </taxonlabel>
209 5294 aaronmk
                                                            </parent_id>
210 5608 aaronmk
                                                        </taxonlabel>
211 5294 aaronmk
                                                    </parent_id>
212 5608 aaronmk
                                                </taxonlabel>
213 5294 aaronmk
                                            </parent_id>
214 5596 aaronmk
                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
215 5608 aaronmk
                                        </taxonlabel>
216 5294 aaronmk
                                    </parent_id>
217 5264 aaronmk
                                    <rank>$taxonRank</rank>
218 5137 aaronmk
                                    <species>$specificEpithet</species>
219 5639 aaronmk
                                    <taxonomicname>$scientificName</taxonomicname>
220 5252 aaronmk
                                    <verbatimrank>$taxonRank</verbatimrank>
221 5608 aaronmk
                                </taxonlabel>
222
                            </taxonlabel_id>
223 4621 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
224
                        </taxondetermination>
225
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
226
                    </taxonoccurrence>
227
                </locationevent>
228
                <locationnarrative>
229
                    <_merge>
230
                        <1>$locality</1>
231
                        <3>
232
                            <_label>
233
                                <label>habitat</label>
234
                                <value>$habitat</value>
235
                            </_label>
236
                        </3>
237
                    </_merge>
238
                </locationnarrative>
239 4726 aaronmk
                <locationplace>
240 4727 aaronmk
                    <placepath_id>
241
                        <placepath>
242
                            <continent>$continent</continent>
243
                            <country>$country</country>
244
                            <county>$county</county>
245
                            <stateprovince>$stateProvince</stateprovince>
246
                        </placepath>
247
                    </placepath_id>
248 4726 aaronmk
                </locationplace>
249 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
250 4621 aaronmk
            </location>
251
        </path>
252
    </_simplifyPath>
253 3641 aaronmk
</VegBIEN>
254 5306 aaronmk
Inserted 35 new rows into database