Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 3786 aaronmk
    <location id="-1">
4 4043 aaronmk
        <authorlocationcode>$herbarium</authorlocationcode>
5 3786 aaronmk
        <locationdetermination>
6
            <namedplace_id>
7
                <_simplifyPath>
8
                    <next>parent_id/namedplace</next>
9
                    <require>placename</require>
10
                    <path>
11
                        <namedplace>
12
                            <rank>county</rank>
13
                            <placename>$county</placename>
14
                            <parent_id>
15
                                <namedplace>
16
                                    <rank>stateProvince</rank>
17
                                    <placename>$state</placename>
18
                                    <parent_id>
19 3641 aaronmk
                                        <namedplace>
20 3786 aaronmk
                                            <rank>country</rank>
21
                                            <placename>$country</placename>
22 3641 aaronmk
                                        </namedplace>
23 3786 aaronmk
                                    </parent_id>
24
                                </namedplace>
25
                            </parent_id>
26
                        </namedplace>
27
                    </path>
28
                </_simplifyPath>
29
            </namedplace_id>
30
        </locationdetermination>
31
        <locationevent>
32 4021 aaronmk
            <obsenddate>
33
                <_date>
34
                    <date>
35
                        <_dateRangeEnd>
36
                            <value>
37 4043 aaronmk
                                <_date>
38
                                    <day>
39
                                        <_nullIf>
40
                                            <null>0</null>
41
                                            <type>float</type>
42
                                            <value>$collday</value>
43
                                        </_nullIf>
44
                                    </day>
45
                                    <month>
46
                                        <_nullIf>
47
                                            <null>0</null>
48
                                            <type>float</type>
49
                                            <value>$collmonth</value>
50
                                        </_nullIf>
51
                                    </month>
52
                                    <year>
53
                                        <_nullIf>
54
                                            <null>0</null>
55
                                            <type>float</type>
56
                                            <value>$collyear</value>
57
                                        </_nullIf>
58
                                    </year>
59
                                </_date>
60 4021 aaronmk
                            </value>
61
                        </_dateRangeEnd>
62
                    </date>
63
                </_date>
64
            </obsenddate>
65
            <obsstartdate>
66
                <_date>
67
                    <date>
68
                        <_dateRangeStart>
69
                            <value>
70 4043 aaronmk
                                <_date>
71
                                    <day>
72
                                        <_nullIf>
73
                                            <null>0</null>
74
                                            <type>float</type>
75
                                            <value>$collday</value>
76
                                        </_nullIf>
77
                                    </day>
78
                                    <month>
79
                                        <_nullIf>
80
                                            <null>0</null>
81
                                            <type>float</type>
82
                                            <value>$collmonth</value>
83
                                        </_nullIf>
84
                                    </month>
85
                                    <year>
86
                                        <_nullIf>
87
                                            <null>0</null>
88
                                            <type>float</type>
89
                                            <value>$collyear</value>
90
                                        </_nullIf>
91
                                    </year>
92
                                </_date>
93 4021 aaronmk
                            </value>
94
                        </_dateRangeStart>
95
                    </date>
96
                </_date>
97
            </obsstartdate>
98 3915 aaronmk
            <taxonoccurrence>
99
                <aggregateoccurrence>
100
                    <collectiondate>
101
                        <_date>
102
                            <date>
103 4043 aaronmk
                                <_date>
104
                                    <day>
105
                                        <_nullIf>
106
                                            <null>0</null>
107
                                            <type>float</type>
108
                                            <value>$collday</value>
109
                                        </_nullIf>
110
                                    </day>
111
                                    <month>
112
                                        <_nullIf>
113
                                            <null>0</null>
114
                                            <type>float</type>
115
                                            <value>$collmonth</value>
116
                                        </_nullIf>
117
                                    </month>
118
                                    <year>
119
                                        <_nullIf>
120
                                            <null>0</null>
121
                                            <type>float</type>
122
                                            <value>$collyear</value>
123
                                        </_nullIf>
124
                                    </year>
125
                                </_date>
126 3915 aaronmk
                            </date>
127
                        </_date>
128
                    </collectiondate>
129 3912 aaronmk
                    <notes>
130
                        <_merge>
131
                            <1>$comment1</1>
132
                            <2>$comment2</2>
133
                            <3>$comment3</3>
134
                            <4>$comment4</4>
135
                            <5>
136
                                <_label>
137
                                    <label>campus</label>
138
                                    <value>$campus</value>
139
                                </_label>
140
                            </5>
141
                            <6>
142
                                <_label>
143
                                    <label>loaned to</label>
144
                                    <value>$loanto</value>
145
                                </_label>
146
                            </6>
147
                            <7>
148
                                <_label>
149
                                    <label>in or out</label>
150
                                    <value>$inorout</value>
151
                                </_label>
152
                            </7>
153
                        </_merge>
154
                    </notes>
155 3907 aaronmk
                    <plantobservation>
