Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$ID</1>
10
                        <2>$Barcode</2>
11
                    </_alt>
12
                </authorlocationcode>
13
                <locationcoords>
14
                    <latitude_deg>
15
                        <_nullIf>
16
                            <null>0</null>
17
                            <type>float</type>
18
                            <value>$Lat</value>
19
                        </_nullIf>
20
                    </latitude_deg>
21
                    <longitude_deg>
22
                        <_nullIf>
23
                            <null>0</null>
24
                            <type>float</type>
25
                            <value>$Long</value>
26
                        </_nullIf>
27
                    </longitude_deg>
28
                </locationcoords>
29
                <locationevent>
30
                    <taxonoccurrence>
31
                        <aggregateoccurrence>
32
                            <collectiondate>
33
                                <_date>
34
                                    <day>
35
                                        <_nullIf>
36
                                            <null>0</null>
37
                                            <type>float</type>
38
                                            <value>$Colldd</value>
39
                                        </_nullIf>
40
                                    </day>
41
                                    <month>
42
                                        <_nullIf>
43
                                            <null>0</null>
44
                                            <type>float</type>
45
                                            <value>$Collmm</value>
46
                                        </_nullIf>
47
                                    </month>
48
                                    <year>
49
                                        <_nullIf>
50
                                            <null>0</null>
51
                                            <type>float</type>
52
                                            <value>$Collyy</value>
53
                                        </_nullIf>
54
                                    </year>
55
                                </_date>
56
                            </collectiondate>
57
                            <notes>$Notes</notes>
58
                            <plantobservation>
59
                                <collectionnumber>$Number</collectionnumber>
60
                                <specimenreplicate>
61
                                    <catalognumber_dwc>$Barcode</catalognumber_dwc>
62
                                    <sourceaccessioncode>$ID</sourceaccessioncode>
63
                                </specimenreplicate>
64
                            </plantobservation>
65
                        </aggregateoccurrence>
66
                        <sourceaccessioncode>$ID</sourceaccessioncode>
67
                        <taxondetermination>
68
                            <party_id><party><fullname>$Detby</fullname></party></party_id>
69
                            <taxonlabel_id>
70
                                <taxonlabel>
71
                                    <matched_label_id>
72
                                        <taxonlabel>
73
                                            <creator_id>
74
                                                <party>
75
                                                    <creator_id>0</creator_id>
76
                                                    <organizationname>TNRS</organizationname>
77
                                                </party>
78
                                            </creator_id>
79
                                            <identifyingtaxonomicname>
80
                                                <_join_words>
81
                                                    <1>$Family</1>
82
                                                    <2>$Genus</2>
83
                                                </_join_words>
84
                                            </identifyingtaxonomicname>
85
                                        </taxonlabel>
86
                                    </matched_label_id>
87
                                    <creator_id>
88
                                        <_simplifyPath>
89
                                            <next>creator_id</next>
90
                                            <path><party><fullname>$Detby</fullname></party></path>
91
                                        </_simplifyPath>
92
                                    </creator_id>
93
                                    <family>$Family</family>
94
                                    <genus>$Genus</genus>
95
                                    <parent_id>
96
                                        <taxonlabel>
97
                                            <parent_id>
98
                                                <taxonlabel>
99
                                                    <rank>cultivar</rank>
100
                                                    <parent_id>
101
                                                        <taxonlabel>
102
                                                            <rank>forma</rank>
103
                                                            <parent_id>
104
                                                                <taxonlabel>
105
                                                                    <rank>variety</rank>
106
                                                                    <parent_id>
107
                                                                        <taxonlabel>
108
                                                                            <rank>subspecies</rank>
109
                                                                            <parent_id>
110
                                                                                <taxonlabel>
111
                                                                                    <rank>species</rank>
112
                                                                                    <parent_id>
113
                                                                                        <taxonlabel>
114
                                                                                            <rank>genus</rank>
115
                                                                                            <taxonepithet>$Genus</taxonepithet>
116
                                                                                            <parent_id>
117
                                                                                                <taxonlabel>
118
                                                                                                    <rank>family</rank>
119
                                                                                                    <taxonepithet>$Family</taxonepithet>
120
                                                                                                </taxonlabel>
121
                                                                                            </parent_id>
122
                                                                                        </taxonlabel>
123
                                                                                    </parent_id>
124
                                                                                </taxonlabel>
125
                                                                            </parent_id>
126
                                                                        </taxonlabel>
127
                                                                    </parent_id>
128
                                                                </taxonlabel>
129
                                                            </parent_id>
130
                                                        </taxonlabel>
131
                                                    </parent_id>
132
                                                </taxonlabel>
133
                                            </parent_id>
134
                                        </taxonlabel>
135
                                    </parent_id>
136
                                    <creationdate>
137
                                        <_date>
138
                                            <year>
139
                                                <_nullIf>
140
                                                    <null>0</null>
141
                                                    <type>float</type>
142
                                                    <value>$Detyy</value>
143
                                                </_nullIf>
144
                                            </year>
145
                                        </_date>
146
                                    </creationdate>
147
                                </taxonlabel>
148
                            </taxonlabel_id>
149
                            <taxonfit>$cf</taxonfit>
150
                            <determinationdate>
151
                                <_date>
152
                                    <year>
153
                                        <_nullIf>
154
                                            <null>0</null>
155
                                            <type>float</type>
156
                                            <value>$Detyy</value>
157
                                        </_nullIf>
158
                                    </year>
159
                                </_date>
160
                            </determinationdate>
161
                        </taxondetermination>
162
                        <verbatimcollectorname>
163
                            <_join>
164
                                <1>$Collector</1>
165
                                <2>$Addcoll</2>
166
                            </_join>
167
                        </verbatimcollectorname>
168
                    </taxonoccurrence>
169
                </locationevent>
170
                <locationnarrative>
171
                    <_merge>
172
                        <2>
173
                            <_join>
174
                                <1>
175
                                    <_label>
176
                                        <label>gazetteer</label>
177
                                        <value>
178
                                            <_join>
179
                                                <1>$Gazetteer</1>
180
                                                <2>$Newgazett</2>
181
                                            </_join>
182
                                        </value>
183
                                    </_label>
184
                                </1>
185
                                <2>$Locnotes</2>
186
                            </_join>
187
                        </2>
188
                        <3>
189
                            <_label>
190
                                <label>habitat</label>
191
                                <value>$Ecology</value>
192
                            </_label>
193
                        </3>
194
                    </_merge>
195
                </locationnarrative>
196
                <locationplace><placepath_id><placepath><country>$Country</country></placepath></placepath_id></locationplace>
197
            </location>
198
        </path>
199
    </_simplifyPath>
200
</VegBIEN>
201
Inserted 29 new rows into database
(5-5/6)