Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <parent_id><location><authorlocationcode>$1ha Plot Number</authorlocationcode></location></parent_id>
8
                <authorlocationcode>$Subplot Number</authorlocationcode>
9
                <locationevent>
10
                    <method_id><method><name>$Method</name></method></method_id>
11
                    <project_id><project><projectname>$Site Name</projectname></project></project_id>
12
                    <parent_id>
13
                        <locationevent>
14
                            <location_id>
15
                                <location>
16
                                    <authorlocationcode>
17
                                        <_if name="if subplot">
18
                                            <cond>$Subplot Number</cond>
19
                                            <then>$1ha Plot Number</then>
20
                                        </_if>
21
                                    </authorlocationcode>
22
                                </location>
23
                            </location_id>
24
                            <obsenddate><_date><date><_dateRangeEnd><value>$Observation Date</value></_dateRangeEnd></date></_date></obsenddate>
25
                            <obsstartdate><_date><date><_dateRangeStart><value>$Observation Date</value></_dateRangeStart></date></_date></obsstartdate>
26
                        </locationevent>
27
                    </parent_id>
28
                    <obsenddate><_date><date><_dateRangeEnd><value>$Observation Date</value></_dateRangeEnd></date></_date></obsenddate>
29
                    <obsstartdate><_date><date><_dateRangeStart><value>$Observation Date</value></_dateRangeStart></date></_date></obsstartdate>
30
                    <taxonoccurrence>
31
                        <aggregateoccurrence>
32
                            <plantobservation>
33
                                <specimenreplicate><sourceaccessioncode>$Id</sourceaccessioncode></specimenreplicate>
34
                                <stemobservation>
35
                                    <diameterbreastheight_m><_cm_to_m><value>$Diameter at 1.3m</value></_cm_to_m></diameterbreastheight_m>
36
                                    <tag>$Tree Number</tag>
37
                                    <xposition_m>$1ha Plot X Coordinate</xposition_m>
38
                                    <yposition_m>$1ha Plot Y Coordinate</yposition_m>
39
                                </stemobservation>
40
                            </plantobservation>
41
                        </aggregateoccurrence>
42
                        <authortaxoncode>$Tree Number</authortaxoncode>
43
                        <sourceaccessioncode>$Id</sourceaccessioncode>
44
                        <taxondetermination>
45
                            <taxonverbatim_id>
46
                                <taxonverbatim>
47
                                    <taxonlabel_id>
48
                                        <taxonlabel>
49
                                            <matched_label_id>
50
                                                <taxonlabel>
51
                                                    <reference_id><reference><shortname>TNRS</shortname></reference></reference_id>
52
                                                    <taxonomicname>
53
                                                        <_join_words>
54
                                                            <1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1>
55
                                                            <2>
56
                                                                <_join_words>
57
                                                                    <2>$Genus</2>
58
                                                                    <3>$Species</3>
59
                                                                </_join_words>
60
                                                            </2>
61
                                                        </_join_words>
62
                                                    </taxonomicname>
63
                                                </taxonlabel>
64
                                            </matched_label_id>
65
                                            <parent_id>
66
                                                <taxonlabel>
67
                                                    <parent_id>
68
                                                        <taxonlabel>
69
                                                            <rank>cultivar</rank>
70
                                                            <parent_id>
71
                                                                <taxonlabel>
72
                                                                    <rank>forma</rank>
73
                                                                    <parent_id>
74
                                                                        <taxonlabel>
75
                                                                            <rank>variety</rank>
76
                                                                            <parent_id>
77
                                                                                <taxonlabel>
78
                                                                                    <rank>subspecies</rank>
79
                                                                                    <parent_id>
80
                                                                                        <taxonlabel>
81
                                                                                            <rank>species</rank>
82
                                                                                            <taxonepithet>$Species</taxonepithet>
83
                                                                                            <parent_id>
84
                                                                                                <taxonlabel>
85
                                                                                                    <rank>genus</rank>
86
                                                                                                    <taxonepithet>$Genus</taxonepithet>
87
                                                                                                    <parent_id>
88
                                                                                                        <taxonlabel>
89
                                                                                                            <rank>family</rank>
90
                                                                                                            <taxonepithet>$Family</taxonepithet>
91
                                                                                                        </taxonlabel>
92
                                                                                                    </parent_id>
93
                                                                                                </taxonlabel>
94
                                                                                            </parent_id>
95
                                                                                        </taxonlabel>
96
                                                                                    </parent_id>
97
                                                                                </taxonlabel>
98
                                                                            </parent_id>
99
                                                                        </taxonlabel>
100
                                                                    </parent_id>
101
                                                                </taxonlabel>
102
                                                            </parent_id>
103
                                                        </taxonlabel>
104
                                                    </parent_id>
105
                                                </taxonlabel>
106
                                            </parent_id>
107
                                            <taxonomicname>
108
                                                <_join_words>
109
                                                    <1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1>
110
                                                    <2>
111
                                                        <_join_words>
112
                                                            <2>$Genus</2>
113
                                                            <3>$Species</3>
114
                                                        </_join_words>
115
                                                    </2>
116
                                                </_join_words>
117
                                            </taxonomicname>
118
                                        </taxonlabel>
119
                                    </taxonlabel_id>
120
                                    <family>$Family</family>
121
                                    <genus>$Genus</genus>
122
                                    <specific_epithet>$Species</specific_epithet>
123
                                </taxonverbatim>
124
                            </taxonverbatim_id>
125
                        </taxondetermination>
126
                        <verbatimcollectorname>$Names of Collectors</verbatimcollectorname>
127
                    </taxonoccurrence>
128
                </locationevent>
129
                <locationplace>
130
                    <place_id>
131
                        <place>
132
                            <coordinates_id>
133
                                <coordinates>
134
                                    <latitude_deg>
135
                                        <_nullIf>
136
                                            <null>0</null>
137
                                            <type>float</type>
138
                                            <value>$Latitude</value>
139
                                        </_nullIf>
140
                                    </latitude_deg>
141
                                    <longitude_deg>
142
                                        <_nullIf>
143
                                            <null>0</null>
144
                                            <type>float</type>
145
                                            <value>$Longitude</value>
146
                                        </_nullIf>
147
                                    </longitude_deg>
148
                                </coordinates>
149
                            </coordinates_id>
150
                            <matched_place_id>
151
                                <place>
152
                                    <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
153
                                    <coordinates_id>
154
                                        <coordinates>
155
                                            <reference_id><reference><shortname>geoscrub</shortname></reference></reference_id>
156
                                            <latitude_deg>
157
                                                <_nullIf>
158
                                                    <null>0</null>
159
                                                    <type>float</type>
160
                                                    <value>$Latitude</value>
161
                                                </_nullIf>
162
                                            </latitude_deg>
163
                                            <longitude_deg>
164
                                                <_nullIf>
165
                                                    <null>0</null>
166
                                                    <type>float</type>
167
                                                    <value>$Longitude</value>
168
                                                </_nullIf>
169
                                            </longitude_deg>
170
                                        </coordinates>
171
                                    </coordinates_id>
172
                                </place>
173
                            </matched_place_id>
174
                        </place>
175
                    </place_id>
176
                </locationplace>
177
                <sourceaccessioncode>
178
                    <_join>
179
                        <1>$1ha Plot Number</1>
180
                        <2>$Subplot Number</2>
181
                    </_join>
182
                </sourceaccessioncode>
183
            </location>
184
        </path>
185
    </_simplifyPath>
186
</VegBIEN>
187
Inserted 34 new rows into database
(5-5/6)