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