Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_merge>
6
                <1>$InstitutionCD</1>
7
                <2>$CollectionCD</2>
8
                <3>$CatalogNO</3>
9
            </_merge>
10
        </authorlocationcode>
11
        <elevation>
12
            <_avg>
13
                <max>
14
                    <_units>
15
                        <default>m</default>
16
                        <to>m</to>
17
                        <to></to>
18
                        <value>
19
                            <_replace>
20
                                <\bca\.?></\bca\.?>
21
                                <value>$MaximumElevationInMeter</value>
22
                            </_replace>
23
                        </value>
24
                    </_units>
25
                </max>
26
                <min>
27
                    <_units>
28
                        <default>m</default>
29
                        <to>m</to>
30
                        <to></to>
31
                        <value>
32
                            <_rangeStart>
33
                                <value>
34
                                    <_replace>
35
                                        <\bca\.?></\bca\.?>
36
                                        <value>$MinimumElevationInMeter</value>
37
                                    </_replace>
38
                                </value>
39
                            </_rangeStart>
40
                        </value>
41
                    </_units>
42
                </min>
43
            </_avg>
44
        </elevation>
45
        <elevationrange>
46
            <_range>
47
                <from>
48
                    <_units>
49
                        <default>m</default>
50
                        <to>m</to>
51
                        <to></to>
52
                        <value>
53
                            <_rangeStart>
54
                                <value>
55
                                    <_replace>
56
                                        <\bca\.?></\bca\.?>
57
                                        <value>$MinimumElevationInMeter</value>
58
                                    </_replace>
59
                                </value>
60
                            </_rangeStart>
61
                        </value>
62
                    </_units>
63
                </from>
64
                <to>
65
                    <_units>
66
                        <default>m</default>
67
                        <to>m</to>
68
                        <to></to>
69
                        <value>
70
                            <_alt>
71
                                <1>
72
                                    <_replace>
73
                                        <\bca\.?></\bca\.?>
74
                                        <value>$MaximumElevationInMeter</value>
75
                                    </_replace>
76
                                </1>
77
                                <2>
78
                                    <_rangeEnd>
79
                                        <value>
80
                                            <_replace>
81
                                                <\bca\.?></\bca\.?>
82
                                                <value>$MinimumElevationInMeter</value>
83
                                            </_replace>
84
                                        </value>
85
                                    </_rangeEnd>
86
                                </2>
87
                            </_alt>
88
                        </value>
89
                    </_units>
90
                </to>
91
            </_range>
92
        </elevationrange>
93
        <locationdetermination>
94
            <latitude>
95
                <_alt>
96
                    <1>
97
                        <_nullIf>
98
                            <null>0</null>
99
                            <type>float</type>
100
                            <value>$DecimalLatitude</value>
101
                        </_nullIf>
102
                    </1>
103
                    <2>
104
                        <_nullIf>
105
                            <null>0</null>
106
                            <type>float</type>
107
                            <value>$VerbatimLatitude</value>
108
                        </_nullIf>
109
                    </2>
110
                </_alt>
111
            </latitude>
112
            <longitude>
113
                <_alt>
114
                    <1>
115
                        <_nullIf>
116
                            <null>0</null>
117
                            <type>float</type>
118
                            <value>$DecimalLongitude</value>
119
                        </_nullIf>
120
                    </1>
121
                    <2>
122
                        <_nullIf>
123
                            <null>0</null>
124
                            <type>float</type>
125
                            <value>$VerbatimLongitude</value>
126
                        </_nullIf>
127
                    </2>
128
                </_alt>
129
            </longitude>
130
            <namedplace_id>
131
                <_simplifyPath>
132
                    <next>parent_id/namedplace</next>
133
                    <require>placename</require>
134
                    <path>
135
                        <namedplace>
136
                            <rank>county</rank>
137
                            <placename>$County</placename>
138
                            <parent_id>
139
                                <namedplace>
