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>$GlobalUniqueIdentifier</1>
10
                        <2>
11
                            <_join>
12
                                <1>$InstitutionCode</1>
13
                                <2>$CollectionCode</2>
14
                                <3>
15
                                    <_alt>
16
                                        <1>$CatalogNumberNumeric</1>
17
                                        <2>$CatalogNumber</2>
18
                                    </_alt>
19
                                </3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24
                <elevation_m>
25
                    <_avg>
26
                        <max>$MaximumElevationInMeters</max>
27
                        <min>$MinimumElevationInMeters</min>
28
                    </_avg>
29
                </elevation_m>
30
                <locationcoords>
31
                    <coordsaccuracy_deg><_noCV><value>$CoordinateUncertaintyInMeters</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>$DecimalLatitude</value>
38
                        </_nullIf>
39
                    </latitude_deg>
40
                    <longitude_deg>
41
                        <_nullIf>
42
                            <null>0</null>
43
                            <type>float</type>
44
                            <value>$DecimalLongitude</value>
45
                        </_nullIf>
46
                    </longitude_deg>
47
                </locationcoords>
48
                <locationevent>
49
                    <taxonoccurrence>
50
                        <aggregateoccurrence>
51
                            <collectiondate>
52
                                <_alt>
53
                                    <1><_date><date>$VerbatimCollectingDate</date></_date></1>
54
                                    <2>
55
                                        <_date>
56
                                            <day>
57
                                                <_nullIf>
58
                                                    <null>0</null>
59
                                                    <type>float</type>
60
                                                    <value>$DayCollected</value>
61
                                                </_nullIf>
62
                                            </day>
63
                                            <month>
64
                                                <_nullIf>
65
                                                    <null>0</null>
66
                                                    <type>float</type>
67
                                                    <value>$MonthCollected</value>
68
                                                </_nullIf>
69
                                            </month>
70
                                            <year>
71
                                                <_nullIf>
72
                                                    <null>0</null>
73
                                                    <type>float</type>
74
                                                    <value>$YearCollected</value>
75
                                                </_nullIf>
76
                                            </year>
77
                                        </_date>
78
                                    </2>
79
                                </_alt>
80
                            </collectiondate>
81
                            <count>$IndividualCount</count>
82
                            <notes>$FieldNotes</notes>
83
                            <plantobservation>
84
                                <collectionnumber>$CollectorNumber</collectionnumber>
85
                                <definedvalue fkey="tablerecord_id">
86
                                    <userdefined_id>
87
                                        <userdefined>
88
                                            <tablename>plantobservation</tablename>
89
                                            <userdefinedname>sex</userdefinedname>
90
                                        </userdefined>
91
                                    </userdefined_id>
92
                                    <definedvalue>$Sex</definedvalue>
93
                                </definedvalue>
94
                                <specimenreplicate>
95
                                    <catalognumber_dwc>
96
                                        <_alt>
97
                                            <1>$CatalogNumberNumeric</1>
98
                                            <2>$CatalogNumber</2>
99
                                        </_alt>
100
                                    </catalognumber_dwc>
101
                                    <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
102
                                    <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
103
                                    <sourceaccessioncode>$GlobalUniqueIdentifier</sourceaccessioncode>
104
                                </specimenreplicate>
105
                            </plantobservation>
106
                        </aggregateoccurrence>
107
                        <sourceaccessioncode>$GlobalUniqueIdentifier</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
                                                <_alt>
128
                                                    <1>$ScientificNameAuthor</1>
129
                                                    <2>
130
                                                        <_alt>
131
                                                            <1>$ScientificName</1>
132
                                                            <2>
133
                                                                <_join_words>
134
                                                                    <1>$Family</1>
135
                                                                    <2>$Genus</2>
136
                                                                    <3>$Species</3>
137
                                                                    <4>$Subspecies</4>
138
                                                                </_join_words>
139
                                                            </2>
140
                                                        </_alt>
141
                                                    </2>
142
                                                </_alt>
143
                                            </identifyingtaxonomicname>
144
                                        </taxonconcept>
145
                                    </canon_taxonconcept_id>
146
                                    <class>$Class</class>
147
                                    <family>$Family</family>
148
                                    <genus>$Genus</genus>
149
                                    <kingdom>$Kingdom</kingdom>
150
                                    <order>$Order</order>
151
                                    <phylum>$Phylum</phylum>
152
                                    <species>$Species</species>
153
                                    <subspecies>$Subspecies</subspecies>
154
                                    <taxonomicname>$ScientificName</taxonomicname>
155
                                    <taxonomicnamewithauthor>$ScientificNameAuthor</taxonomicnamewithauthor>
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
                            <notes>$Remarks</notes>
184
                            <taxonfit>$IdentificationModifier</taxonfit>
185
                        </taxondetermination>
186
                        <verbatimcollectorname>$Collector</verbatimcollectorname>
187
                    </taxonoccurrence>
188
                    <waterdepth_m>
189
                        <_avg>
190
                            <max>$MaximumDepthInMeters</max>
191
                            <min>$MinimumDepthInMeters</min>
192
                        </_avg>
193
                    </waterdepth_m>
194
                </locationevent>
195
                <locationnarrative>$Locality</locationnarrative>
196
                <locationplace>
197
                    <placepath_id>
198
                        <placepath>
199
                            <continent>$ContinentOcean</continent>
200
                            <country>$Country</country>
201
                            <county>$County</county>
202
                            <stateprovince>$StateProvince</stateprovince>
203
                        </placepath>
204
                    </placepath_id>
205
                </locationplace>
206
            </location>
207
        </path>
208
    </_simplifyPath>
209
</VegBIEN>
210
Inserted 30 new rows into database
(5-5/6)