Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>$plotCode</authorlocationcode>
8
                <sourceaccessioncode>$plotID</sourceaccessioncode>
9
                <area_m2><_ha_to_m2><value>$plotAreaHa</value></_ha_to_m2></area_m2>
10
                <elevation_m>$elevation_m</elevation_m>
11
                <locationevent>
12
                    <method_id><method><name>$plotMethod</name></method></method_id>
13
                    <taxonoccurrence>
14
                        <aggregateoccurrence>
15
                            <collectiondate>$observationDate</collectiondate>
16
                            <cover_fraction><_percent_to_fraction><value>$pctCover</value></_percent_to_fraction></cover_fraction>
17
                            <plantobservation>
18
                                <collectionnumber>$collectionNumber</collectionnumber>
19
                                <specimenreplicate>
20
                                    <institution_id>
21
                                        <sourcename>
22
                                            <matched_source_id><source><shortname>$dataSourceName</shortname></source></matched_source_id>
23
                                            <name>$dataSourceName</name>
24
                                        </sourcename>
25
                                    </institution_id>
26
                                    <sourceaccessioncode>$observationID</sourceaccessioncode>
27
                                </specimenreplicate>
28
                            </plantobservation>
29
                        </aggregateoccurrence>
30
                        <authortaxoncode>$collectionNumber</authortaxoncode>
31
                        <collector_id><party><fullname>$collector</fullname></party></collector_id>
32
                        <iscultivated>$isCultivated</iscultivated>
33
                        <sourceaccessioncode>$observationID</sourceaccessioncode>
34
                        <taxondetermination>
35
                            <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
36
                            <taxonverbatim_id>
37
                                <taxonverbatim>
38
                                    <taxonlabel_id>
39
                                        <taxonlabel>
40
                                            <matched_label_id>
41
                                                <taxonlabel>
42
                                                    <source_id><source><shortname>TNRS</shortname></source></source_id>
43
                                                    <taxonomicname>
44
                                                        <_join_words>
45
                                                            <1>
46
                                                                <_taxon_family_require_std>
47
                                                                    <family>
48
                                                                        <_nullIf>
49
                                                                            <null>$taxon</null>
50
                                                                            <value>$family</value>
51
                                                                        </_nullIf>
52
                                                                    </family>
53
                                                                </_taxon_family_require_std>
54
                                                            </1>
55
                                                            <2>
56
                                                                <_alt>
57
                                                                    <1>$taxon</1>
58
                                                                    <2>
59
                                                                        <_join_words>
60
                                                                            <1>
61
                                                                                <_join_words>
62
                                                                                    <2>$genus</2>
63
                                                                                    <3>$species</3>
64
                                                                                </_join_words>
65
                                                                            </1>
66
                                                                            <2>$taxonAuthor</2>
67
                                                                        </_join_words>
68
                                                                    </2>
69
                                                                </_alt>
70
                                                            </2>
71
                                                        </_join_words>
72
                                                    </taxonomicname>
73
                                                </taxonlabel>
74
                                            </matched_label_id>
75
                                            <parent_id>
76
                                                <taxonlabel>
77
                                                    <parent_id>
78
                                                        <taxonlabel>
79
                                                            <rank>cultivar</rank>
80
                                                            <parent_id>
81
                                                                <taxonlabel>
82
                                                                    <rank>forma</rank>
83
                                                                    <parent_id>
84
                                                                        <taxonlabel>
85
                                                                            <rank>variety</rank>
86
                                                                            <parent_id>
87
                                                                                <taxonlabel>
88
                                                                                    <rank>subspecies</rank>
89
                                                                                    <parent_id>
90
                                                                                        <taxonlabel>
91
                                                                                            <rank>species</rank>
92
                                                                                            <taxonepithet>$species</taxonepithet>
93
                                                                                            <parent_id>
94
                                                                                                <taxonlabel>
95
                                                                                                    <rank>genus</rank>
