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