Project

General

Profile

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