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
                                        <_simplifyPath>
130
                                            <next>parent_id</next>
131
                                            <path>
132
                                                <plantname>
133
                                                    <rank>binomial</rank>
134
                                                    <parent_id>
135
                                                        <plantname>
136
                                                            <rank>authority</rank>
137
                                                            <plantname>$auth</plantname>
138
                                                            <parent_id>
139
                                                                <plantname>
140
                                                                    <rank>subspecies</rank>
141
                                                                    <plantname>
142
                                                                        <_name>
143
                                                                            <first>$infra_rank_1</first>
144
                                                                            <last>$infra_ep_1</last>
145
                                                                        </_name>
146
                                                                    </plantname>
147
                                                                    <parent_id>
148
                                                                        <plantname>
149
                                                                            <rank>species</rank>
150
                                                                            <plantname>$Species</plantname>
151
                                                                            <parent_id>
152
                                                                                <plantname>
153
                                                                                    <rank>genus</rank>
154
                                                                                    <plantname>$Genus</plantname>
155
                                                                                    <parent_id>
156
                                                                                        <plantname>
157
                                                                                            <rank>family</rank>
158
                                                                                            <plantname>$Family</plantname>
159
                                                                                        </plantname>
160
                                                                                    </parent_id>
161
                                                                                </plantname>
162
                                                                            </parent_id>
163
                                                                        </plantname>
164
                                                                    </parent_id>
165
                                                                </plantname>
166
                                                            </parent_id>
167
                                                        </plantname>
168
                                                    </parent_id>
169
                                                </plantname>
170
                                            </path>
171
                                        </_simplifyPath>
172
                                    </plantname_id>
173
                                </plantconcept>
174
                            </plantconcept_id>
175
                            <taxonfit>$cfaff</taxonfit>
176
                        </taxondetermination>
177
                        <taxondetermination>
178
                            <isoriginal>true</isoriginal>
179
                            <plantconcept_id>
180
                                <plantconcept>
181
                                    <plantname_id>
182
                                        <_simplifyPath>
183
                                            <next>parent_id</next>
184
                                            <path>
185
                                                <plantname>
186
                                                    <rank>binomial</rank>
187
                                                    <parent_id>
188
                                                        <plantname>
189
                                                            <rank>authority</rank>
190
                                                            <parent_id>
191
                                                                <plantname>
192
                                                                    <rank>subspecies</rank>
193
                                                                    <parent_id>
194
                                                                        <plantname>
195
                                                                            <rank>species</rank>
196
                                                                            <plantname>$OrigSpecies</plantname>
197
                                                                            <parent_id>
198
                                                                                <plantname>
199
                                                                                    <rank>genus</rank>
200
                                                                                    <plantname>$OrigGenus</plantname>
201
                                                                                    <parent_id>
202
                                                                                        <plantname>
203
                                                                                            <rank>family</rank>
204
                                                                                            <plantname>$OrigFamily</plantname>
205
                                                                                        </plantname>
206
                                                                                    </parent_id>
207
                                                                                </plantname>
208
                                                                            </parent_id>
209
                                                                        </plantname>
210
                                                                    </parent_id>
211
                                                                </plantname>
212
                                                            </parent_id>
213
                                                        </plantname>
214
                                                    </parent_id>
215
                                                </plantname>
216
                                            </path>
217
                                        </_simplifyPath>
218
                                    </plantname_id>
219
                                </plantconcept>
220
                            </plantconcept_id>
221
                        </taxondetermination>
222
                        <verbatimcollectorname>
223
                            <_name>
224
                                <first>$coll_firstname</first>
225
                                <last>$coll_lastname</last>
226
                            </_name>
227
                        </verbatimcollectorname>
228
                        <voucher>
229
                            <specimenreplicate_id>
230
                                <specimenreplicate>
231
                                    <catalognumber_dwc>
232
                                        <_if name="if indirect voucher">
233
                                            <cond>
234
                                                <_eq>
235
                                                    <right>indirect</right>
236
                                                    <left>$DetType</left>
237
                                                </_eq>
238
                                            </cond>
239
                                            <then>
240
                                                <_alt>
241
                                                    <1>$coll_number</1>
242
                                                    <2>$SourceVoucher</2>
243
                                                </_alt>
244
                                            </then>
245
                                        </_if>
246
                                    </catalognumber_dwc>
247
                                </specimenreplicate>
248
                            </specimenreplicate_id>
249
                        </voucher>
250
                    </taxonoccurrence>
251
                </locationevent>
252
            </location>
253
        </path>
254
    </_simplifyPath>
255
</VegBIEN>
256
Inserted 42 new rows into database
(9-9/10)