Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 3795 aaronmk
    <location id="-1">
4 4060 aaronmk
        <authorlocationcode>
5
            <_alt>
6
                <1>$subplot</1>
7 4066 aaronmk
                <4>
8 4060 aaronmk
                    <_if name="if indirect voucher">
9 4064 aaronmk
                        <cond>
10
                            <_eq>
11
                                <right>indirect</right>
12
                                <left>$det_type</left>
13
                            </_eq>
14
                        </cond>
15 4060 aaronmk
                        <else>
16
                            <_alt>
17
                                <1>$coll_number</1>
18
                                <2>$voucher_string</2>
19
                            </_alt>
20
                        </else>
21
                    </_if>
22 4066 aaronmk
                </4>
23 4060 aaronmk
            </_alt>
24
        </authorlocationcode>
25 3795 aaronmk
        <locationevent>
26 4015 aaronmk
            <obsstartdate><_date><date><_dateRangeStart><value>$census_date</value></_dateRangeStart></date></_date></obsstartdate>
27 3795 aaronmk
            <taxonoccurrence>
28
                <aggregateoccurrence>
29
                    <count>$no_of_individuals</count>
30
                    <cover>$cover_percent</cover>
31
                    <definedvalue fkey="tablerecord_id">
32
                        <userdefined_id>
33
                            <userdefined>
34
                                <tablename>aggregateoccurrence</tablename>
35
                                <userdefinedname>censusNo</userdefinedname>
36
                            </userdefined>
37
                        </userdefined_id>
38
                        <definedvalue>$census_no</definedvalue>
39
                    </definedvalue>
40
                    <linecover>$intercept_cm</linecover>
41
                    <plantobservation>
42 4076 aaronmk
                        <collectionnumber>$individual_code</collectionnumber>
43 3795 aaronmk
                        <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
44 3942 aaronmk
                        <specimenreplicate>
45 4045 aaronmk
                            <catalognumber_dwc>
46
                                <_if name="if indirect voucher">
47
                                    <cond>
48
                                        <_eq>
49
                                            <right>indirect</right>
50
                                            <left>$det_type</left>
51
                                        </_eq>
52
                                    </cond>
53
                                    <else>
54 3942 aaronmk
                                        <_alt>
55
                                            <1>$coll_number</1>
56
                                            <2>$voucher_string</2>
57
                                        </_alt>
58 4045 aaronmk
                                    </else>
59
                                </_if>
60
                            </catalognumber_dwc>
61 3942 aaronmk
                        </specimenreplicate>
62 3795 aaronmk
                        <stemobservation>
63 3829 aaronmk
                            <basaldiameter>$basal_diam</basaldiameter>
64
                            <definedvalue fkey="tablerecord_id">
65
                                <userdefined_id>
66
                                    <userdefined>
67
                                        <tablename>stemobservation</tablename>
68
                                        <userdefinedname>canopyForm</userdefinedname>
69
                                    </userdefined>
70
                                </userdefined_id>
71
                                <definedvalue>$stem_canopy_form</definedvalue>
72
                            </definedvalue>
73
                            <definedvalue fkey="tablerecord_id">
74
                                <userdefined_id>
75
                                    <userdefined>
76
                                        <tablename>stemobservation</tablename>
77
                                        <userdefinedname>canopyPosition</userdefinedname>
78
                                    </userdefined>
79
                                </userdefined_id>
80
                                <definedvalue>$stem_canopy_position</definedvalue>
81
                            </definedvalue>
82
                            <definedvalue fkey="tablerecord_id">
83
                                <userdefined_id>
84
                                    <userdefined>
85
                                        <tablename>stemobservation</tablename>
86
                                        <userdefinedname>lianaInfestation</userdefinedname>
87
                                    </userdefined>
88
                                </userdefined_id>
89
                                <definedvalue>$stem_liana_infestation</definedvalue>
90
                            </definedvalue>
91
                            <definedvalue fkey="tablerecord_id">
92
                                <userdefined_id>
93
                                    <userdefined>
94
                                        <tablename>stemobservation</tablename>
95
                                        <userdefinedname>notes</userdefinedname>
96
                                    </userdefined>
97
                                </userdefined_id>
98
                                <definedvalue>$notes</definedvalue>
99
                            </definedvalue>
