Project

General

Profile

1 6742 aaronmk
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>CVS.new</shortname></source></source_id>
5 6742 aaronmk
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <locationevent>
11
                            <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
12 11107 aaronmk
                            <locationevent fkey="parent_id">
13
                                <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
14
                                <taxonoccurrence>
15
                                    <aggregateoccurrence>
16
                                        <collectiondate>$collectionDate</collectiondate>
17
                                        <notes>$notes</notes>
18
                                        <plantobservation>
19
                                            <authorplantcode>$collectionNumber</authorplantcode>
20
                                            <specimenreplicate>
21
                                                <catalognumber_dwc>$museumAccessionNumber</catalognumber_dwc>
22
                                                <collectionnumber>$collectionNumber</collectionnumber>
23
                                            </specimenreplicate>
24
                                            <stemobservation><sourceaccessioncode>$stemLocation_ID</sourceaccessioncode></stemobservation>
25
                                        </plantobservation>
26
                                    </aggregateoccurrence>
27
                                    <authortaxoncode>$collectionNumber</authortaxoncode>
28
                                    <sourceaccessioncode>$TAXONOBSERVATION_ID</sourceaccessioncode>
29
                                    <taxondetermination>
30
                                        <taxonverbatim_id>
31
                                            <taxonverbatim>
32
                                                <taxonlabel_id>
33
                                                    <taxonlabel>
34
                                                        <parent_id>
35
                                                            <taxonlabel>
36
                                                                <rank>$taxonLevel</rank>
37
                                                                <parent_id>
38
                                                                    <taxonlabel>
39
                                                                        <rank>cultivar</rank>
40
                                                                        <parent_id>
41
                                                                            <taxonlabel>
42
                                                                                <rank>forma</rank>
43
                                                                                <parent_id>
44
                                                                                    <taxonlabel>
45
                                                                                        <rank>variety</rank>
46
                                                                                        <parent_id>
47
                                                                                            <taxonlabel>
48
                                                                                                <rank>subspecies</rank>
49
                                                                                                <parent_id>
50
                                                                                                    <taxonlabel>
51
                                                                                                        <rank>species</rank>
52 11270 aaronmk
                                                                                                        <taxonepithet>$denorm_species</taxonepithet>
53 11107 aaronmk
                                                                                                        <parent_id>
54
                                                                                                            <taxonlabel>
55
                                                                                                                <rank>genus</rank>
56
                                                                                                                <taxonepithet>
57
                                                                                                                    <_alt>
58
                                                                                                                        <1>$denorm_genus</1>
59
                                                                                                                        <2>$genus</2>
60
                                                                                                                    </_alt>
61
                                                                                                                </taxonepithet>
62
                                                                                                                <parent_id>
63
                                                                                                                    <taxonlabel>
64
                                                                                                                        <rank>family</rank>
65 11271 aaronmk
                                                                                                                        <taxonepithet>$denorm_family</taxonepithet>
66 11107 aaronmk
                                                                                                                        <parent_id>
67
                                                                                                                            <taxonlabel>
68
                                                                                                                                <rank>order</rank>
69
                                                                                                                                <taxonepithet>$Order</taxonepithet>
70
                                                                                                                                <parent_id>
71
                                                                                                                                    <taxonlabel>
72
                                                                                                                                        <rank>class</rank>
73
                                                                                                                                        <taxonepithet>$Class</taxonepithet>
74
                                                                                                                                        <parent_id>
75
                                                                                                                                            <taxonlabel>
76
                                                                                                                                                <rank>phylum</rank>
77
                                                                                                                                                <parent_id>
78
                                                                                                                                                    <taxonlabel>
79
                                                                                                                                                        <rank>kingdom</rank>
80 11271 aaronmk
                                                                                                                                                        <taxonepithet>$denorm_kingdom</taxonepithet>
81 11107 aaronmk
                                                                                                                                                    </taxonlabel>
82
                                                                                                                                                </parent_id>
83
                                                                                                                                            </taxonlabel>
84
                                                                                                                                        </parent_id>
