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
                            <taxonoccurrence>
21
                                <aggregateoccurrence><plantobservation><specimenreplicate><sourceaccessioncode>$TraitObservationID</sourceaccessioncode></specimenreplicate></plantobservation></aggregateoccurrence>
22
                                <growthform>$Habit</growthform>
23
                                <sourceaccessioncode>$TraitObservationID</sourceaccessioncode>
24
                                <taxondetermination>
25
                                    <taxonverbatim_id>
26
                                        <taxonverbatim>
27
                                            <taxonlabel_id>
28
                                                <taxonlabel>
29
                                                    <parent_id>
30
                                                        <taxonlabel>
31
                                                            <rank>$InfraspecificRank</rank>
32
                                                            <parent_id>
33
                                                                <taxonlabel>
34
                                                                    <rank>cultivar</rank>
35
                                                                    <parent_id>
36
                                                                        <taxonlabel>
37
                                                                            <rank>forma</rank>
38
                                                                            <parent_id>
39
                                                                                <taxonlabel>
40
                                                                                    <rank>variety</rank>
41
                                                                                    <parent_id>
42
                                                                                        <taxonlabel>
43
                                                                                            <rank>subspecies</rank>
44
                                                                                            <parent_id>
45
                                                                                                <taxonlabel>
46
                                                                                                    <rank>species</rank>
47
                                                                                                    <taxonepithet>$SpecificEpithet</taxonepithet>
48
                                                                                                    <parent_id>
49
                                                                                                        <taxonlabel>
50
                                                                                                            <rank>genus</rank>
51
                                                                                                            <taxonepithet>$Genus</taxonepithet>
52
                                                                                                            <parent_id>
53
                                                                                                                <taxonlabel>
54
                                                                                                                    <rank>family</rank>
55
                                                                                                                    <taxonepithet>$Family</taxonepithet>
56
                                                                                                                </taxonlabel>
57
                                                                                                            </parent_id>
58
                                                                                                        </taxonlabel>
59
                                                                                                    </parent_id>
60
                                                                                                </taxonlabel>
61
                                                                                            </parent_id>
62
                                                                                        </taxonlabel>
63
                                                                                    </parent_id>
64
                                                                                </taxonlabel>
65
                                                                            </parent_id>
66
                                                                        </taxonlabel>
67
                                                                    </parent_id>
68
                                                                </taxonlabel>
69
                                                            </parent_id>
70
                                                            <taxonepithet>$InfraspecificEpithet</taxonepithet>
71
                                                        </taxonlabel>
72
                                                    </parent_id>
73
                                                    <rank>$InfraspecificRank</rank>
74
                                                    <taxonomicname>
75 7142 aaronmk
                                                        <_merge_prefix>
76
                                                            <prefix><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></prefix>
77
                                                            <value>
78 6881 aaronmk
                                                                <_join_words>
79
                                                                    <1>
80
                                                                        <_alt>
81
                                                                            <1>$Taxon</1>
82
                                                                            <2>
83
                                                                                <_join_words>
84
                                                                                    <2>$Genus</2>
85
                                                                                    <3>$SpecificEpithet</3>
86
                                                                                    <5>
87
                                                                                        <_join_words>
88
                                                                                            <1>
89
                                                                                                <_if name="if has infraspecificEpithet">
90
                                                                                                    <cond>$InfraspecificEpithet</cond>
91
                                                                                                    <then>$InfraspecificRank</then>
92
                                                                                                </_if>
93
                                                                                            </1>
94
                                                                                            <2>$InfraspecificEpithet</2>
95
                                                                                        </_join_words>
96
                                                                                    </5>
97
                                                                                </_join_words>
98
                                                                            </2>
99
                                                                        </_alt>
100
                                                                    </1>
101
                                                                    <2>$AuthorOfScientificName</2>
102
                                                                </_join_words>
103 7142 aaronmk
                                                            </value>
104
                                                        </_merge_prefix>
105 6881 aaronmk
                                                    </taxonomicname>
106
                                                </taxonlabel>
107
                                            </taxonlabel_id>
108
                                            <author>$AuthorOfScientificName</author>
109
                                            <family>$Family</family>
110
                                            <genus>$Genus</genus>
111
                                            <specific_epithet>$SpecificEpithet</specific_epithet>
112
                                            <taxonname>$Taxon</taxonname>
113
                                            <verbatimrank>$InfraspecificRank</verbatimrank>
114
                                        </taxonverbatim>
115
                                    </taxonverbatim_id>
116
                                </taxondetermination>
117 6882 aaronmk
                                <trait>
118
                                    <name>$TraitName</name>
119
                                    <units>$Unit</units>
120
                                    <value>$TraitValue</value>
121
                                </trait>
122 6881 aaronmk
                            </taxonoccurrence>
123
                        </locationevent>
124
                        <locationnarrative>$LocalityDescription</locationnarrative>
125
                        <locationplace>
126
                            <place_id>
127
                                <place>
128
                                    <coordinates_id>
129
                                        <coordinates>
130
                                            <verbatimlatitude>$VerbatimLatitude</verbatimlatitude>
131
                                            <verbatimlongitude>$VerbatimLongitude</verbatimlongitude>
132
                                        </coordinates>
133
                                    </coordinates_id>
134
                                    <country>$Country</country>
135
                                    <matched_place_id>
136
                                        <place>
137
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
138
                                            <country>$Country</country>
139
                                            <stateprovince>$StateProvince</stateprovince>
140
                                        </place>
141
                                    </matched_place_id>
142
                                    <stateprovince>$StateProvince</stateprovince>
143
                                </place>
144
                            </place_id>
145
                        </locationplace>
146
                        <verbatimelevation>$VerbatimElevation</verbatimelevation>
147
                    </location>
148
                </path>
149
            </_simplifyPath>
150
        </path>
151
    </_setDefault>
152
</VegBIEN>
153 7162 aaronmk
Inserted 30 new rows into database