Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$id</1>
10
                        <2>
11
                            <_join>
12
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24
                <elevation_m>
25
                    <_units>
26
                        <to>m</to>
27
                        <to></to>
28
                        <value>$verbatimElevation</value>
29
                    </_units>
30
                </elevation_m>
31
                <locationcoords>
32
                    <latitude_deg>
33
                        <_nullIf>
34
                            <null>0</null>
35
                            <type>float</type>
36
                            <value>$decimalLatitude</value>
37
                        </_nullIf>
38
                    </latitude_deg>
39
                    <longitude_deg>
40
                        <_nullIf>
41
                            <null>0</null>
42
                            <type>float</type>
43
                            <value>$decimalLongitude</value>
44
                        </_nullIf>
45
                    </longitude_deg>
46
                </locationcoords>
47
                <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
                        <sourceaccessioncode>$id</sourceaccessioncode>
68
                        <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
                            <taxonconcept_id>
77
                                <taxonconcept>
78
                                    <canon_taxonconcept_id>
79
                                        <taxonconcept>
80
                                            <creator_id>
81
                                                <party>
82
                                                    <creator_id>0</creator_id>
83
                                                    <organizationname>TNRS</organizationname>
84
                                                </party>
85
                                            </creator_id>
86
                                            <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
                                        </taxonconcept>
115
                                    </canon_taxonconcept_id>
116
                                    <author>$scientificNameAuthorship</author>
117
                                    <class>$class</class>
118
                                    <creator_id>
119
                                        <_simplifyPath>
120
                                            <next>creator_id</next>
121
                                            <path>
122
                                                <party>
123
                                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
124
                                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
125
                                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
126
                                                </party>
127
                                            </path>
128
                                        </_simplifyPath>
129
                                    </creator_id>
130
                                    <family>$family</family>
131
                                    <genus>$genus</genus>
132
                                    <kingdom>$kingdom</kingdom>
133
                                    <order>$order</order>
134
                                    <parent_id>
135
                                        <taxonconcept>
136
                                            <rank>cultivar</rank>
137
                                            <parent_id>
138
                                                <taxonconcept>
139
                                                    <rank>forma</rank>
140
                                                    <parent_id>
141
                                                        <taxonconcept>
142
                                                            <rank>variety</rank>
143
                                                            <parent_id>
144
                                                                <taxonconcept>
145
                                                                    <rank>subspecies</rank>
146
                                                                    <parent_id>
147
                                                                        <taxonconcept>
148
                                                                            <rank>species</rank>
149
                                                                            <taxonname>$specificEpithet</taxonname>
150
                                                                            <parent_id>
151
                                                                                <taxonconcept>
152
                                                                                    <rank>genus</rank>
153
                                                                                    <taxonname>$genus</taxonname>
154
                                                                                    <parent_id>
155
                                                                                        <taxonconcept>
156
                                                                                            <rank>family</rank>
157
                                                                                            <taxonname>$family</taxonname>
158
                                                                                            <parent_id>
159
                                                                                                <taxonconcept>
160
                                                                                                    <rank>order</rank>
161
                                                                                                    <taxonname>$order</taxonname>
162
                                                                                                    <parent_id>
163
                                                                                                        <taxonconcept>
164
                                                                                                            <rank>class</rank>
165
                                                                                                            <taxonname>$class</taxonname>
166
                                                                                                            <parent_id>
167
                                                                                                                <taxonconcept>
168
                                                                                                                    <rank>phylum</rank>
169
                                                                                                                    <taxonname>$phylum</taxonname>
170
                                                                                                                    <parent_id>
171
                                                                                                                        <taxonconcept>
172
                                                                                                                            <rank>kingdom</rank>
173
                                                                                                                            <taxonname>$kingdom</taxonname>
174
                                                                                                                        </taxonconcept>
175
                                                                                                                    </parent_id>
176
                                                                                                                </taxonconcept>
177
                                                                                                            </parent_id>
178
                                                                                                        </taxonconcept>
179
                                                                                                    </parent_id>
180
                                                                                                </taxonconcept>
181
                                                                                            </parent_id>
182
                                                                                        </taxonconcept>
183
                                                                                    </parent_id>
184
                                                                                </taxonconcept>
185
                                                                            </parent_id>
186
                                                                        </taxonconcept>
187
                                                                    </parent_id>
188
                                                                </taxonconcept>
189
                                                            </parent_id>
190
                                                        </taxonconcept>
191
                                                    </parent_id>
192
                                                </taxonconcept>
193
                                            </parent_id>
194
                                        </taxonconcept>
195
                                    </parent_id>
196
                                    <phylum>$phylum</phylum>
197
                                    <rank>$taxonRank</rank>
198
                                    <species>$specificEpithet</species>
199
                                    <taxonname>$infraspecificEpithet</taxonname>
200
                                    <taxonomicnamewithauthor>$scientificName</taxonomicnamewithauthor>
201
                                    <verbatimrank>$taxonRank</verbatimrank>
202
                                </taxonconcept>
203
                            </taxonconcept_id>
204
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
205
                        </taxondetermination>
206
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
207
                    </taxonoccurrence>
208
                </locationevent>
209
                <locationnarrative>
210
                    <_merge>
211
                        <1>$locality</1>
212
                        <3>
213
                            <_label>
214
                                <label>habitat</label>
215
                                <value>$habitat</value>
216
                            </_label>
217
                        </3>
218
                    </_merge>
219
                </locationnarrative>
220
                <locationplace>
221
                    <placepath_id>
222
                        <placepath>
223
                            <continent>$continent</continent>
224
                            <country>$country</country>
225
                            <county>$county</county>
226
                            <stateprovince>$stateProvince</stateprovince>
227
                        </placepath>
228
                    </placepath_id>
229
                </locationplace>
230
                <verbatimelevation>$verbatimElevation</verbatimelevation>
231
            </location>
232
        </path>
233
    </_simplifyPath>
234
</VegBIEN>
235
Inserted 34 new rows into database
(4-4/5)