Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 6403 aaronmk
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>UNCC.new</shortname></source></source_id>
5 4621 aaronmk
        <path>
6 6403 aaronmk
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10 7873 aaronmk
                        <authorlocationcode>
11
                            <_join>
12
                                <1>UNCC</1>
13 10619 aaronmk
                                <3>$accessionNumber</3>
14 7873 aaronmk
                            </_join>
15
                        </authorlocationcode>
16 6432 aaronmk
                        <iscultivated>
17
                            <_locationnarrative_is_cultivated>
18
                                <locationnarrative>
19
                                    <_join>
20
                                        <1>$locality</1>
21
                                        <3>$habitat</3>
22
                                    </_join>
23
                                </locationnarrative>
24
                            </_locationnarrative_is_cultivated>
25
                        </iscultivated>
26 6403 aaronmk
                        <locationevent>
27 11107 aaronmk
                            <locationevent fkey="parent_id">
28
                                <taxonoccurrence>
29
                                    <aggregateoccurrence>
30
                                        <collectiondate>
31
                                            <_date>
32
                                                <day>
33
                                                    <_nullIf>
34
                                                        <null>0</null>
35
                                                        <type>float</type>
36
                                                        <value>$dayCollected</value>
37
                                                    </_nullIf>
38
                                                </day>
39
                                                <month>
40
                                                    <_nullIf>
41
                                                        <null>0</null>
42
                                                        <type>float</type>
43
                                                        <value>$monthCollected</value>
44
                                                    </_nullIf>
45
                                                </month>
46
                                                <year>
47
                                                    <_nullIf>
48
                                                        <null>0</null>
49
                                                        <type>float</type>
50
                                                        <value>$yearCollected</value>
51
                                                    </_nullIf>
52
                                                </year>
53
                                            </_date>
54
                                        </collectiondate>
55
                                        <notes>$occurrenceRemarks</notes>
56
                                        <plantobservation>
57
                                            <authorplantcode>$collectorNumber</authorplantcode>
58
                                            <reproductivecondition>$reproductiveCondition</reproductivecondition>
59
                                            <specimenreplicate>
60
                                                <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
61
                                                <collectionnumber>$collectorNumber</collectionnumber>
62
                                                <institution_id>
63
                                                    <sourcelist>
64
                                                        <name>UNCC</name>
65
                                                        <sourcename>
66
                                                            <name>
67
                                                                <_split>
68
                                                                    <separator>[,;] *</separator>
69
                                                                    <value>UNCC</value>
70
                                                                </_split>
71
                                                            </name>
72
                                                        </sourcename>
73
                                                    </sourcelist>
74
                                                </institution_id>
75
                                            </specimenreplicate>
76
                                        </plantobservation>
77
                                    </aggregateoccurrence>
78
                                    <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
79
                                    <iscultivated>$cultivated</iscultivated>
80
                                    <taxondetermination>
81
                                        <taxonverbatim_id>
82
                                            <taxonverbatim>
83
                                                <taxonlabel_id>
84
                                                    <taxonlabel>
85
                                                        <parent_id>
86
                                                            <taxonlabel>
87
                                                                <rank>$taxonRank</rank>
88
                                                                <parent_id>
89
                                                                    <taxonlabel>
90
                                                                        <rank>cultivar</rank>
91
                                                                        <parent_id>
92
                                                                            <taxonlabel>
93
                                                                                <rank>forma</rank>
94
                                                                                <parent_id>
95
                                                                                    <taxonlabel>
96
                                                                                        <rank>variety</rank>
97
                                                                                        <parent_id>
98
                                                                                            <taxonlabel>
99
                                                                                                <rank>subspecies</rank>
100
                                                                                                <parent_id>
101
                                                                                                    <taxonlabel>
102
                                                                                                        <rank>species</rank>
103
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
104
                                                                                                        <parent_id>
105
                                                                                                            <taxonlabel>
106
                                                                                                                <rank>genus</rank>
107
                                                                                                                <taxonepithet>$genus</taxonepithet>
108
                                                                                                                <parent_id>
109
                                                                                                                    <taxonlabel>
