Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4
        <source_id><source><shortname>bien2_traits</shortname></source></source_id>
5
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <authorlocationcode>$occurrenceID</authorlocationcode>
11
                        <elevation_m>
12
                            <_units>
13
                                <to>m</to>
14
                                <to></to>
15
                                <value>$verbatimElevation</value>
16
                            </_units>
17
                        </elevation_m>
18
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$verbatimLocality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
19
                        <locationevent>
20
                            <method_id><method><name>$samplingProtocol</name></method></method_id>
21
                            <taxonoccurrence>
22
                                <aggregateoccurrence><plantobservation><specimenreplicate><sourceaccessioncode>$occurrenceID</sourceaccessioncode></specimenreplicate></plantobservation></aggregateoccurrence>
23
                                <growthform>$growthForm</growthform>
24
                                <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
25
                                <taxondetermination>
26
                                    <taxonverbatim_id>
27
                                        <taxonverbatim>
28
                                            <taxonlabel_id>
29
                                                <taxonlabel>
30
                                                    <parent_id>
31
                                                        <taxonlabel>
32
                                                            <rank>$taxonRank</rank>
33
                                                            <parent_id>
34
                                                                <taxonlabel>
35
                                                                    <rank>cultivar</rank>
36
                                                                    <parent_id>
37
                                                                        <taxonlabel>
38
                                                                            <rank>forma</rank>
39
                                                                            <parent_id>
40
                                                                                <taxonlabel>
41
                                                                                    <rank>variety</rank>
42
                                                                                    <parent_id>
43
                                                                                        <taxonlabel>
44
                                                                                            <rank>subspecies</rank>
45
                                                                                            <parent_id>
46
                                                                                                <taxonlabel>
47
                                                                                                    <rank>species</rank>
48
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
49
                                                                                                    <parent_id>
50
                                                                                                        <taxonlabel>
51
                                                                                                            <rank>genus</rank>
52
                                                                                                            <taxonepithet>$genus</taxonepithet>
53
                                                                                                            <parent_id>
54
                                                                                                                <taxonlabel>
55
                                                                                                                    <rank>family</rank>
56
                                                                                                                    <taxonepithet>$family</taxonepithet>
57
                                                                                                                </taxonlabel>
58
                                                                                                            </parent_id>
59
                                                                                                        </taxonlabel>
60
                                                                                                    </parent_id>
61
                                                                                                </taxonlabel>
62
                                                                                            </parent_id>
63
                                                                                        </taxonlabel>
64
                                                                                    </parent_id>
65
                                                                                </taxonlabel>
66
                                                                            </parent_id>
67
                                                                        </taxonlabel>
68
                                                                    </parent_id>
69
                                                                </taxonlabel>
70
                                                            </parent_id>
71
                                                            <taxonepithet>$infraspecificEpithet</taxonepithet>
72
                                                        </taxonlabel>
73
                                                    </parent_id>
74
                                                    <rank>$taxonRank</rank>
75
                                                    <taxonomicname>
76
                                                        <_merge_prefix>
77
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
78
                                                            <value>
79
                                                                <_join_words>
80
                                                                    <1>
81
                                                                        <_alt>
82
                                                                            <1>$taxonName</1>
83
                                                                            <2>
84
                                                                                <_join_words>
85
                                                                                    <2><_filter_genus><value>$genus</value></_filter_genus></2>
86
                                                                                    <3>$specificEpithet</3>
87
                                                                                    <5>
88
                                                                                        <_join_words>
89
                                                                                            <1>
90
                                                                                                <_if name="if has infraspecificEpithet">
91
                                                                                                    <cond>$infraspecificEpithet</cond>
92
                                                                                                    <then>$taxonRank</then>
93
                                                                                                </_if>
94
                                                                                            </1>
95
                                                                                            <2>$infraspecificEpithet</2>
96
                                                                                        </_join_words>
97
                                                                                    </5>
98
                                                                                </_join_words>
99
                                                                            </2>
100
                                                                        </_alt>
101
                                                                    </1>
102
                                                                    <2>$scientificNameAuthorship</2>
103
                                                                </_join_words>
104
                                                            </value>
105
                                                        </_merge_prefix>
106
                                                    </taxonomicname>
107
                                                </taxonlabel>
108
                                            </taxonlabel_id>
109
                                            <author>$scientificNameAuthorship</author>
110
                                            <family>$family</family>
111
                                            <genus>$genus</genus>
112
                                            <specific_epithet>$specificEpithet</specific_epithet>
113
                                            <taxonname>$taxonName</taxonname>
114
                                            <verbatimrank>$taxonRank</verbatimrank>
115
                                        </taxonverbatim>
116
                                    </taxonverbatim_id>
117
                                </taxondetermination>
118
                                <trait>
119
                                    <name>$measurementName</name>
120
                                    <units>$measurementUnit</units>
121
                                    <value>$measurementValue</value>
122
                                </trait>
123
                            </taxonoccurrence>
124
                        </locationevent>
125
                        <locationnarrative>$verbatimLocality</locationnarrative>
126
                        <locationplace>
127
                            <place_id>
128
                                <place>
129
                                    <coordinates_id>
130
                                        <coordinates>
131
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
132
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
133
                                        </coordinates>
134
                                    </coordinates_id>
135
                                    <country>$country</country>
136
                                    <matched_place_id>
137
                                        <place>
138
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
139
                                            <country>$country</country>
140
                                            <stateprovince>$stateProvince</stateprovince>
141
                                        </place>
142
                                    </matched_place_id>
143
                                    <stateprovince>$stateProvince</stateprovince>
144
                                </place>
145
                            </place_id>
146
                        </locationplace>
147
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
148
                    </location>
149
                </path>
150
            </_simplifyPath>
151
        </path>
152
    </_setDefault>
153
</VegBIEN>
154
Inserted 31 new rows into database
(7-7/8)