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_fraction><_percent_to_fraction><value>$cover_percent</value></_percent_to_fraction></cover_fraction>
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_m><_cm_to_m><value>$intercept_cm</value></_cm_to_m></linecover_m>
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_m><_cm_to_m><value>$temp_dbh</value></_cm_to_m></diameterbreastheight_m>
82
                                    <height_m>$height_m</height_m>
83
                                    <heightfirstbranch_m>$ht_first_branch_m</heightfirstbranch_m>
84
                                    <tag>
85
                                        <_alt>
86
                                            <1>$tag2</1>
87
                                            <2>$tag1</2>
88
                                        </_alt>
89
                                    </tag>
90
                                    <xposition_m>$x_position</xposition_m>
91
                                    <yposition_m>$y_position</yposition_m>
92
                                </stemobservation>
93
                            </plantobservation>
94
                        </aggregateoccurrence>
95
                        <authortaxoncode>$Ind</authortaxoncode>
96
                        <growthform>
97
                            <_map>
98
                                <T>tree</T>
99
                                <Arbol>tree</Arbol>
100
                                <palm>tree</palm>
101
                                <H>hemiepiphyte</H>
102
                                <Hemiepífito>hemiepiphyte</Hemiepífito>
103
                                <L>liana</L>
104
                                <l>liana</l>
105
                                <L?>liana</L?>
106
                                <Liana>liana</Liana>
107
                                <E>epiphyte</E>
108
                                <S>shrub</S>
109
                                <Hb>herb</Hb>
110
                                <vine-herbaceous>vine</vine-herbaceous>
111
                                <graminoid>grass</graminoid>
112
                                <rosette>forb</rosette>
113
                                <*>*</*>
114
                                <value>$Habit</value>
115
                            </_map>
116
                        </growthform>
117
                        <sourceaccessioncode>$PlotObsID</sourceaccessioncode>
118
                        <taxondetermination>
119
                            <taxonconcept_id>
120
                                <taxonconcept>
121
                                    <canon_taxonconcept_id>
122
                                        <taxonconcept>
123
                                            <datasource_id>
124
                                                <party>
125
                                                    <datasource_id>0</datasource_id>
126
                                                    <organizationname>TNRS</organizationname>
127
                                                </party>
128
                                            </datasource_id>
129
                                            <identifyingtaxonomicname>
130
                                                <_join_words>
131
                                                    <1>
132
                                                        <_join_words>
133
                                                            <1>$Family</1>
134
                                                            <2>$Genus</2>
135
                                                            <3>$Species</3>
136
                                                            <5>
137
                                                                <_join_words>
138
                                                                    <1>
139
                                                                        <_if name="if has infraspecificEpithet">
140
                                                                            <cond>$infra_ep_1</cond>
141
                                                                            <then>$infra_rank_1</then>
142
                                                                        </_if>
143
                                                                    </1>
144
                                                                    <2>$infra_ep_1</2>
145
                                                                </_join_words>
146
                                                            </5>
147
                                                        </_join_words>
148
                                                    </1>
149
                                                    <2>$auth</2>
150
                                                </_join_words>
151
                                            </identifyingtaxonomicname>
152
                                        </taxonconcept>
153
                                    </canon_taxonconcept_id>
154
                                    <author>$auth</author>
155
                                    <family>$Family</family>
156
                                    <genus>$Genus</genus>
157
                                    <species>$Species</species>
158
                                    <subspecies>
159
                                        <_join_words>
160
                                            <1>
161
                                                <_if name="if has infraspecificEpithet">
162
                                                    <cond>$infra_ep_1</cond>
163
                                                    <then>$infra_rank_1</then>
164
                                                </_if>
165
                                            </1>
166
                                            <2>$infra_ep_1</2>
167
                                        </_join_words>
168
                                    </subspecies>
169
                                </taxonconcept>
170
                            </taxonconcept_id>
171
                            <taxonfit>$cfaff</taxonfit>
172
                        </taxondetermination>
173
                        <taxondetermination>
174
                            <isoriginal>true</isoriginal>
175
                            <taxonconcept_id>
176
                                <taxonconcept>
177
                                    <canon_taxonconcept_id>
178
                                        <taxonconcept>
179
                                            <datasource_id>
180
                                                <party>
181
                                                    <datasource_id>0</datasource_id>
182
                                                    <organizationname>TNRS</organizationname>
183
                                                </party>
184
                                            </datasource_id>
185
                                            <identifyingtaxonomicname>
186
                                                <_join_words>
187
                                                    <1>$OrigFamily</1>
188
                                                    <2>$OrigGenus</2>
189
                                                    <3>$OrigSpecies</3>
190
                                                </_join_words>
191
                                            </identifyingtaxonomicname>
192
                                        </taxonconcept>
193
                                    </canon_taxonconcept_id>
194
                                    <family>$OrigFamily</family>
195
                                    <genus>$OrigGenus</genus>
196
                                    <species>$OrigSpecies</species>
197
                                </taxonconcept>
198
                            </taxonconcept_id>
199
                        </taxondetermination>
200
                        <verbatimcollectorname>
201
                            <_join_words>
202
                                <1>$coll_firstname</1>
203
                                <2>$coll_lastname</2>
204
                            </_join_words>
205
                        </verbatimcollectorname>
206
                        <voucher>
207
                            <specimenreplicate_id>
208
                                <specimenreplicate>
209
                                    <catalognumber_dwc>
210
                                        <_if name="if indirect voucher">
211
                                            <cond>
212
                                                <_eq>
213
                                                    <right>indirect</right>
214
                                                    <left>$DetType</left>
215
                                                </_eq>
216
                                            </cond>
217
                                            <then>
218
                                                <_alt>
219
                                                    <1>$coll_number</1>
220
                                                    <2>$SourceVoucher</2>
221
                                                </_alt>
222
                                            </then>
223
                                        </_if>
224
                                    </catalognumber_dwc>
225
                                </specimenreplicate>
226
                            </specimenreplicate_id>
227
                        </voucher>
228
                    </taxonoccurrence>
229
                </locationevent>
230
            </location>
231
        </path>
232
    </_simplifyPath>
233
</VegBIEN>
234
Inserted 39 new rows into database
(6-6/7)