Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6 4324 aaronmk
            <location>
7 4621 aaronmk
                <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 4789 aaronmk
                            <cover_fraction><_percent_to_fraction><value>$cover_percent</value></_percent_to_fraction></cover_fraction>
21 3829 aaronmk
                            <definedvalue fkey="tablerecord_id">
22
                                <userdefined_id>
23
                                    <userdefined>
24 4621 aaronmk
                                        <tablename>aggregateoccurrence</tablename>
25
                                        <userdefinedname>censusNo</userdefinedname>
26 3829 aaronmk
                                    </userdefined>
27
                                </userdefined_id>
28 4621 aaronmk
                                <definedvalue>$census_no</definedvalue>
29 3829 aaronmk
                            </definedvalue>
30 4785 aaronmk
                            <linecover_m><_cm_to_m><value>$intercept_cm</value></_cm_to_m></linecover_m>
31 4621 aaronmk
                            <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 4869 aaronmk
                                    <diameterbreastheight_m><_cm_to_m><value>$temp_dbh</value></_cm_to_m></diameterbreastheight_m>
82 4753 aaronmk
                                    <height_m>$height_m</height_m>
83
                                    <heightfirstbranch_m>$ht_first_branch_m</heightfirstbranch_m>
84 4828 aaronmk
                                    <tag>
85
                                        <_alt>
86
                                            <1>$tag2</1>
87
                                            <2>$tag1</2>
88
                                        </_alt>
89
                                    </tag>
90 4753 aaronmk
                                    <xposition_m>$x_position</xposition_m>
91
                                    <yposition_m>$y_position</yposition_m>
92 4621 aaronmk
                                </stemobservation>
93
                            </plantobservation>
94
                        </aggregateoccurrence>
95 4833 aaronmk
                        <authortaxoncode>$Ind</authortaxoncode>
96 4621 aaronmk
                        <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 4718 aaronmk
                            <taxonpath_id>
120
                                <taxonpath>
121 4944 aaronmk
                                    <author>$auth</author>
122 4703 aaronmk
                                    <family>$Family</family>
123
                                    <genus>$Genus</genus>
124
                                    <species>$Species</species>
125
                                    <subspecies>
126 5014 aaronmk
                                        <_join_words>
127 5109 aaronmk
                                            <1>
128
                                                <_if name="if has infraspecificEpithet">
129
                                                    <cond>$infra_ep_1</cond>
130
                                                    <then>$infra_rank_1</then>
131
                                                </_if>
132
                                            </1>
133 5014 aaronmk
                                            <2>$infra_ep_1</2>
134
                                        </_join_words>
135 4703 aaronmk
                                    </subspecies>
136 5012 aaronmk
                                    <taxonomicnamewithauthor>
137
                                        <_join_words>
138
                                            <1>
139
                                                <_join_words>
140
                                                    <1>$Family</1>
141
                                                    <2>$Genus</2>
142
                                                    <3>$Species</3>
143
                                                    <5>
144
                                                        <_join_words>
145 5109 aaronmk
                                                            <1>
146
                                                                <_if name="if has infraspecificEpithet">
147
                                                                    <cond>$infra_ep_1</cond>
148
                                                                    <then>$infra_rank_1</then>
149
                                                                </_if>
150
                                                            </1>
151 5012 aaronmk
                                                            <2>$infra_ep_1</2>
152
                                                        </_join_words>
153
                                                    </5>
154
                                                </_join_words>
155
                                            </1>
156
                                            <2>$auth</2>
157
                                        </_join_words>
158
                                    </taxonomicnamewithauthor>
159 4718 aaronmk
                                </taxonpath>
160
                            </taxonpath_id>
161 4621 aaronmk
                            <taxonfit>$cfaff</taxonfit>
162
                        </taxondetermination>
163
                        <taxondetermination>
164
                            <isoriginal>true</isoriginal>
165 4718 aaronmk
                            <taxonpath_id>
166
                                <taxonpath>
167 4703 aaronmk
                                    <family>$OrigFamily</family>
168
                                    <genus>$OrigGenus</genus>
169
                                    <species>$OrigSpecies</species>
170 5044 aaronmk
                                    <taxonomicnamewithauthor>
171
                                        <_join_words>
172
                                            <1>$OrigFamily</1>
173
                                            <2>$OrigGenus</2>
174
                                            <3>$OrigSpecies</3>
175
                                        </_join_words>
176
                                    </taxonomicnamewithauthor>
177 4718 aaronmk
                                </taxonpath>
178
                            </taxonpath_id>
179 4621 aaronmk
                        </taxondetermination>
180
                        <verbatimcollectorname>
181 5014 aaronmk
                            <_join_words>
182
                                <1>$coll_firstname</1>
183
                                <2>$coll_lastname</2>
184
                            </_join_words>
185 4621 aaronmk
                        </verbatimcollectorname>
186
                        <voucher>
187
                            <specimenreplicate_id>
188
                                <specimenreplicate>
189
                                    <catalognumber_dwc>
190
                                        <_if name="if indirect voucher">
191
                                            <cond>
192
                                                <_eq>
193
                                                    <right>indirect</right>
194
                                                    <left>$DetType</left>
195
                                                </_eq>
196
                                            </cond>
197
                                            <then>
198
                                                <_alt>
199
                                                    <1>$coll_number</1>
200
                                                    <2>$SourceVoucher</2>
201
                                                </_alt>
202
                                            </then>
203
                                        </_if>
204
                                    </catalognumber_dwc>
205
                                </specimenreplicate>
206
                            </specimenreplicate_id>
207
                        </voucher>
208
                    </taxonoccurrence>
209
                </locationevent>
210
            </location>
211
        </path>
212
    </_simplifyPath>
213 3641 aaronmk
</VegBIEN>
214 4703 aaronmk
Inserted 34 new rows into database