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>$plot_code</authorlocationcode>
10
                        <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
11
                    </location>
12
                </parent_id>
13
                <authorlocationcode>$subplot</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>$no_of_individuals</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
                            <plantobservation>
32
                                <collectionnumber>$individual_code</collectionnumber>
33
                                <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
34
                                <specimenreplicate>
35
                                    <catalognumber_dwc>
36
                                        <_if name="if indirect voucher">
37
                                            <cond>
38
                                                <_eq>
39
                                                    <right>indirect</right>
40
                                                    <left>$det_type</left>
41
                                                </_eq>
42
                                            </cond>
43
                                            <else>
44
                                                <_alt>
45
                                                    <1>$coll_number</1>
46
                                                    <2>$voucher_string</2>
47
                                                </_alt>
48
                                            </else>
49
                                        </_if>
50
                                    </catalognumber_dwc>
51
                                </specimenreplicate>
52
                                <stemobservation>
53
                                    <basaldiameter_m>$basal_diam</basaldiameter_m>
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>$stem_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>$stem_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>$stem_liana_infestation</definedvalue>
80
                                    </definedvalue>
81
                                    <definedvalue fkey="tablerecord_id">
82
                                        <userdefined_id>
83
                                            <userdefined>
84
                                                <tablename>stemobservation</tablename>
85
                                                <userdefinedname>notes</userdefinedname>
86
                                            </userdefined>
87
                                        </userdefined_id>
88
                                        <definedvalue>$notes</definedvalue>
89
                                    </definedvalue>
90
                                    <diameterbreastheight_m>$stem_dbh</diameterbreastheight_m>
91
                                    <height_m>
92
                                        <_alt>
93
                                            <1>$stem_height_m</1>
94
                                            <2>$height_m</2>
95
                                        </_alt>
96
                                    </height_m>
97
                                    <heightfirstbranch_m>
98
                                        <_alt>
99
                                            <0>$ht_first_branch_m</0>
100
                                            <1>$stem_height_first_branch_m</1>
101
                                        </_alt>
102
                                    </heightfirstbranch_m>
103
                                    <stemtag>
104
                                        <iscurrent>true</iscurrent>
105
                                        <tag>
106
                                            <_alt>
107
                                                <1>
108
                                                    <_alt>
109
                                                        <1>$stem_tag2</1>
110
                                                        <2>$stem_tag1</2>
111
                                                    </_alt>
112
                                                </1>
113
                                                <2>
114
                                                    <_alt>
115
                                                        <1>$tag2</1>
116
                                                        <2>$tag1</2>
117
                                                    </_alt>
118
                                                </2>
119
                                            </_alt>
120
                                        </tag>
121
                                    </stemtag>
122
                                    <xposition_m>$x_position</xposition_m>
123
                                    <yposition_m>$y_position</yposition_m>
124
                                </stemobservation>
125
                            </plantobservation>
126
                        </aggregateoccurrence>
127
                        <authortaxoncode>$individual_code</authortaxoncode>
128
                        <growthform>
129
                            <_map>
130
                                <T>tree</T>
131
                                <Arbol>tree</Arbol>
132
                                <palm>tree</palm>
133
                                <H>hemiepiphyte</H>
134
                                <Hemiepífito>hemiepiphyte</Hemiepífito>
135
                                <L>liana</L>
136
                                <l>liana</l>
137
                                <L?>liana</L?>
138
                                <Liana>liana</Liana>
139
                                <E>epiphyte</E>
140
                                <S>shrub</S>
141
                                <Hb>herb</Hb>
142
                                <vine-herbaceous>vine</vine-herbaceous>
143
                                <graminoid>grass</graminoid>
144
                                <rosette>forb</rosette>
145
                                <*>*</*>
146
                                <value>$habit</value>
147
                            </_map>
148
                        </growthform>
149
                        <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
150
                        <taxondetermination>
151
                            <taxonpath_id>
152
                                <taxonpath>
153
                                    <family>$family</family>
154
                                    <genus>$genus</genus>
155
                                    <scientificnameauthor>$specific_authority</scientificnameauthor>
156
                                    <species>$specific_epithet</species>
157
                                    <subspecies>
158
                                        <_name>
159
                                            <first>$infra_rank_1</first>
160
                                            <last>$infra_ep_1</last>
161
                                        </_name>
162
                                    </subspecies>
163
                                </taxonpath>
164
                            </taxonpath_id>
165
                            <taxonfit>$cf_aff</taxonfit>
166
                        </taxondetermination>
167
                        <taxondetermination>
168
                            <isoriginal>true</isoriginal>
169
                            <taxonpath_id>
170
                                <taxonpath>
171
                                    <family>$orig_family</family>
172
                                    <species>$orig_species</species>
173
                                </taxonpath>
174
                            </taxonpath_id>
175
                        </taxondetermination>
176
                        <verbatimcollectorname>
177
                            <_name>
178
                                <first>$coll_firstname</first>
179
                                <last>$coll_lastname</last>
180
                            </_name>
181
                        </verbatimcollectorname>
182
                        <voucher>
183
                            <specimenreplicate_id>
184
                                <specimenreplicate>
185
                                    <catalognumber_dwc>
186
                                        <_if name="if indirect voucher">
187
                                            <cond>
188
                                                <_eq>
189
                                                    <right>indirect</right>
190
                                                    <left>$det_type</left>
191
                                                </_eq>
192
                                            </cond>
193
                                            <then>
194
                                                <_alt>
195
                                                    <1>$coll_number</1>
196
                                                    <2>$voucher_string</2>
197
                                                </_alt>
198
                                            </then>
199
                                        </_if>
200
                                    </catalognumber_dwc>
201
                                </specimenreplicate>
202
                            </specimenreplicate_id>
203
                        </voucher>
204
                    </taxonoccurrence>
205
                </locationevent>
206
            </location>
207
        </path>
208
    </_simplifyPath>
209
</VegBIEN>
210
Inserted 41 new rows into database
(5-5/6)