110
                                                                                                                        <rank>family</rank>
111
                                                                                                                        <taxonepithet>$family</taxonepithet>
112
                                                                                                                    </taxonlabel>
113
                                                                                                                </parent_id>
114
                                                                                                            </taxonlabel>
115
                                                                                                        </parent_id>
116
                                                                                                    </taxonlabel>
117
                                                                                                </parent_id>
118
                                                                                            </taxonlabel>
119
                                                                                        </parent_id>
120
                                                                                    </taxonlabel>
121
                                                                                </parent_id>
122
                                                                            </taxonlabel>
123
                                                                        </parent_id>
124
                                                                    </taxonlabel>
125
                                                                </parent_id>
126
                                                                <taxonepithet>$infraspecificEpithet</taxonepithet>
127
                                                            </taxonlabel>
128
                                                        </parent_id>
129
                                                        <rank>$taxonRank</rank>
130
                                                        <taxonomicname>
131
                                                            <_merge_prefix>
132
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
133
                                                                <value>
134
                                                                    <_join_words>
135
                                                                        <1>
136
                                                                            <_alt>
137
                                                                                <1>$taxonName</1>
138
                                                                                <2>
139
                                                                                    <_join_words>
140
                                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
141
                                                                                        <3>$specificEpithet</3>
142
                                                                                        <5>
143
                                                                                            <_join_words>
144
                                                                                                <1>
145
                                                                                                    <_if name="if has infraspecificEpithet">
146
                                                                                                        <cond>$infraspecificEpithet</cond>
147
                                                                                                        <then>$taxonRank</then>
148
                                                                                                    </_if>
149
                                                                                                </1>
150
                                                                                                <2>$infraspecificEpithet</2>
151
                                                                                            </_join_words>
152
                                                                                        </5>
153
                                                                                    </_join_words>
154
                                                                                </2>
155
                                                                            </_alt>
156
                                                                        </1>
157
                                                                        <2>$scientificNameAuthorship</2>
158
                                                                    </_join_words>
159
                                                                </value>
160
                                                            </_merge_prefix>
161
                                                        </taxonomicname>
162
                                                    </taxonlabel>
163
                                                </taxonlabel_id>
164
                                                <author>$scientificNameAuthorship</author>
165
                                                <family>$family</family>
166
                                                <genus>$genus</genus>
167
                                                <specific_epithet>$specificEpithet</specific_epithet>
168
                                                <taxonname>$taxonName</taxonname>
169
                                                <verbatimrank>$taxonRank</verbatimrank>
170
                                            </taxonverbatim>
171
                                        </taxonverbatim_id>
172
                                    </taxondetermination>
173
                                </taxonoccurrence>
174
                            </locationevent>
175 6403 aaronmk
                        </locationevent>
176
                        <locationnarrative>
177
                            <_merge>
178
                                <1>$locality</1>
179
                                <3>
180
                                    <_label>
181
                                        <label>habitat</label>
182
                                        <value>$habitat</value>
183
                                    </_label>
184
                                </3>
185
                            </_merge>
186
                        </locationnarrative>
187
                        <locationplace>
188
                            <place_id>
189 5958 aaronmk
                                <place>
190
                                    <country>$country</country>
191 6294 aaronmk
                                    <county>$county</county>
192 6403 aaronmk
                                    <matched_place_id>
193
                                        <place>
194
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
195
                                            <country>$country</country>
196
                                            <county>$county</county>
197 10619 aaronmk
                                            <stateprovince>$stateProvince</stateprovince>
198 6403 aaronmk
                                        </place>
199
                                    </matched_place_id>
200 10619 aaronmk
                                    <stateprovince>$stateProvince</stateprovince>
201 5958 aaronmk
                                </place>
202 6403 aaronmk
                            </place_id>
203
                        </locationplace>
204
                    </location>
205
                </path>
206
            </_simplifyPath>
207 4621 aaronmk
        </path>
208 6403 aaronmk
    </_setDefault>
209 3641 aaronmk
</VegBIEN>
210 7873 aaronmk
Inserted 26 new rows into database