96
                                                                                                    <taxonepithet>$genus</taxonepithet>
97
                                                                                                    <parent_id>
98
                                                                                                        <taxonlabel>
99
                                                                                                            <rank>family</rank>
100
                                                                                                            <taxonepithet>$family</taxonepithet>
101
                                                                                                        </taxonlabel>
102
                                                                                                    </parent_id>
103
                                                                                                </taxonlabel>
104
                                                                                            </parent_id>
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
                                            <taxonomicname>
118
                                                <_join_words>
119
                                                    <1>
120
                                                        <_taxon_family_require_std>
121
                                                            <family>
122
                                                                <_nullIf>
123
                                                                    <null>$taxon</null>
124
                                                                    <value>$family</value>
125
                                                                </_nullIf>
126
                                                            </family>
127
                                                        </_taxon_family_require_std>
128
                                                    </1>
129
                                                    <2>
130
                                                        <_alt>
131
                                                            <1>$taxon</1>
132
                                                            <2>
133
                                                                <_join_words>
134
                                                                    <1>
135
                                                                        <_join_words>
136
                                                                            <2>$genus</2>
137
                                                                            <3>$species</3>
138
                                                                        </_join_words>
139
                                                                    </1>
140
                                                                    <2>$taxonAuthor</2>
141
                                                                </_join_words>
142
                                                            </2>
143
                                                        </_alt>
144
                                                    </2>
145
                                                </_join_words>
146
                                            </taxonomicname>
147
                                        </taxonlabel>
148
                                    </taxonlabel_id>
149
                                    <author>$taxonAuthor</author>
150
                                    <family>$family</family>
151
                                    <genus>$genus</genus>
152
                                    <specific_epithet>$species</specific_epithet>
153
                                    <taxonomicname>$taxon</taxonomicname>
154
                                </taxonverbatim>
155
                            </taxonverbatim_id>
156
                        </taxondetermination>
157
                    </taxonoccurrence>
158
                </locationevent>
159
                <locationplace>
160
                    <place_id>
161
                        <place>
162
                            <coordinates_id>
163
                                <coordinates>
164
                                    <latitude_deg>
165
                                        <_nullIf>
166
                                            <null>0</null>
167
                                            <type>float</type>
168
                                            <value>$latitude</value>
169
                                        </_nullIf>
170
                                    </latitude_deg>
171
                                    <longitude_deg>
172
                                        <_nullIf>
173
                                            <null>0</null>
174
                                            <type>float</type>
175
                                            <value>$longitude</value>
176
                                        </_nullIf>
177
                                    </longitude_deg>
178
                                </coordinates>
179
                            </coordinates_id>
180
                            <country>$country</country>
181
                            <county>$countyParish</county>
182
                            <matched_place_id>
183
                                <place>
184
                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
185
                                    <coordinates_id>
186
                                        <coordinates>
187
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
188
                                            <latitude_deg>
189
                                                <_nullIf>
190
                                                    <null>0</null>
191
                                                    <type>float</type>
192
                                                    <value>$latitude</value>
193
                                                </_nullIf>
194
                                            </latitude_deg>
195
                                            <longitude_deg>
196
                                                <_nullIf>
197
                                                    <null>0</null>
198
                                                    <type>float</type>
199
                                                    <value>$longitude</value>
200
                                                </_nullIf>
201
                                            </longitude_deg>
202
                                        </coordinates>
203
                                    </coordinates_id>
204
                                    <country>$country</country>
205
                                    <county>$countyParish</county>
206
                                    <stateprovince>$stateProvince</stateprovince>
207
                                </place>
208
                            </matched_place_id>
209
                            <stateprovince>$stateProvince</stateprovince>
210
                        </place>
211
                    </place_id>
212
                </locationplace>
213
            </location>
214
        </path>
215
    </_simplifyPath>
216
</VegBIEN>
217
Inserted 1 new rows into database
(6-6/7)