Project

General

Profile

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