Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <location id="-1">
4
        <authorlocationcode>
5
            <_alt>
6
                <3>$accession_number</3>
7
                <4>$acronym</4>
8
            </_alt>
9
        </authorlocationcode>
10
        <locationdetermination>
11
            <latitude>
12
                <_nullIf>
13
                    <null>0</null>
14
                    <type>float</type>
15
                    <value>$lat_deg</value>
16
                </_nullIf>
17
            </latitude>
18
            <longitude>
19
                <_nullIf>
20
                    <null>0</null>
21
                    <type>float</type>
22
                    <value>$long_deg</value>
23
                </_nullIf>
24
            </longitude>
25
            <namedplace_id>
26
                <_simplifyPath>
27
                    <next>parent_id/namedplace</next>
28
                    <require>placename</require>
29
                    <path>
30
                        <namedplace>
31
                            <rank>county</rank>
32
                            <placename>$county</placename>
33
                            <parent_id>
34
                                <namedplace>
35
                                    <rank>stateProvince</rank>
36
                                    <placename>$state</placename>
37
                                    <parent_id>
38
                                        <namedplace>
39
                                            <rank>country</rank>
40
                                            <placename>$country</placename>
41
                                        </namedplace>
42
                                    </parent_id>
43
                                </namedplace>
44
                            </parent_id>
45
                        </namedplace>
46
                    </path>
47
                </_simplifyPath>
48
            </namedplace_id>
49
        </locationdetermination>
50
        <locationevent>
51
            <obsenddate>
52
                <_date>
53
                    <date>
54
                        <_dateRangeEnd>
55
                            <value>
56
                                <_date>
57
                                    <day>
58
                                        <_nullIf>
59
                                            <null>0</null>
60
                                            <type>float</type>
61
                                            <value>$coll_day</value>
62
                                        </_nullIf>
63
                                    </day>
64
                                    <month>
65
                                        <_nullIf>
66
                                            <null>0</null>
67
                                            <type>float</type>
68
                                            <value>$coll_month</value>
69
                                        </_nullIf>
70
                                    </month>
71
                                    <year>
72
                                        <_nullIf>
73
                                            <null>0</null>
74
                                            <type>float</type>
75
                                            <value>$coll_year</value>
76
                                        </_nullIf>
77
                                    </year>
78
                                </_date>
79
                            </value>
80
                        </_dateRangeEnd>
81
                    </date>
82
                </_date>
83
            </obsenddate>
84
            <obsstartdate>
85
                <_date>
86
                    <date>
87
                        <_dateRangeStart>
88
                            <value>
89
                                <_date>
90
                                    <day>
91
                                        <_nullIf>
92
                                            <null>0</null>
93
                                            <type>float</type>
94
                                            <value>$coll_day</value>
95
                                        </_nullIf>
96
                                    </day>
97
                                    <month>
98
                                        <_nullIf>
99
                                            <null>0</null>
100
                                            <type>float</type>
101
                                            <value>$coll_month</value>
102
                                        </_nullIf>
103
                                    </month>
104
                                    <year>
105
                                        <_nullIf>
106
                                            <null>0</null>
107
                                            <type>float</type>
108
                                            <value>$coll_year</value>
109
                                        </_nullIf>
110
                                    </year>
111
                                </_date>
112
                            </value>
113
                        </_dateRangeStart>
114
                    </date>
115
                </_date>
116
            </obsstartdate>
117
            <taxonoccurrence>
118
                <aggregateoccurrence>
119
                    <collectiondate>
120
                        <_date>
121
                            <date>
122
                                <_date>
123
                                    <day>
124
                                        <_nullIf>
125
                                            <null>0</null>
126
                                            <type>float</type>
127
                                            <value>$coll_day</value>
128
                                        </_nullIf>
129
                                    </day>
130
                                    <month>
131
                                        <_nullIf>
132
                                            <null>0</null>
133
                                            <type>float</type>
134
                                            <value>$coll_month</value>
135
                                        </_nullIf>
136
                                    </month>
137
                                    <year>
138
                                        <_nullIf>
139
                                            <null>0</null>
140
                                            <type>float</type>
141
                                            <value>$coll_year</value>
142
                                        </_nullIf>
143
                                    </year>
144
                                </_date>
145
                            </date>
146
                        </_date>
147
                    </collectiondate>
148
                    <plantobservation>
149
                        <specimenreplicate>
150
                            <collectioncode_dwc>$acronym</collectioncode_dwc>
151
                            <sourceaccessioncode>$accession_number</sourceaccessioncode>
152
                        </specimenreplicate>
153
                    </plantobservation>
154
                </aggregateoccurrence>
155
                <taxondetermination>
156
                    <isoriginal>true</isoriginal>
157
                    <role>identifier</role>
158
                    <plantconcept_id>
159
                        <plantconcept>
160
                            <plantname_id>
161
                                <_simplifyPath>
162
                                    <next>parent_id/plantname</next>
163
                                    <require>plantname</require>
164
                                    <path>
165
                                        <plantname>
166
                                            <rank>binomial</rank>
167
                                            <parent_id>
168
                                                <plantname>
169
                                                    <rank>authority</rank>
170
                                                    <parent_id>
171
                                                        <plantname>
172
                                                            <rank>subspecies</rank>
173
                                                            <parent_id>
174
                                                                <plantname>
175
                                                                    <rank>species</rank>
176
                                                                    <plantname>$specificEpithet</plantname>
177
                                                                    <parent_id>
178
                                                                        <plantname>
179
                                                                            <rank>genus</rank>
180
                                                                            <plantname>$genus</plantname>
181
                                                                            <parent_id>
182
                                                                                <plantname>
183
                                                                                    <rank>family</rank>
184
                                                                                    <plantname>$family</plantname>
185
                                                                                </plantname>
186
                                                                            </parent_id>
187
                                                                        </plantname>
188
                                                                    </parent_id>
189
                                                                </plantname>
190
                                                            </parent_id>
191
                                                        </plantname>
192
                                                    </parent_id>
193
                                                </plantname>
194
                                            </parent_id>
195
                                        </plantname>
196
                                    </path>
197
                                </_simplifyPath>
198
                            </plantname_id>
199
                        </plantconcept>
200
                    </plantconcept_id>
201
                </taxondetermination>
202
                <verbatimcollectorname>$collector</verbatimcollectorname>
203
            </taxonoccurrence>
204
        </locationevent>
205
        <locationnarrative>
206
            <_merge>
207
                <1>$locality</1>
208
                <3>
209
                    <_label>
210
                        <label>habitat</label>
211
                        <value>$habitat</value>
212
                    </_label>
213
                </3>
214
            </_merge>
215
        </locationnarrative>
216
    </location>
217
</VegBIEN>
218
Inserted 26 new rows into database
(8-8/8)