Project

General

Profile

1 5756 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>bien_web.new</shortname></source></source_id>
5 5756 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10 10559 aaronmk
                        <authorlocationcode>$locationName</authorlocationcode>
11
                        <sourceaccessioncode>$locationID</sourceaccessioncode>
12
                        <area_m2><_ha_to_m2><value>$plotArea_ha</value></_ha_to_m2></area_m2>
13
                        <elevation_m>$elevationInMeters</elevation_m>
14 6403 aaronmk
                        <locationevent>
15 10559 aaronmk
                            <method_id><method><name>$samplingProtocol</name></method></method_id>
16 11107 aaronmk
                            <locationevent fkey="parent_id">
17
                                <taxonoccurrence>
18
                                    <aggregateoccurrence>
19
                                        <collectiondate>$dateCollected</collectiondate>
20
                                        <cover_fraction><_percent_to_fraction><value>$coverPercent</value></_percent_to_fraction></cover_fraction>
21
                                        <plantobservation>
22
                                            <authorplantcode>$collectorNumber</authorplantcode>
23
                                            <specimenreplicate>
24
                                                <collectionnumber>$collectorNumber</collectionnumber>
25
                                                <institution_id>
26
                                                    <sourcelist>
27
                                                        <name>$specimenHolderInstitutions</name>
28
                                                        <sourcename>
29
                                                            <name>
30
                                                                <_split>
31
                                                                    <separator>[,;] *</separator>
32
                                                                    <value>$specimenHolderInstitutions</value>
33
                                                                </_split>
34
                                                            </name>
35
                                                        </sourcename>
36
                                                    </sourcelist>
37
                                                </institution_id>
38
                                                <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
39
                                            </specimenreplicate>
40
                                        </plantobservation>
41
                                    </aggregateoccurrence>
42
                                    <authortaxoncode>$collectorNumber</authortaxoncode>
43
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
44
                                    <iscultivated>$cultivated</iscultivated>
45
                                    <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
46
                                    <taxondetermination>
47
                                        <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
48
                                        <taxonverbatim_id>
49
                                            <taxonverbatim>
50
                                                <taxonlabel_id>
51
                                                    <taxonlabel>
52
                                                        <parent_id>
53
                                                            <taxonlabel>
54
                                                                <parent_id>
55
                                                                    <taxonlabel>
56
                                                                        <rank>cultivar</rank>
57
                                                                        <parent_id>
58
                                                                            <taxonlabel>
59
                                                                                <rank>forma</rank>
60
                                                                                <parent_id>
61
                                                                                    <taxonlabel>
62
                                                                                        <rank>variety</rank>
63
                                                                                        <parent_id>
64
                                                                                            <taxonlabel>
65
                                                                                                <rank>subspecies</rank>
66
                                                                                                <parent_id>
67
                                                                                                    <taxonlabel>
68
                                                                                                        <rank>species</rank>
69
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
70
                                                                                                        <parent_id>
71
                                                                                                            <taxonlabel>
72
                                                                                                                <rank>genus</rank>
73
                                                                                                                <taxonepithet>$genus</taxonepithet>
74
                                                                                                                <parent_id>
75
                                                                                                                    <taxonlabel>
76
                                                                                                                        <rank>family</rank>
77
                                                                                                                        <taxonepithet>$family</taxonepithet>
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
                                                            </taxonlabel>
93
                                                        </parent_id>
94
                                                        <taxonomicname>
95
                                                            <_merge_prefix>
96
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
97
                                                                <value>
98
                                                                    <_alt>
99
                                                                        <1>$scientificName</1>
100
                                                                        <2>
101
                                                                            <_join_words>
102
                                                                                <1>
103
                                                                                    <_join_words>
104
                                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
105
                                                                                        <3>$specificEpithet</3>
106
                                                                                    </_join_words>
107
                                                                                </1>
108
                                                                                <2>$scientificNameAuthorship</2>
109
                                                                            </_join_words>
110
                                                                        </2>
111
                                                                    </_alt>
112
                                                                </value>
113
                                                            </_merge_prefix>
114
                                                        </taxonomicname>
115
                                                    </taxonlabel>
116
                                                </taxonlabel_id>
117
                                                <author>$scientificNameAuthorship</author>
118
                                                <family>$family</family>
119
                                                <genus>$genus</genus>
120
                                                <specific_epithet>$specificEpithet</specific_epithet>
121
                                                <taxonomicname>$scientificName</taxonomicname>
122
                                            </taxonverbatim>
123
                                        </taxonverbatim_id>
124
                                    </taxondetermination>
125
                                    <trait>
126
                                        <name>$measurementName</name>
127
                                        <value>$measurementValue</value>
128
                                    </trait>
129
                                </taxonoccurrence>
130
                            </locationevent>
131 6403 aaronmk
                        </locationevent>
132
                        <locationplace>
133
                            <place_id>
134 5958 aaronmk
                                <place>
135
                                    <coordinates_id>
136
                                        <coordinates>
137 5969 aaronmk
                                            <latitude_deg>
138
                                                <_nullIf>
139
                                                    <null>0</null>
140
                                                    <type>float</type>
141 10559 aaronmk
                                                    <value>$decimalLatitude</value>
142 5969 aaronmk
                                                </_nullIf>
143
                                            </latitude_deg>
144
                                            <longitude_deg>
145
                                                <_nullIf>
146
                                                    <null>0</null>
147
                                                    <type>float</type>
148 10559 aaronmk
                                                    <value>$decimalLongitude</value>
149 5969 aaronmk
                                                </_nullIf>
150
                                            </longitude_deg>
151 5958 aaronmk
                                        </coordinates>
152
                                    </coordinates_id>
153
                                    <country>$country</country>
154 10559 aaronmk
                                    <county>$county</county>
155 6403 aaronmk
                                    <matched_place_id>
156
                                        <place>
157
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
158
                                            <coordinates_id>
159
                                                <coordinates>
160
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
161
                                                    <latitude_deg>
162
                                                        <_nullIf>
163
                                                            <null>0</null>
164
                                                            <type>float</type>
165 10559 aaronmk
                                                            <value>$decimalLatitude</value>
166 6403 aaronmk
                                                        </_nullIf>
167
                                                    </latitude_deg>
168
                                                    <longitude_deg>
169
                                                        <_nullIf>
170
                                                            <null>0</null>
171
                                                            <type>float</type>
172 10559 aaronmk
                                                            <value>$decimalLongitude</value>
173 6403 aaronmk
                                                        </_nullIf>
174
                                                    </longitude_deg>
175
                                                </coordinates>
176
                                            </coordinates_id>
177
                                            <country>$country</country>
178 10559 aaronmk
                                            <county>$county</county>
179 9459 aaronmk
                                            <geovalid>
180
                                                <_alt>
181
                                                    <2>false</2>
182 10559 aaronmk
                                                    <1>$geovalid</1>
183 9459 aaronmk
                                                </_alt>
184
                                            </geovalid>
185 6403 aaronmk
                                            <stateprovince>$stateProvince</stateprovince>
186
                                        </place>
187
                                    </matched_place_id>
188 5958 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
189
                                </place>
190 6403 aaronmk
                            </place_id>
191
                        </locationplace>
192
                    </location>
193
                </path>
194
            </_simplifyPath>
195 5756 aaronmk
        </path>
196 6403 aaronmk
    </_setDefault>
197 5756 aaronmk
</VegBIEN>
198 6403 aaronmk
Inserted 0 new rows into database