140
                                    <rank>stateProvince</rank>
141
                                    <placename>$StateProvince</placename>
142
                                    <parent_id>
143
                                        <namedplace>
144
                                            <rank>country</rank>
145
                                            <placename>$Country</placename>
146
                                        </namedplace>
147
                                    </parent_id>
148
                                </namedplace>
149
                            </parent_id>
150
                        </namedplace>
151
                    </path>
152
                </_simplifyPath>
153
            </namedplace_id>
154
        </locationdetermination>
155
        <locationevent>
156
            <obsenddate><_date><date><_dateRangeEnd><value>$LatestDateCollected</value></_dateRangeEnd></date></_date></obsenddate>
157
            <obsstartdate><_date><date><_dateRangeStart><value>$LatestDateCollected</value></_dateRangeStart></date></_date></obsstartdate>
158
            <taxonoccurrence>
159
                <aggregateoccurrence>
160
                    <collectiondate><_date><date>$LatestDateCollected</date></_date></collectiondate>
161
                    <plantobservation>
162
                        <specimenreplicate>
163
                            <catalognumber_dwc>$CatalogNO</catalognumber_dwc>
164
                            <collectioncode_dwc>$CollectionCD</collectioncode_dwc>
165
                            <institution_id><party><organizationname>$InstitutionCD</organizationname></party></institution_id>
166
                        </specimenreplicate>
167
                    </plantobservation>
168
                </aggregateoccurrence>
169
                <authortaxoncode>$ScientificName</authortaxoncode>
170
                <taxondetermination>
171
                    <role>identifier</role>
172
                    <party_id>
173
                        <party>
174
                            <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
175
                            <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
176
                            <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
177
                        </party>
178
                    </party_id>
179
                    <plantconcept_id>
180
                        <plantconcept>
181
                            <plantname_id>
182
                                <_simplifyPath>
183
                                    <next>parent_id/plantname</next>
184
                                    <require>plantname</require>
185
                                    <path>
186
                                        <plantname>
187
                                            <rank>binomial</rank>
188
                                            <plantname>$ScientificName</plantname>
189
                                            <parent_id>
190
                                                <plantname>
191
                                                    <rank>authority</rank>
192
                                                    <plantname>$AuthorOfScientificName</plantname>
193
                                                    <parent_id>
194
                                                        <plantname>
195
                                                            <rank>subspecies</rank>
196
                                                            <plantname>$InfraspecificEpithet</plantname>
197
                                                            <parent_id>
198
                                                                <plantname>
199
                                                                    <rank>species</rank>
200
                                                                    <plantname>$SpecificEpithet</plantname>
201
                                                                    <parent_id>
202
                                                                        <plantname>
203
                                                                            <rank>genus</rank>
204
                                                                            <plantname>$Genus</plantname>
205
                                                                            <parent_id>
206
                                                                                <plantname>
207
                                                                                    <rank>family</rank>
208
                                                                                    <plantname>$Family</plantname>
209
                                                                                </plantname>
210
                                                                            </parent_id>
211
                                                                        </plantname>
212
                                                                    </parent_id>
213
                                                                </plantname>
214
                                                            </parent_id>
215
                                                        </plantname>
216
                                                    </parent_id>
217
                                                </plantname>
218
                                            </parent_id>
219
                                        </plantname>
220
                                    </path>
221
                                </_simplifyPath>
222
                            </plantname_id>
223
                        </plantconcept>
224
                    </plantconcept_id>
225
                </taxondetermination>
226
                <verbatimcollectorname>$Collector</verbatimcollectorname>
227
                <voucher><specimenreplicate_id><specimenreplicate><catalognumber_dwc/></specimenreplicate></specimenreplicate_id></voucher>
228
            </taxonoccurrence>
229
        </locationevent>
230
        <locationnarrative>$Locality</locationnarrative>
231
    </location>
232
</VegBIEN>
233
Inserted 31 new rows into database
(8-8/8)