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 4621 aaronmk
                    <_alt>
26
                        <1>
27 4818 aaronmk
                            <_units>
28
                                <to>m</to>
29
                                <to></to>
30 4621 aaronmk
                                <value>$verbatimElevation</value>
31 4818 aaronmk
                            </_units>
32 4621 aaronmk
                        </1>
33
                        <2>
34
                            <_avg>
35 4820 aaronmk
                                <max>$maximumElevationInMeters</max>
36 4822 aaronmk
                                <min>$minimumElevationInMeters</min>
37 4621 aaronmk
                            </_avg>
38
                        </2>
39
                    </_alt>
40 4753 aaronmk
                </elevation_m>
41 4726 aaronmk
                <locationcoords>
42 4753 aaronmk
                    <coordsaccuracy_deg><_noCV><value>$coordinateUncertaintyInMeters</value></_noCV></coordsaccuracy_deg>
43 4621 aaronmk
                    <footprintgeometry_dwc>$footprintWKT</footprintgeometry_dwc>
44 4753 aaronmk
                    <latitude_deg>
45 4903 aaronmk
                        <_nullIf>
46
                            <null>0</null>
47
                            <type>float</type>
48
                            <value>$decimalLatitude</value>
49
                        </_nullIf>
50 4753 aaronmk
                    </latitude_deg>
51
                    <longitude_deg>
52 4903 aaronmk
                        <_nullIf>
53
                            <null>0</null>
54
                            <type>float</type>
55
                            <value>$decimalLongitude</value>
56
                        </_nullIf>
57 4753 aaronmk
                    </longitude_deg>
58 4903 aaronmk
                    <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
59
                    <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
60 4726 aaronmk
                </locationcoords>
61 4621 aaronmk
                <locationevent>
62
                    <method_id><method><name>$samplingProtocol</name></method></method_id>
63
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
64
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
65
                    <taxonoccurrence>
66
                        <aggregateoccurrence>
67
                            <count>$individualCount</count>
68
                            <plantobservation>
69
                                <definedvalue fkey="tablerecord_id">
70
                                    <userdefined_id>
71
                                        <userdefined>
72
                                            <tablename>plantobservation</tablename>
73
                                            <userdefinedname>sex</userdefinedname>
74
                                        </userdefined>
75
                                    </userdefined_id>
76
                                    <definedvalue>$sex</definedvalue>
77
                                </definedvalue>
78
                                <specimenreplicate>
79
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
80
                                    <collectioncode_dwc>
81
                                        <_join>
82
                                            <1>$collectionCode</1>
83
                                            <2>$collectionID</2>
84
                                        </_join>
85
                                    </collectioncode_dwc>
86
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
87
                                    <sourceaccessioncode>$id</sourceaccessioncode>
88
                                </specimenreplicate>
89
                            </plantobservation>
90
                        </aggregateoccurrence>
91 4834 aaronmk
                        <sourceaccessioncode>$id</sourceaccessioncode>
92 4621 aaronmk
                        <taxondetermination>
93
                            <party_id>
94
                                <party>
95
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
96
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
97
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
98
                                </party>
99
                            </party_id>
100 5225 aaronmk
                            <taxonconcept_id>
101
                                <taxonconcept>
102
                                    <canon_taxonconcept_id>
103
                                        <taxonconcept>
104 5242 aaronmk
                                            <creator_id>
105 5237 aaronmk
                                                <party>
106 5242 aaronmk
                                                    <creator_id>0</creator_id>
107 5237 aaronmk
                                                    <organizationname>TNRS</organizationname>
108
                                                </party>
109 5242 aaronmk
                                            </creator_id>
110 5138 aaronmk
                                            <identifyingtaxonomicname>
111
                                                <_join_words>
112
                                                    <1>
113
                                                        <_alt>
114
                                                            <1>$scientificName</1>
115
                                                            <2>
116
                                                                <_join_words>
117
                                                                    <1>$family</1>
118
                                                                    <2>$genus</2>
119
                                                                    <3>$specificEpithet</3>
120
                                                                    <5>
121
                                                                        <_join_words>
122
                                                                            <1>
123
                                                                                <_if name="if has infraspecificEpithet">
124
                                                                                    <cond>$infraspecificEpithet</cond>
125
                                                                                    <then>$taxonRank</then>
126
                                                                                </_if>
127
                                                                            </1>
128
                                                                            <2>$infraspecificEpithet</2>
129
                                                                        </_join_words>
130
                                                                    </5>
131
                                                                </_join_words>
132
                                                            </2>
133
                                                        </_alt>
134
                                                    </1>
135
                                                    <2>$scientificNameAuthorship</2>
136
                                                </_join_words>
137
                                            </identifyingtaxonomicname>
138 5225 aaronmk
                                        </taxonconcept>
139
                                    </canon_taxonconcept_id>
140 4944 aaronmk
                                    <author>$scientificNameAuthorship</author>
141 5241 aaronmk
                                    <creator_id>
142 5240 aaronmk
                                        <_simplifyPath>
143 5242 aaronmk
                                            <next>creator_id</next>
144 5240 aaronmk
                                            <path>
145
                                                <party>
146
                                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
147
                                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
148
                                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
149
                                                </party>
150
                                            </path>
151
                                        </_simplifyPath>
