Project

General

Profile

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