Project

General

Profile

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