Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>REMIB</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>
11
                            <_join>
12
                                <1>$specimenHolderInstitutions</1>
13
                                <3>$accessionNumber</3>
14
                            </_join>
15
                        </authorlocationcode>
16
                        <iscultivated>
17
                            <_locationnarrative_is_cultivated>
18
                                <locationnarrative>
19
                                    <_join>
20
                                        <1>$locality</1>
21
                                        <3>$habitat</3>
22
                                    </_join>
23
                                </locationnarrative>
24
                            </_locationnarrative_is_cultivated>
25
                        </iscultivated>
26
                        <locationevent>
27
                            <taxonoccurrence>
28
                                <aggregateoccurrence>
29
                                    <collectiondate>
30
                                        <_date>
31
                                            <day>
32
                                                <_nullIf>
33
                                                    <null>0</null>
34
                                                    <type>float</type>
35
                                                    <value>$dayCollected</value>
36
                                                </_nullIf>
37
                                            </day>
38
                                            <month>
39
                                                <_nullIf>
40
                                                    <null>0</null>
41
                                                    <type>float</type>
42
                                                    <value>$monthCollected</value>
43
                                                </_nullIf>
44
                                            </month>
45
                                            <year>
46
                                                <_nullIf>
47
                                                    <null>0</null>
48
                                                    <type>float</type>
49
                                                    <value>$yearCollected</value>
50
                                                </_nullIf>
51
                                            </year>
52
                                        </_date>
53
                                    </collectiondate>
54
                                    <plantobservation>
55
                                        <specimenreplicate>
56
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
57
                                            <institution_id>
58
                                                <sourcelist>
59
                                                    <name>$specimenHolderInstitutions</name>
60
                                                    <sourcename>
61
                                                        <name>
62
                                                            <_split>
63
                                                                <separator>[,;] *</separator>
64
                                                                <value>$specimenHolderInstitutions</value>
65
                                                            </_split>
66
                                                        </name>
67
                                                    </sourcename>
68
                                                </sourcelist>
69
                                            </institution_id>
70
                                        </specimenreplicate>
71
                                    </plantobservation>
72
                                </aggregateoccurrence>
73
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
74
                                <taxondetermination>
75
                                    <taxonverbatim_id>
76
                                        <taxonverbatim>
77
                                            <taxonlabel_id>
78
                                                <taxonlabel>
79
                                                    <parent_id>
80
                                                        <taxonlabel>
81
                                                            <parent_id>
82
                                                                <taxonlabel>
83
                                                                    <rank>cultivar</rank>
84
                                                                    <parent_id>
85
                                                                        <taxonlabel>
86
                                                                            <rank>forma</rank>
87
                                                                            <parent_id>
88
                                                                                <taxonlabel>
89
                                                                                    <rank>variety</rank>
90
                                                                                    <parent_id>
91
                                                                                        <taxonlabel>
92
                                                                                            <rank>subspecies</rank>
93
                                                                                            <parent_id>
94
                                                                                                <taxonlabel>
95
                                                                                                    <rank>species</rank>
96
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
97
                                                                                                    <parent_id>
98
                                                                                                        <taxonlabel>
99
                                                                                                            <rank>genus</rank>
100
                                                                                                            <taxonepithet>$genus</taxonepithet>
101
                                                                                                            <parent_id>
102
                                                                                                                <taxonlabel>
103
                                                                                                                    <rank>family</rank>
104
                                                                                                                    <taxonepithet>$family</taxonepithet>
105
                                                                                                                </taxonlabel>
106
                                                                                                            </parent_id>
107
                                                                                                        </taxonlabel>
108
                                                                                                    </parent_id>
109
                                                                                                </taxonlabel>
110
                                                                                            </parent_id>
111
                                                                                        </taxonlabel>
112
                                                                                    </parent_id>
113
                                                                                </taxonlabel>
114
                                                                            </parent_id>
115
                                                                        </taxonlabel>
116
                                                                    </parent_id>
117
                                                                </taxonlabel>
118
                                                            </parent_id>
119
                                                        </taxonlabel>
120
                                                    </parent_id>
121
                                                    <taxonomicname>
122
                                                        <_merge_prefix>
123
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
124
                                                            <value>
125
                                                                <_join_words>
126
                                                                    <2><_filter_genus><value>$genus</value></_filter_genus></2>
127
                                                                    <3>$specificEpithet</3>
128
                                                                </_join_words>
129
                                                            </value>
130
                                                        </_merge_prefix>
131
                                                    </taxonomicname>
132
                                                </taxonlabel>
133
                                            </taxonlabel_id>
134
                                            <family>$family</family>
135
                                            <genus>$genus</genus>
136
                                            <specific_epithet>$specificEpithet</specific_epithet>
137
                                        </taxonverbatim>
138
                                    </taxonverbatim_id>
139
                                </taxondetermination>
140
                            </taxonoccurrence>
141
                        </locationevent>
142
                        <locationnarrative>
143
                            <_merge>
144
                                <1>$locality</1>
145
                                <3>
146
                                    <_label>
147
                                        <label>habitat</label>
148
                                        <value>$habitat</value>
149
                                    </_label>
150
                                </3>
151
                            </_merge>
152
                        </locationnarrative>
153
                        <locationplace>
154
                            <place_id>
155
                                <place>
156
                                    <coordinates_id>
157
                                        <coordinates>
158
                                            <latitude_deg>
159
                                                <_dms_to_dd>
160
                                                    <deg>$latitude_deg</deg>
161
                                                    <min>$latitude_min</min>
162
                                                    <sec>$latitude_sec</sec>
163
                                                </_dms_to_dd>
164
                                            </latitude_deg>
165
                                            <longitude_deg>
166
                                                <_dms_to_dd>
167
                                                    <deg>$longitude_deg</deg>
168
                                                    <min>$longitude_min</min>
169
                                                    <sec>$longitude_sec</sec>
170
                                                </_dms_to_dd>
171
                                            </longitude_deg>
172
                                        </coordinates>
173
                                    </coordinates_id>
174
                                    <country>$country</country>
175
                                    <county>$county</county>
176
                                    <matched_place_id>
177
                                        <place>
178
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
179
                                            <coordinates_id>
180
                                                <coordinates>
181
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
182
                                                    <latitude_deg>
183
                                                        <_dms_to_dd>
184
                                                            <deg>$latitude_deg</deg>
185
                                                            <min>$latitude_min</min>
186
                                                            <sec>$latitude_sec</sec>
187
                                                        </_dms_to_dd>
188
                                                    </latitude_deg>
189
                                                    <longitude_deg>
190
                                                        <_dms_to_dd>
191
                                                            <deg>$longitude_deg</deg>
192
                                                            <min>$longitude_min</min>
193
                                                            <sec>$longitude_sec</sec>
194
                                                        </_dms_to_dd>
195
                                                    </longitude_deg>
196
                                                </coordinates>
197
                                            </coordinates_id>
198
                                            <country>$country</country>
199
                                            <county>$county</county>
200
                                            <stateprovince>$stateProvince</stateprovince>
201
                                        </place>
202
                                    </matched_place_id>
203
                                    <stateprovince>$stateProvince</stateprovince>
204
                                </place>
205
                            </place_id>
206
                        </locationplace>
207
                    </location>
208
                </path>
209
            </_simplifyPath>
210
        </path>
211
    </_setDefault>
212
</VegBIEN>
213
Inserted 29 new rows into database
(9-9/10)