Project

General

Profile

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