100
                            <diameterbreastheight>$stem_dbh</diameterbreastheight>
101 3925 aaronmk
                            <height>
102 4068 aaronmk
                                <_alt>
103 3925 aaronmk
                                    <1>$stem_height_m</1>
104 4069 aaronmk
                                    <2>$height_m</2>
105 4068 aaronmk
                                </_alt>
106 3925 aaronmk
                            </height>
107 3829 aaronmk
                            <heightfirstbranch>
108 4068 aaronmk
                                <_alt>
109 3829 aaronmk
                                    <0>$ht_first_branch_m</0>
110
                                    <1>$stem_height_first_branch_m</1>
111 4068 aaronmk
                                </_alt>
112 3829 aaronmk
                            </heightfirstbranch>
113 3795 aaronmk
                            <stemtag>
114
                                <iscurrent>
115
                                    <_alt>
116
                                        <2>true</2>
117
                                        <1>false</1>
118
                                    </_alt>
119
                                </iscurrent>
120
                                <tag>
121
                                    <_alt>
122
                                        <1>$tag1</1>
123
                                        <2>$stem_tag1</2>
124
                                    </_alt>
125
                                </tag>
126
                            </stemtag>
127
                            <stemtag>
128
                                <iscurrent>true</iscurrent>
129
                                <tag>
130
                                    <_alt>
131
                                        <1>$tag2</1>
132
                                        <2>$stem_tag2</2>
133
                                    </_alt>
134
                                </tag>
135
                            </stemtag>
136
                            <xposition>$x_position</xposition>
137
                            <yposition>$y_position</yposition>
138
                        </stemobservation>
139
                    </plantobservation>
140
                </aggregateoccurrence>
141 4195 aaronmk
                <authortaxoncode>$individual_code</authortaxoncode>
142 3795 aaronmk
                <growthform>
143
                    <_map>
144
                        <T>tree</T>
145
                        <Arbol>tree</Arbol>
146
                        <palm>tree</palm>
147
                        <H>hemiepiphyte</H>
148
                        <Hemiepífito>hemiepiphyte</Hemiepífito>
149
                        <L>liana</L>
150
                        <l>liana</l>
151
                        <L?>liana</L?>
152
                        <Liana>liana</Liana>
153
                        <E>epiphyte</E>
154
                        <S>shrub</S>
155
                        <Hb>herb</Hb>
156
                        <vine-herbaceous>vine</vine-herbaceous>
157
                        <graminoid>grass</graminoid>
158
                        <rosette>forb</rosette>
