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