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
                            <party_id>
70
                                <party>
71
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
72
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
73
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
74
                                </party>
75
                            </party_id>
76 5225 aaronmk
                            <taxonconcept_id>
77
                                <taxonconcept>
78 5465 aaronmk
                                    <matched_concept_id>
79 5225 aaronmk
                                        <taxonconcept>
80 5242 aaronmk
                                            <creator_id>
81 5237 aaronmk
                                                <party>
82 5242 aaronmk
                                                    <creator_id>0</creator_id>
83 5237 aaronmk
                                                    <organizationname>TNRS</organizationname>
84
                                                </party>
85 5242 aaronmk
                                            </creator_id>
86 5138 aaronmk
                                            <identifyingtaxonomicname>
87
                                                <_alt>
88
                                                    <1>$scientificName</1>
89
                                                    <2>
90
                                                        <_join_words>
91
                                                            <1>
92
                                                                <_join_words>
93
                                                                    <1>$family</1>
94
                                                                    <2>$genus</2>
95
                                                                    <3>$specificEpithet</3>
96
                                                                    <5>
97
                                                                        <_join_words>
98
                                                                            <1>
99
                                                                                <_if name="if has infraspecificEpithet">
100
                                                                                    <cond>$infraspecificEpithet</cond>
101
                                                                                    <then>$taxonRank</then>
102
                                                                                </_if>
103
                                                                            </1>
104
                                                                            <2>$infraspecificEpithet</2>
105
                                                                        </_join_words>
106
                                                                    </5>
107
                                                                </_join_words>
108
                                                            </1>
109
                                                            <2>$scientificNameAuthorship</2>
110
                                                        </_join_words>
111
                                                    </2>
112
                                                </_alt>
113
                                            </identifyingtaxonomicname>
114 5225 aaronmk
                                        </taxonconcept>
115 5465 aaronmk
                                    </matched_concept_id>
116 4944 aaronmk
                                    <author>$scientificNameAuthorship</author>
117 5241 aaronmk
                                    <creator_id>
118 5240 aaronmk
                                        <_simplifyPath>
119 5242 aaronmk
                                            <next>creator_id</next>
120 5240 aaronmk
                                            <path>
121
                                                <party>
122
                                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
123
                                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
124
                                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
125
                                                </party>
126
                                            </path>
127
                                        </_simplifyPath>
128 5241 aaronmk
                                    </creator_id>
129 4703 aaronmk
                                    <family>$family</family>
130
                                    <genus>$genus</genus>
131 5294 aaronmk
                                    <parent_id>
132
                                        <taxonconcept>
133 5487 aaronmk
                                            <rank>$taxonRank</rank>
134
                                            <verbatimrank>$taxonRank</verbatimrank>
135 5294 aaronmk
                                            <parent_id>
136
                                                <taxonconcept>
137 5306 aaronmk
                                                    <rank>cultivar</rank>
138 5294 aaronmk
                                                    <parent_id>
139
                                                        <taxonconcept>
140 5306 aaronmk
                                                            <rank>forma</rank>
141 5294 aaronmk
                                                            <parent_id>
142
                                                                <taxonconcept>
143 5306 aaronmk
                                                                    <rank>variety</rank>
144 5294 aaronmk
                                                                    <parent_id>
145
                                                                        <taxonconcept>
146 5306 aaronmk
                                                                            <rank>subspecies</rank>
147 5294 aaronmk
                                                                            <parent_id>
148
                                                                                <taxonconcept>
149 5306 aaronmk
                                                                                    <rank>species</rank>
150
                                                                                    <taxonname>$specificEpithet</taxonname>
151 5294 aaronmk
                                                                                    <parent_id>
152
                                                                                        <taxonconcept>
153 5306 aaronmk
                                                                                            <rank>genus</rank>
154
                                                                                            <taxonname>$genus</taxonname>
155 5294 aaronmk
                                                                                            <parent_id>
156
                                                                                                <taxonconcept>
157 5306 aaronmk
                                                                                                    <rank>family</rank>
158
                                                                                                    <taxonname>$family</taxonname>
159 5294 aaronmk
                                                                                                    <parent_id>
160
                                                                                                        <taxonconcept>
161 5306 aaronmk
                                                                                                            <rank>order</rank>
162
                                                                                                            <taxonname>$order</taxonname>
163 5294 aaronmk
                                                                                                            <parent_id>
164
                                                                                                                <taxonconcept>
165 5306 aaronmk
                                                                                                                    <rank>class</rank>
166
                                                                                                                    <taxonname>$class</taxonname>
167 5294 aaronmk
                                                                                                                    <parent_id>
168
                                                                                                                        <taxonconcept>
169 5306 aaronmk
                                                                                                                            <rank>phylum</rank>
170
                                                                                                                            <taxonname>$phylum</taxonname>
171
                                                                                                                            <parent_id>
172
                                                                                                                                <taxonconcept>
173
                                                                                                                                    <rank>kingdom</rank>
174
                                                                                                                                    <taxonname>$kingdom</taxonname>
175
                                                                                                                                </taxonconcept>
176
                                                                                                                            </parent_id>
177 5294 aaronmk
                                                                                                                        </taxonconcept>
178
                                                                                                                    </parent_id>
179
                                                                                                                </taxonconcept>
180
                                                                                                            </parent_id>
181
                                                                                                        </taxonconcept>
182
                                                                                                    </parent_id>
183
                                                                                                </taxonconcept>
184
                                                                                            </parent_id>
185
                                                                                        </taxonconcept>
186
                                                                                    </parent_id>
187
                                                                                </taxonconcept>
188
                                                                            </parent_id>
189
                                                                        </taxonconcept>
190
                                                                    </parent_id>
191
                                                                </taxonconcept>
192
                                                            </parent_id>
193
                                                        </taxonconcept>
194
                                                    </parent_id>
195
                                                </taxonconcept>
196
                                            </parent_id>
197 5306 aaronmk
                                            <taxonname>$infraspecificEpithet</taxonname>
198 5294 aaronmk
                                        </taxonconcept>
199
                                    </parent_id>
200 5264 aaronmk
                                    <rank>$taxonRank</rank>
201 5137 aaronmk
                                    <species>$specificEpithet</species>
202
                                    <taxonomicnamewithauthor>$scientificName</taxonomicnamewithauthor>
203 5252 aaronmk
                                    <verbatimrank>$taxonRank</verbatimrank>
204 5314 aaronmk
                                    <creationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></creationdate>
205 5225 aaronmk
                                </taxonconcept>
206
                            </taxonconcept_id>
207 4621 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
208
                        </taxondetermination>
209
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
210
                    </taxonoccurrence>
211
                </locationevent>
212
                <locationnarrative>
213
                    <_merge>
214
                        <1>$locality</1>
215
                        <3>
216
                            <_label>
217
                                <label>habitat</label>
218
                                <value>$habitat</value>
219
                            </_label>
220
                        </3>
221
                    </_merge>
222
                </locationnarrative>
223 4726 aaronmk
                <locationplace>
224 4727 aaronmk
                    <placepath_id>
225
                        <placepath>
226
                            <continent>$continent</continent>
227
                            <country>$country</country>
228
                            <county>$county</county>
229
                            <stateprovince>$stateProvince</stateprovince>
230
                        </placepath>
231
                    </placepath_id>
232 4726 aaronmk
                </locationplace>
233 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
234 4621 aaronmk
            </location>
235
        </path>
236
    </_simplifyPath>
237 3641 aaronmk
</VegBIEN>
238 5306 aaronmk
Inserted 35 new rows into database