Project

General

Profile

1 6881 aaronmk
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>$TraitObservationID</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>$LocalityDescription</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
19
                        <locationevent>
20 7469 aaronmk
                            <method_id><method><name>$Method</name></method></method_id>
21 6881 aaronmk
                            <taxonoccurrence>
22
                                <aggregateoccurrence><plantobservation><specimenreplicate><sourceaccessioncode>$TraitObservationID</sourceaccessioncode></specimenreplicate></plantobservation></aggregateoccurrence>
23
                                <growthform>$Habit</growthform>
24
                                <sourceaccessioncode>$TraitObservationID</sourceaccessioncode>
25
                                <taxondetermination>
26
                                    <taxonverbatim_id>
27
                                        <taxonverbatim>
28
                                            <taxonlabel_id>
29
                                                <taxonlabel>
30
                                                    <parent_id>
31
                                                        <taxonlabel>
32
                                                            <rank>$InfraspecificRank</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>$InfraspecificRank</rank>
75
                                                    <taxonomicname>
76 7142 aaronmk
                                                        <_merge_prefix>
77
                                                            <prefix><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></prefix>
78
                                                            <value>
79 6881 aaronmk
                                                                <_join_words>
80
                                                                    <1>
81
                                                                        <_alt>
82
                                                                            <1>$Taxon</1>
83
                                                                            <2>
84
                                                                                <_join_words>
85
                                                                                    <2>$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>$InfraspecificRank</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>$AuthorOfScientificName</2>
103
                                                                </_join_words>
104 7142 aaronmk
                                                            </value>
105
                                                        </_merge_prefix>
106 6881 aaronmk
                                                    </taxonomicname>
107
                                                </taxonlabel>
108
                                            </taxonlabel_id>
109
                                            <author>$AuthorOfScientificName</author>
110
                                            <family>$Family</family>
111
                                            <genus>$Genus</genus>
112
                                            <specific_epithet>$SpecificEpithet</specific_epithet>
113
                                            <taxonname>$Taxon</taxonname>
114
                                            <verbatimrank>$InfraspecificRank</verbatimrank>
115
                                        </taxonverbatim>
116
                                    </taxonverbatim_id>
117
                                </taxondetermination>
118 6882 aaronmk
                                <trait>
119
                                    <name>$TraitName</name>
120
                                    <units>$Unit</units>
121
                                    <value>$TraitValue</value>
122
                                </trait>
123 6881 aaronmk
                            </taxonoccurrence>
124
                        </locationevent>
125
                        <locationnarrative>$LocalityDescription</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 7469 aaronmk
Inserted 31 new rows into database