Project

General

Profile

1 5756 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 6406 aaronmk
        <source_id><source><shortname>bien_web</shortname></source></source_id>
5 5756 aaronmk
        <path>
6 6403 aaronmk
            <_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 7190 aaronmk
                                        <authorplantcode>$collectionNumber</authorplantcode>
22 6403 aaronmk
                                        <specimenreplicate>
23 7198 aaronmk
                                            <collectionnumber>$collectionNumber</collectionnumber>
24 6403 aaronmk
                                            <institution_id>
25 6791 aaronmk
                                                <sourcelist>
26 6403 aaronmk
                                                    <name>$dataSourceName</name>
27 6791 aaronmk
                                                    <sourcename>
28 6795 aaronmk
                                                        <name>
29
                                                            <_split>
30 7433 aaronmk
                                                                <separator>[,;] *</separator>
31 6795 aaronmk
                                                                <value>$dataSourceName</value>
32
                                                            </_split>
33
                                                        </name>
34 6791 aaronmk
                                                    </sourcename>
35
                                                </sourcelist>
36 6403 aaronmk
                                            </institution_id>
37
                                            <sourceaccessioncode>$observationID</sourceaccessioncode>
38
                                        </specimenreplicate>
39
                                    </plantobservation>
40
                                </aggregateoccurrence>
41
                                <authortaxoncode>$collectionNumber</authortaxoncode>
42
                                <collector_id><party><fullname>$collector</fullname></party></collector_id>
43
                                <iscultivated>$isCultivated</iscultivated>
44
                                <sourceaccessioncode>$observationID</sourceaccessioncode>
45
                                <taxondetermination>
46
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
47
                                    <taxonverbatim_id>
48
                                        <taxonverbatim>
49
                                            <taxonlabel_id>
50 5756 aaronmk
                                                <taxonlabel>
51
                                                    <parent_id>
52
                                                        <taxonlabel>
53
                                                            <parent_id>
54
                                                                <taxonlabel>
55 6403 aaronmk
                                                                    <rank>cultivar</rank>
56 5756 aaronmk
                                                                    <parent_id>
57
                                                                        <taxonlabel>
58 6403 aaronmk
                                                                            <rank>forma</rank>
59 5756 aaronmk
                                                                            <parent_id>
60
                                                                                <taxonlabel>
61 6403 aaronmk
                                                                                    <rank>variety</rank>
62 5756 aaronmk
                                                                                    <parent_id>
63
                                                                                        <taxonlabel>
64 6403 aaronmk
                                                                                            <rank>subspecies</rank>
65 5756 aaronmk
                                                                                            <parent_id>
66
                                                                                                <taxonlabel>
67 6403 aaronmk
                                                                                                    <rank>species</rank>
68
                                                                                                    <taxonepithet>$species</taxonepithet>
69 5756 aaronmk
                                                                                                    <parent_id>
70
                                                                                                        <taxonlabel>
71 6403 aaronmk
                                                                                                            <rank>genus</rank>
72
                                                                                                            <taxonepithet>$genus</taxonepithet>
73
                                                                                                            <parent_id>
74
                                                                                                                <taxonlabel>
75
                                                                                                                    <rank>family</rank>
76
                                                                                                                    <taxonepithet>$family</taxonepithet>
77
                                                                                                                </taxonlabel>
78
                                                                                                            </parent_id>
79 5756 aaronmk
                                                                                                        </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 6403 aaronmk
                                                    <taxonomicname>
94 7142 aaronmk
                                                        <_merge_prefix>
95
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
96
                                                            <value>
97 6403 aaronmk
                                                                <_alt>
98
                                                                    <1>$taxon</1>
99
                                                                    <2>
100 5788 aaronmk
                                                                        <_join_words>
101 6403 aaronmk
                                                                            <1>
102
                                                                                <_join_words>
103
                                                                                    <2>$genus</2>
104
                                                                                    <3>$species</3>
105
                                                                                </_join_words>
106
                                                                            </1>
107
                                                                            <2>$taxonAuthor</2>
108 5788 aaronmk
                                                                        </_join_words>
109 6403 aaronmk
                                                                    </2>
110
                                                                </_alt>
111 7142 aaronmk
                                                            </value>
112
                                                        </_merge_prefix>
113 6403 aaronmk
                                                    </taxonomicname>
114
                                                </taxonlabel>
115
                                            </taxonlabel_id>
116
                                            <author>$taxonAuthor</author>
117
                                            <family>$family</family>
118
                                            <genus>$genus</genus>
119
                                            <specific_epithet>$species</specific_epithet>
120
                                            <taxonomicname>$taxon</taxonomicname>
121
                                        </taxonverbatim>
122
                                    </taxonverbatim_id>
123
                                </taxondetermination>
124 7503 aaronmk
                                <trait>
125
                                    <name>$traitName</name>
126
                                    <value>$traitValue</value>
127
                                </trait>
128 6403 aaronmk
                            </taxonoccurrence>
129
                        </locationevent>
130
                        <locationplace>
131
                            <place_id>
132 5958 aaronmk
                                <place>
133
                                    <coordinates_id>
134
                                        <coordinates>
135 5969 aaronmk
                                            <latitude_deg>
136
                                                <_nullIf>
137
                                                    <null>0</null>
138
                                                    <type>float</type>
139
                                                    <value>$latitude</value>
140
                                                </_nullIf>
141
                                            </latitude_deg>
142
                                            <longitude_deg>
143
                                                <_nullIf>
144
                                                    <null>0</null>
145
                                                    <type>float</type>
146
                                                    <value>$longitude</value>
147
                                                </_nullIf>
148
                                            </longitude_deg>
149 5958 aaronmk
                                        </coordinates>
150
                                    </coordinates_id>
151
                                    <country>$country</country>
152 6303 aaronmk
                                    <county>$countyParish</county>
153 6403 aaronmk
                                    <matched_place_id>
154
                                        <place>
155
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
156
                                            <coordinates_id>
157
                                                <coordinates>
158
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
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 7503 aaronmk
                                            <geovalid>$isGeovalid</geovalid>
178 6403 aaronmk
                                            <stateprovince>$stateProvince</stateprovince>
179
                                        </place>
180
                                    </matched_place_id>
181 5958 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
182
                                </place>
183 6403 aaronmk
                            </place_id>
184
                        </locationplace>
185
                    </location>
186
                </path>
187
            </_simplifyPath>
188 5756 aaronmk
        </path>
189 6403 aaronmk
    </_setDefault>
190 5756 aaronmk
</VegBIEN>
191 6403 aaronmk
Inserted 0 new rows into database