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>$UniqueNYInternalRecordNumber</1>
10
                        <2>
11
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>$CatalogNumber</3>
15
                            </_join>
16
                        </2>
17
                    </_alt>
18
                </authorlocationcode>
19
                <elevation_m>
20
                    <_avg>
21
                        <max>$MaximumElevation</max>
22
                        <min>
23
                            <_nullIf>
24
                                <null>.</null>
25
                                <value>$MinimumElevation</value>
26
                            </_nullIf>
27
                        </min>
28
                    </_avg>
29
                </elevation_m>
30
                <locationcoords>
31
                    <coordsaccuracy_deg><_noCV><value>$CoordinatePrecision</value></_noCV></coordsaccuracy_deg>
32
                    <footprintgeometry_dwc>$BoundingBox</footprintgeometry_dwc>
33
                    <latitude_deg>
34
                        <_nullIf>
35
                            <null>0</null>
36
                            <type>float</type>
37
                            <value>$Latitude</value>
38
                        </_nullIf>
39
                    </latitude_deg>
40
                    <longitude_deg>
41
                        <_nullIf>
42
                            <null>0</null>
43
                            <type>float</type>
44
                            <value>$Longitude</value>
45
                        </_nullIf>
46
                    </longitude_deg>
47
                </locationcoords>
48
                <locationevent>
49
                    <taxonoccurrence>
50
                        <aggregateoccurrence>
51
                            <collectiondate>
52
                                <_date>
53
                                    <day>
54
                                        <_nullIf>
55
                                            <null>0</null>
56
                                            <type>float</type>
57
                                            <value>$DayCollected</value>
58
                                        </_nullIf>
59
                                    </day>
60
                                    <month>
61
                                        <_nullIf>
62
                                            <null>0</null>
63
                                            <type>float</type>
64
                                            <value>$MonthCollected</value>
65
                                        </_nullIf>
66
                                    </month>
67
                                    <year>
68
                                        <_nullIf>
69
                                            <null>0</null>
70
                                            <type>float</type>
71
                                            <value>$YearCollected</value>
72
                                        </_nullIf>
73
                                    </year>
74
                                </_date>
75
                            </collectiondate>
76
                            <count>$IndividualCount</count>
77
                            <notes>
78
                                <_join>
79
                                    <1>$Notes</1>
80
                                    <2>
81
                                        <_label>
82
                                            <label>plant fungus</label>
83
                                            <value>$PlantFungusDescription</value>
84
                                        </_label>
85
                                    </2>
86
                                </_join>
87
                            </notes>
88
                            <plantobservation>
89
                                <collectionnumber>$FieldNumber</collectionnumber>
90
                                <definedvalue fkey="tablerecord_id">
91
                                    <userdefined_id>
92
                                        <userdefined>
93
                                            <tablename>plantobservation</tablename>
94
                                            <userdefinedname>sex</userdefinedname>
95
                                        </userdefined>
96
                                    </userdefined_id>
97
                                    <definedvalue>$Sex</definedvalue>
98
                                </definedvalue>
99
                                <specimenreplicate>
100
                                    <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
101
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
102
                                    <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
103
                                    <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
104
                                </specimenreplicate>
105
                            </plantobservation>
106
                        </aggregateoccurrence>
107
                        <sourceaccessioncode>$UniqueNYInternalRecordNumber</sourceaccessioncode>
108
                        <taxondetermination>
109
                            <party_id>
110
                                <party>
111
                                    <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
112
                                    <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
113
                                    <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
114
                                </party>
115
                            </party_id>
116
                            <taxonconcept_id>
117
                                <taxonconcept>
118
                                    <canon_taxonconcept_id>
119
                                        <taxonconcept>
120
                                            <datasource_id>
121
                                                <party>
122
                                                    <datasource_id>0</datasource_id>
123
                                                    <organizationname>TNRS</organizationname>
124
                                                </party>
125
                                            </datasource_id>
126
                                            <identifyingtaxonomicname>
127
                                                <_join_words>
128
                                                    <1>
129
                                                        <_alt>
130
                                                            <1>$ScientificName</1>
131
                                                            <2>
132
                                                                <_join_words>
133
                                                                    <1>$Family</1>
134
                                                                    <2>$Genus</2>
135
                                                                    <3>$Species</3>
136
                                                                    <4>$Subspecies</4>
137
                                                                </_join_words>
138
                                                            </2>
139
                                                        </_alt>
140
                                                    </1>
141
                                                    <2>$ScientificNameAuthor</2>
142
                                                </_join_words>
143
                                            </identifyingtaxonomicname>
144
                                        </taxonconcept>
145
                                    </canon_taxonconcept_id>
146
                                    <author>$ScientificNameAuthor</author>
147
                                    <class>$Class</class>
148
                                    <family>$Family</family>
149
                                    <genus>$Genus</genus>
150
                                    <kingdom>$Kingdom</kingdom>
151
                                    <order>$Order</order>
152
                                    <phylum>$Phylum</phylum>
153
                                    <species>$Species</species>
154
                                    <subspecies>$Subspecies</subspecies>
155
                                    <taxonomicname>$ScientificName</taxonomicname>
156
                                </taxonconcept>
157
                            </taxonconcept_id>
158
                            <determinationdate>
159
                                <_date>
160
                                    <day>
161
                                        <_nullIf>
162
                                            <null>0</null>
163
                                            <type>float</type>
164
                                            <value>$DayIdentified</value>
165
                                        </_nullIf>
166
                                    </day>
167
                                    <month>
168
                                        <_nullIf>
169
                                            <null>0</null>
170
                                            <type>float</type>
171
                                            <value>$MonthIdentified</value>
172
                                        </_nullIf>
173
                                    </month>
174
                                    <year>
175
                                        <_nullIf>
176
                                            <null>0</null>
177
                                            <type>float</type>
178
                                            <value>$YearIdentified</value>
179
                                        </_nullIf>
180
                                    </year>
181
                                </_date>
182
                            </determinationdate>
183
                        </taxondetermination>
184
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
185
                    </taxonoccurrence>
186
                    <waterdepth_m>
187
                        <_avg>
188
                            <max>$MaximumDepth</max>
189
                            <min>$MinimumDepth</min>
190
                        </_avg>
191
                    </waterdepth_m>
192
                </locationevent>
193
                <locationnarrative>
194
                    <_merge>
195
                        <1>
196
                            <_join>
197
                                <1>$Locality</1>
198
                                <2>
199
                                    <_label>
200
                                        <label>substrate</label>
201
                                        <value>$Substrate</value>
202
                                    </_label>
203
                                </2>
204
                                <3>
205
                                    <_label>
206
                                        <label>vegetation</label>
207
                                        <value>$Vegetation</value>
208
                                    </_label>
209
                                </3>
210
                            </_join>
211
                        </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>$ContinentOcean</continent>
224
                            <country>$Country</country>
225
                            <county>$County</county>
226
                            <stateprovince>$StateProvince</stateprovince>
227
                        </placepath>
228
                    </placepath_id>
229
                </locationplace>
230
            </location>
231
        </path>
232
    </_simplifyPath>
233
</VegBIEN>
234
Inserted 29 new rows into database
(5-5/6)