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
                            <_if name="if indirect voucher"><else><catalognumber_dwc>$CatalogNO</catalognumber_dwc></else></_if>
164
                            <collectioncode_dwc>$CollectionCD</collectioncode_dwc>
165
                            <institution_id><party><organizationname>$InstitutionCD</organizationname></party></institution_id>
166
                        </specimenreplicate>
167
                    </plantobservation>
168
                </aggregateoccurrence>
169
                <sourceaccessioncode><_if name="if indirect voucher"><else>$CatalogNO</else></_if></sourceaccessioncode>
170
                <taxondetermination>
171
                    <isoriginal>true</isoriginal>
172
                    <role>identifier</role>
173
                    <party_id>
174
                        <party>
175
                            <givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
176
                            <middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
177
                            <surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
178
                        </party>
179
                    </party_id>
180
                    <plantconcept_id>
181
                        <plantconcept>
182
                            <plantname_id>
183
                                <_simplifyPath>
184
                                    <next>parent_id/plantname</next>
185
                                    <require>plantname</require>
186
                                    <path>
187
                                        <plantname>
188
                                            <rank>binomial</rank>
189
                                            <plantname>$ScientificName</plantname>
190
                                            <parent_id>
191
                                                <plantname>
192
                                                    <rank>authority</rank>
193
                                                    <plantname>$AuthorOfScientificName</plantname>
194
                                                    <parent_id>
195
                                                        <plantname>
196
                                                            <rank>subspecies</rank>
197
                                                            <plantname>$InfraspecificEpithet</plantname>
198
                                                            <parent_id>
199
                                                                <plantname>
200
                                                                    <rank>species</rank>
201
                                                                    <plantname>$SpecificEpithet</plantname>
202
                                                                    <parent_id>
203
                                                                        <plantname>
204
                                                                            <rank>genus</rank>
205
                                                                            <plantname>$Genus</plantname>
206
                                                                            <parent_id>
207
                                                                                <plantname>
208
                                                                                    <rank>family</rank>
209
                                                                                    <plantname>$Family</plantname>
210
                                                                                </plantname>
211
                                                                            </parent_id>
212
                                                                        </plantname>
213
                                                                    </parent_id>
214
                                                                </plantname>
215
                                                            </parent_id>
216
                                                        </plantname>
217
                                                    </parent_id>
218
                                                </plantname>
219
                                            </parent_id>
220
                                        </plantname>
221
                                    </path>
222
                                </_simplifyPath>
223
                            </plantname_id>
224
                        </plantconcept>
225
                    </plantconcept_id>
226
                </taxondetermination>
227
                <verbatimcollectorname>$Collector</verbatimcollectorname>
228
            </taxonoccurrence>
229
        </locationevent>
230
        <locationnarrative>$Locality</locationnarrative>
231
    </location>
232
</VegBIEN>
233
Inserted 31 new rows into database
    (1-1/1)