152 5241 aaronmk
                                    </creator_id>
153 4703 aaronmk
                                    <family>$family</family>
154
                                    <genus>$genus</genus>
155 5294 aaronmk
                                    <parent_id>
156
                                        <taxonconcept>
157
                                            <parent_id>
158
                                                <taxonconcept>
159 5306 aaronmk
                                                    <rank>cultivar</rank>
160 5294 aaronmk
                                                    <parent_id>
161
                                                        <taxonconcept>
162 5306 aaronmk
                                                            <rank>forma</rank>
163 5294 aaronmk
                                                            <parent_id>
164
                                                                <taxonconcept>
165 5306 aaronmk
                                                                    <rank>variety</rank>
166 5294 aaronmk
                                                                    <parent_id>
167
                                                                        <taxonconcept>
168 5306 aaronmk
                                                                            <rank>subspecies</rank>
169 5294 aaronmk
                                                                            <parent_id>
170
                                                                                <taxonconcept>
171 5306 aaronmk
                                                                                    <rank>species</rank>
172
                                                                                    <taxonname>$specificEpithet</taxonname>
173 5294 aaronmk
                                                                                    <parent_id>
174
                                                                                        <taxonconcept>
175 5306 aaronmk
                                                                                            <rank>genus</rank>
176
                                                                                            <taxonname>$genus</taxonname>
177 5294 aaronmk
                                                                                            <parent_id>
178
                                                                                                <taxonconcept>
179 5306 aaronmk
                                                                                                    <rank>family</rank>
180
                                                                                                    <taxonname>$family</taxonname>
181 5294 aaronmk
                                                                                                    <parent_id>
182
                                                                                                        <taxonconcept>
183 5306 aaronmk
                                                                                                            <rank>order</rank>
184
                                                                                                            <taxonname>$order</taxonname>
185 5294 aaronmk
                                                                                                            <parent_id>
186
                                                                                                                <taxonconcept>
187 5306 aaronmk
                                                                                                                    <rank>class</rank>
188
                                                                                                                    <taxonname>$class</taxonname>
189 5294 aaronmk
                                                                                                                    <parent_id>
190
                                                                                                                        <taxonconcept>
191 5306 aaronmk
                                                                                                                            <rank>phylum</rank>
192
                                                                                                                            <taxonname>$phylum</taxonname>
193
                                                                                                                            <parent_id>
194
                                                                                                                                <taxonconcept>
195
                                                                                                                                    <rank>kingdom</rank>
196
                                                                                                                                    <taxonname>$kingdom</taxonname>
197
                                                                                                                                </taxonconcept>
198
                                                                                                                            </parent_id>
199 5294 aaronmk
                                                                                                                        </taxonconcept>
200
                                                                                                                    </parent_id>
201
                                                                                                                </taxonconcept>
202
                                                                                                            </parent_id>
203
                                                                                                        </taxonconcept>
204
                                                                                                    </parent_id>
205
                                                                                                </taxonconcept>
206
                                                                                            </parent_id>
207
                                                                                        </taxonconcept>
208
                                                                                    </parent_id>
209
                                                                                </taxonconcept>
210
                                                                            </parent_id>
211
                                                                        </taxonconcept>
212
                                                                    </parent_id>
213
                                                                </taxonconcept>
214
                                                            </parent_id>
215
                                                        </taxonconcept>
216
                                                    </parent_id>
217
                                                </taxonconcept>
218
                                            </parent_id>
219 5306 aaronmk
                                            <rank>$taxonRank</rank>
220
                                            <taxonname>$infraspecificEpithet</taxonname>
221
                                            <verbatimrank>$taxonRank</verbatimrank>
222 5294 aaronmk
                                        </taxonconcept>
223
                                    </parent_id>
224 5264 aaronmk
                                    <rank>$taxonRank</rank>
225 5137 aaronmk
                                    <species>$specificEpithet</species>
226
                                    <taxonomicname>$scientificName</taxonomicname>
227 5252 aaronmk
                                    <verbatimrank>$taxonRank</verbatimrank>
228 5225 aaronmk
                                </taxonconcept>
229
                            </taxonconcept_id>
230 4621 aaronmk
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
231
                            <taxonfit>$identificationQualifier</taxonfit>
232
                        </taxondetermination>
233
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
234
                    </taxonoccurrence>
235
                </locationevent>
236
                <locationnarrative>
237
                    <_merge>
238
                        <1>$locality</1>
239
                        <3>
240
                            <_label>
241
                                <label>habitat</label>
242
                                <value>$habitat</value>
243
                            </_label>
244
                        </3>
245
                    </_merge>
246
                </locationnarrative>
247 4726 aaronmk
                <locationplace>
248 4727 aaronmk
                    <placepath_id>
249
                        <placepath>
250
                            <continent>$continent</continent>
251
                            <country>$country</country>
252
                            <county>$county</county>
253
                            <stateprovince>$stateProvince</stateprovince>
254
                        </placepath>
255
                    </placepath_id>
256 4726 aaronmk
                </locationplace>
257 4818 aaronmk
                <verbatimelevation>$verbatimElevation</verbatimelevation>
258 4621 aaronmk
            </location>
259
        </path>
260
    </_simplifyPath>
261 3641 aaronmk
</VegBIEN>
262 5294 aaronmk
Inserted 34 new rows into database