159 4176 aaronmk
                        <*>*</*>
160 3795 aaronmk
                        <value>$habit</value>
161
                    </_map>
162
                </growthform>
163 4072 aaronmk
                <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
164 3795 aaronmk
                <taxondetermination>
165
                    <plantconcept_id>
166
                        <plantconcept>
167
                            <plantname_id>
168
                                <_simplifyPath>
169
                                    <next>parent_id/plantname</next>
170
                                    <require>plantname</require>
171
                                    <path>
172
                                        <plantname>
173
                                            <rank>binomial</rank>
174
                                            <parent_id>
175 3722 aaronmk
                                                <plantname>
176 3795 aaronmk
                                                    <rank>authority</rank>
177 4205 aaronmk
                                                    <plantname>$specific_authority</plantname>
178 3722 aaronmk
                                                    <parent_id>
179
                                                        <plantname>
180 3795 aaronmk
                                                            <rank>subspecies</rank>
181 4205 aaronmk
                                                            <plantname>
182
                                                                <_name>
183
                                                                    <first>$infra_rank_1</first>
184
                                                                    <last>$infra_ep_1</last>
185
                                                                </_name>
186
                                                            </plantname>
187 3722 aaronmk
                                                            <parent_id>
188 3641 aaronmk
                                                                <plantname>
189 3795 aaronmk
                                                                    <rank>species</rank>
190 4205 aaronmk
                                                                    <plantname>$specific_epithet</plantname>
191 3722 aaronmk
                                                                    <parent_id>
192
                                                                        <plantname>
193 3795 aaronmk
                                                                            <rank>genus</rank>
194 4205 aaronmk
                                                                            <plantname>$genus</plantname>
195 3722 aaronmk
                                                                            <parent_id>
196
                                                                                <plantname>
197 3795 aaronmk
                                                                                    <rank>family</rank>
198 4205 aaronmk
                                                                                    <plantname>$family</plantname>
199 3722 aaronmk
                                                                                </plantname>
200
                                                                            </parent_id>
201
                                                                        </plantname>
202
                                                                    </parent_id>
203
                                                                </plantname>
204
                                                            </parent_id>
205
                                                        </plantname>
206
                                                    </parent_id>
207
                                                </plantname>
208 3795 aaronmk
                                            </parent_id>
209
                                        </plantname>
210
                                    </path>
211
                                </_simplifyPath>
212
                            </plantname_id>
213
                        </plantconcept>
214
                    </plantconcept_id>
215 4205 aaronmk
                    <taxonfit>$cf_aff</taxonfit>
216 3795 aaronmk
                </taxondetermination>
217
                <taxondetermination>
218 4205 aaronmk
                    <isoriginal>true</isoriginal>
219 3795 aaronmk
                    <plantconcept_id>
220
                        <plantconcept>
221
                            <plantname_id>
222
                                <_simplifyPath>
223
                                    <next>parent_id/plantname</next>
224
                                    <require>plantname</require>
225
                                    <path>
226
                                        <plantname>
227
                                            <rank>binomial</rank>
228
                                            <parent_id>
229 3641 aaronmk
                                                <plantname>
230 3795 aaronmk
                                                    <rank>authority</rank>
231 3722 aaronmk
                                                    <parent_id>
232
                                                        <plantname>
233 3795 aaronmk
                                                            <rank>subspecies</rank>
234 3722 aaronmk
                                                            <parent_id>
235
                                                                <plantname>
236 3795 aaronmk
                                                                    <rank>species</rank>
237 4205 aaronmk
                                                                    <plantname>$orig_species</plantname>
238 3722 aaronmk
                                                                    <parent_id>
239
                                                                        <plantname>
240 3795 aaronmk
                                                                            <rank>genus</rank>
241 3722 aaronmk
                                                                            <parent_id>
242
                                                                                <plantname>
243 3795 aaronmk
                                                                                    <rank>family</rank>
244 4205 aaronmk
                                                                                    <plantname>$orig_family</plantname>
245 3722 aaronmk
                                                                                </plantname>
246
                                                                            </parent_id>
247
                                                                        </plantname>
248
                                                                    </parent_id>
249
                                                                </plantname>
250
                                                            </parent_id>
251
                                                        </plantname>
252
                                                    </parent_id>
253
                                                </plantname>
254 3795 aaronmk
                                            </parent_id>
255
                                        </plantname>
256
                                    </path>
257
                                </_simplifyPath>
258
                            </plantname_id>
259
                        </plantconcept>
260
                    </plantconcept_id>
261
                </taxondetermination>
262
                <verbatimcollectorname>
263
                    <_name>
264
                        <first>$coll_firstname</first>
265
                        <last>$coll_lastname</last>
266
                    </_name>
267
                </verbatimcollectorname>
268 3942 aaronmk
                <voucher>
269
                    <specimenreplicate_id>
270
                        <specimenreplicate>
271 4045 aaronmk
                            <catalognumber_dwc>
272
                                <_if name="if indirect voucher">
273
                                    <cond>
274
                                        <_eq>
275
                                            <right>indirect</right>
276
                                            <left>$det_type</left>
277
                                        </_eq>
278
                                    </cond>
279
                                    <then>
280 3942 aaronmk
                                        <_alt>
281
                                            <1>$coll_number</1>
282
                                            <2>$voucher_string</2>
283
                                        </_alt>
284 4045 aaronmk
                                    </then>
285
                                </_if>
286
                            </catalognumber_dwc>
287 3942 aaronmk
                        </specimenreplicate>
288
                    </specimenreplicate_id>
289
                </voucher>
290 3795 aaronmk
            </taxonoccurrence>
291
        </locationevent>
292 3994 aaronmk
        <parent_id>
293
            <location>
294
                <authorlocationcode>$plot_code</authorlocationcode>
295
                <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
296
            </location>
297
        </parent_id>
298 3795 aaronmk
    </location>
299 3641 aaronmk
</VegBIEN>
300 4035 aaronmk
Inserted 51 new rows into database