156 4043 aaronmk
                        <authorplantcode>$collectno</authorplantcode>
157 4006 aaronmk
                        <sourceaccessioncode>$accession</sourceaccessioncode>
158 3907 aaronmk
                        <specimenreplicate>
159 4043 aaronmk
                            <collectionnumber>$collectno</collectionnumber>
160 4004 aaronmk
                            <institution_id><party><organizationname>$herbarium</organizationname></party></institution_id>
161 3907 aaronmk
                            <sourceaccessioncode>$accession</sourceaccessioncode>
162
                        </specimenreplicate>
163
                    </plantobservation>
164
                </aggregateoccurrence>
165 3934 aaronmk
                <iscultivated>
166
                    <_map>
167
                        <cultivated>t</cultivated>
168
                        <wild>f</wild>
169
                        <*></*>
170
                        <value>
171
                            <_map>
172
                                <Y>cultivated</Y>
173
                                <N>wild</N>
174
                                <*></*>
175
                                <value>$cultivated</value>
176
                            </_map>
177
                        </value>
178
                    </_map>
179
                </iscultivated>
180
                <isnative>
181
                    <_map>
182
                        <native>t</native>
183
                        <exotic>f</exotic>
184
                        <*></*>
185
                        <value>
186
                            <_map>
187
                                <Y>cultivated</Y>
188
                                <N>wild</N>
189
                                <*></*>
190
                                <value>$cultivated</value>
191
                            </_map>
192
                        </value>
193
                    </_map>
194
                </isnative>
195 4007 aaronmk
                <sourceaccessioncode>
196
                    <_alt>
197
                        <1>$accession</1>
198 4046 aaronmk
                        <3>$collectno</3>
199 4007 aaronmk
                    </_alt>
200
                </sourceaccessioncode>
201 3786 aaronmk
                <taxondetermination>
202
                    <isoriginal>true</isoriginal>
203
                    <role>identifier</role>
204
                    <plantconcept_id>
205
                        <plantconcept>
206
                            <plantname_id>
207
                                <_simplifyPath>
208
                                    <next>parent_id/plantname</next>
209
                                    <require>plantname</require>
210
                                    <path>
211 3641 aaronmk
                                        <plantname>
212 3786 aaronmk
                                            <rank>binomial</rank>
213
                                            <plantname>$SciName</plantname>
214 3641 aaronmk
                                            <parent_id>
215
                                                <plantname>
216 3786 aaronmk
                                                    <rank>authority</rank>
217
                                                    <plantname>$authors</plantname>
218 3641 aaronmk
                                                    <parent_id>
219
                                                        <plantname>
220 3786 aaronmk
                                                            <rank>subspecies</rank>
221
                                                            <plantname>$infraname</plantname>
222 3641 aaronmk
                                                            <parent_id>
223
                                                                <plantname>
224 3786 aaronmk
                                                                    <rank>species</rank>
225
                                                                    <plantname>$species</plantname>
226 3641 aaronmk
                                                                    <parent_id>
227
                                                                        <plantname>
228 3786 aaronmk
                                                                            <rank>genus</rank>
229
                                                                            <plantname>$genus</plantname>
230
                                                                            <parent_id>
231
                                                                                <plantname>
232
                                                                                    <rank>family</rank>
233
                                                                                    <plantname>$family</plantname>
234
                                                                                </plantname>
235
                                                                            </parent_id>
236 3641 aaronmk
                                                                        </plantname>
237
                                                                    </parent_id>
238
                                                                </plantname>
239
                                                            </parent_id>
240
                                                        </plantname>
241
                                                    </parent_id>
242
                                                </plantname>
243
                                            </parent_id>
244
                                        </plantname>
245 3786 aaronmk
                                    </path>
246
                                </_simplifyPath>
247
                            </plantname_id>
248
                        </plantconcept>
249
                    </plantconcept_id>
250
                </taxondetermination>
251 3934 aaronmk
                <verbatimcollectorname>
252
                    <_merge>
253
                        <1>$collector</1>
254
                        <2>$collector1</2>
255
                        <3>$collector2</3>
256
                        <4>$collector3</4>
257
                    </_merge>
258
                </verbatimcollectorname>
259 3907 aaronmk
            </taxonoccurrence>
260 3786 aaronmk
        </locationevent>
261
        <locationnarrative>
262 3641 aaronmk
            <_merge>
263 3786 aaronmk
                <1>$locality</1>
264
                <3>
265
                    <_label>
266
                        <label>habitat</label>
267
                        <value>$habitat</value>
268
                    </_label>
269
                </3>
270 3641 aaronmk
            </_merge>
271 3786 aaronmk
        </locationnarrative>
272 4043 aaronmk
        <sourceaccessioncode>$accession</sourceaccessioncode>
273 3786 aaronmk
    </location>
274 3641 aaronmk
</VegBIEN>
275 4004 aaronmk
Inserted 22 new rows into database