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>$temp_dbh</diameterbreastheight_m>
82
                                    <height_m>$height_m</height_m>
83
                                    <heightfirstbranch_m>$ht_first_branch_m</heightfirstbranch_m>
84
                                    <stemtag>
85
                                        <tag>
86
                                            <_alt>
87
                                                <1>$tag2</1>
88
                                                <2>$tag1</2>
89
                                            </_alt>
90
                                        </tag>
91
                                    </stemtag>
92
                                    <xposition_m>$x_position</xposition_m>
93
                                    <yposition_m>$y_position</yposition_m>
94
                                </stemobservation>
95
                            </plantobservation>
96
                        </aggregateoccurrence>
97
                        <authortaxoncode>$Ind</authortaxoncode>
98
                        <growthform>
99
                            <_map>
100
                                <T>tree</T>
101
                                <Arbol>tree</Arbol>
102
                                <palm>tree</palm>
103
                                <H>hemiepiphyte</H>
104
                                <Hemiepífito>hemiepiphyte</Hemiepífito>
105
                                <L>liana</L>
106
                                <l>liana</l>
107
                                <L?>liana</L?>
108
                                <Liana>liana</Liana>
109
                                <E>epiphyte</E>
110
                                <S>shrub</S>
111
                                <Hb>herb</Hb>
112
                                <vine-herbaceous>vine</vine-herbaceous>
113
                                <graminoid>grass</graminoid>
114
                                <rosette>forb</rosette>
115
                                <*>*</*>
116
                                <value>$Habit</value>
117
                            </_map>
118
                        </growthform>
119
                        <sourceaccessioncode>$PlotObsID</sourceaccessioncode>
120
                        <taxondetermination>
121
                            <taxonpath_id>
122
                                <taxonpath>
123
                                    <family>$Family</family>
124
                                    <genus>$Genus</genus>
125
                                    <scientificnameauthor>$auth</scientificnameauthor>
126
                                    <species>$Species</species>
127
                                    <subspecies>
128
                                        <_name>
129
                                            <first>$infra_rank_1</first>
130
                                            <last>$infra_ep_1</last>
131
                                        </_name>
132
                                    </subspecies>
133
                                </taxonpath>
134
                            </taxonpath_id>
135
                            <taxonfit>$cfaff</taxonfit>
136
                        </taxondetermination>
137
                        <taxondetermination>
138
                            <isoriginal>true</isoriginal>
139
                            <taxonpath_id>
140
                                <taxonpath>
141
                                    <family>$OrigFamily</family>
142
                                    <genus>$OrigGenus</genus>
143
                                    <species>$OrigSpecies</species>
144
                                </taxonpath>
145
                            </taxonpath_id>
146
                        </taxondetermination>
147
                        <verbatimcollectorname>
148
                            <_name>
149
                                <first>$coll_firstname</first>
150
                                <last>$coll_lastname</last>
151
                            </_name>
152
                        </verbatimcollectorname>
153
                        <voucher>
154
                            <specimenreplicate_id>
155
                                <specimenreplicate>
156
                                    <catalognumber_dwc>
157
                                        <_if name="if indirect voucher">
158
                                            <cond>
159
                                                <_eq>
160
                                                    <right>indirect</right>
161
                                                    <left>$DetType</left>
162
                                                </_eq>
163
                                            </cond>
164
                                            <then>
165
                                                <_alt>
166
                                                    <1>$coll_number</1>
167
                                                    <2>$SourceVoucher</2>
168
                                                </_alt>
169
                                            </then>
170
                                        </_if>
171
                                    </catalognumber_dwc>
172
                                </specimenreplicate>
173
                            </specimenreplicate_id>
174
                        </voucher>
175
                    </taxonoccurrence>
176
                </locationevent>
177
            </location>
178
        </path>
179
    </_simplifyPath>
180
</VegBIEN>
181
Inserted 34 new rows into database
(6-6/7)