85
                                                                                                                                    </taxonlabel>
86
                                                                                                                                </parent_id>
87
                                                                                                                            </taxonlabel>
88
                                                                                                                        </parent_id>
89
                                                                                                                    </taxonlabel>
90
                                                                                                                </parent_id>
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 11274 aaronmk
                                                                <taxonepithet>$denorm_triName</taxonepithet>
104 11107 aaronmk
                                                            </taxonlabel>
105
                                                        </parent_id>
106
                                                        <rank>$taxonLevel</rank>
107
                                                        <taxonomicname>
108
                                                            <_merge_prefix>
109 11271 aaronmk
                                                                <prefix><_taxon_family_require_std><family>$denorm_family</family></_taxon_family_require_std></prefix>
110 11107 aaronmk
                                                                <value>
111
                                                                    <_alt>
112
                                                                        <1>$plantNameWithAuthority</1>
113
                                                                        <2>
114
                                                                            <_alt>
115
                                                                                <1>$plantname</1>
116
                                                                                <2>
117
                                                                                    <_join_words>
118
                                                                                        <2>
119
                                                                                            <_filter_genus>
120
                                                                                                <value>
121
                                                                                                    <_alt>
122
                                                                                                        <1>$denorm_genus</1>
123
                                                                                                        <2>$genus</2>
124
                                                                                                    </_alt>
125
                                                                                                </value>
126
                                                                                            </_filter_genus>
127
                                                                                        </2>
128 11270 aaronmk
                                                                                        <3>$denorm_species</3>
129 11274 aaronmk
                                                                                        <5>
130 11107 aaronmk
                                                                                            <_join_words>
131 11274 aaronmk
                                                                                                <1>
132
                                                                                                    <_if name="if has infraspecificEpithet">
133
                                                                                                        <cond>$denorm_triName</cond>
134
                                                                                                        <then>$taxonLevel</then>
135
                                                                                                    </_if>
136
                                                                                                </1>
137
                                                                                                <2>$denorm_triName</2>
138 11107 aaronmk
                                                                                            </_join_words>
139 11274 aaronmk
                                                                                        </5>
140 11107 aaronmk
                                                                                    </_join_words>
141
                                                                                </2>
142
                                                                            </_alt>
143
                                                                        </2>
144
                                                                    </_alt>
145
                                                                </value>
146
                                                            </_merge_prefix>
147
                                                        </taxonomicname>
148
                                                    </taxonlabel>
149
                                                </taxonlabel_id>
150 11271 aaronmk
                                                <family>$denorm_family</family>
151 11107 aaronmk
                                                <genus>
152
                                                    <_alt>
153
                                                        <1>$denorm_genus</1>
154
                                                        <2>$genus</2>
155
                                                    </_alt>
156
                                                </genus>
157 11270 aaronmk
                                                <specific_epithet>$denorm_species</specific_epithet>
158 11107 aaronmk
                                                <taxonname>$plantname</taxonname>
159
                                                <taxonomicname>$plantNameWithAuthority</taxonomicname>
160
                                                <verbatimrank>$taxonLevel</verbatimrank>
161
                                            </taxonverbatim>
162
                                        </taxonverbatim_id>
163
                                        <determinationdate><_dateRangeStart><value>$interpretationDate</value></_dateRangeStart></determinationdate>
164
                                        <determinationtype>$interpretationType</determinationtype>
165
                                        <taxonfit>$taxonFit</taxonfit>
166
                                    </taxondetermination>
167
                                    <taxondetermination>
168
                                        <isoriginal>true</isoriginal>
169
                                        <taxonverbatim_id><taxonverbatim><taxonname>$authorPlantName</taxonname></taxonverbatim></taxonverbatim_id>
170
                                    </taxondetermination>
171
                                </taxonoccurrence>
172
                            </locationevent>
173 6742 aaronmk
                        </locationevent>
174
                    </location>
175
                </path>
176
            </_simplifyPath>
177
        </path>
178
    </_setDefault>
179
</VegBIEN>
180 7341 aaronmk
Inserted 21 new rows into database