Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <specimenreplicate id="-1">
4
        <locationevent_id>
5
            <locationevent>
6
                <location_id>
7
                    <location>
8
                        <locationdetermination>
9
                            <namedplace_id>
10
                                <_simplifyPath>
11
                                    <next>parent_id/namedplace</next>
12
                                    <require>placename</require>
13
                                    <path>
14
                                        <namedplace>
15
                                            <rank>county</rank>
16
                                            <placename>$county</placename>
17
                                            <parent_id>
18
                                                <namedplace>
19
                                                    <rank>stateProvince</rank>
20
                                                    <placename>$stateProvince</placename>
21
                                                    <parent_id>
22
                                                        <namedplace>
23
                                                            <rank>country</rank>
24
                                                            <placename>$country</placename>
25
                                                            <parent_id>
26
                                                                <namedplace>
27
                                                                    <rank>continent</rank>
28
                                                                    <placename>$continent</placename>
29
                                                                </namedplace>
30
                                                            </parent_id>
31
                                                        </namedplace>
32
                                                    </parent_id>
33
                                                </namedplace>
34
                                            </parent_id>
35
                                        </namedplace>
36
                                    </path>
37
                                </_simplifyPath>
38
                            </namedplace_id>
39
                            <latitude>
40
                                <_alt>
41
                                    <1>
42
                                        <_nullIf>
43
                                            <null>0</null>
44
                                            <type>float</type>
45
                                            <value>$decimalLatitude</value>
46
                                        </_nullIf>
47
                                    </1>
48
                                </_alt>
49
                            </latitude>
50
                            <longitude>
51
                                <_alt>
52
                                    <1>
53
                                        <_nullIf>
54
                                            <null>0</null>
55
                                            <type>float</type>
56
                                            <value>$decimalLongitude</value>
57
                                        </_nullIf>
58
                                    </1>
59
                                </_alt>
60
                            </longitude>
61
                        </locationdetermination>
62
                        <locationnarrative>
63
                            <_merge>
64
                                <1>$locality</1>
65
                                <3>
66
                                    <_label>
67
                                        <label>habitat</label>
68
                                        <value>$habitat</value>
69
                                    </_label>
70
                                </3>
71
                            </_merge>
72
                        </locationnarrative>
73
                        <centerlatitude>
74
                            <_alt>
75
                                <1>
76
                                    <_nullIf>
77
                                        <null>0</null>
78
                                        <type>float</type>
79
                                        <value>$decimalLatitude</value>
80
                                    </_nullIf>
81
                                </1>
82
                            </_alt>
83
                        </centerlatitude>
84
                        <centerlongitude>
85
                            <_alt>
86
                                <1>
87
                                    <_nullIf>
88
                                        <null>0</null>
89
                                        <type>float</type>
90
                                        <value>$decimalLongitude</value>
91
                                    </_nullIf>
92
                                </1>
93
                            </_alt>
94
                        </centerlongitude>
95
                        <sourceaccessioncode>
96
                            <_alt>
97
                                <2>
98
                                    <_merge>
99
                                        <3>$catalogNumber</3>
100
                                        <2>$collectionCode</2>
101
                                        <1>$institutionCode</1>
102
                                    </_merge>
103
                                </2>
104
                                <1>$id</1>
105
                            </_alt>
106
                        </sourceaccessioncode>
107
                    </location>
108
                </location_id>
109
                <obsstartdate><_date><date><_dateRangeStart><value><_alt><2>$eventDate</2></_alt></value></_dateRangeStart></date></_date></obsstartdate>
110
                <obsenddate><_date><date><_dateRangeEnd><value><_alt><2>$eventDate</2></_alt></value></_dateRangeEnd></date></_date></obsenddate>
111
            </locationevent>
112
        </locationevent_id>
113
        <collectionnumber>
114
            <_alt>
115
                <1><_alt><2>$recordNumber</2></_alt></1>
116
                <2>$collectionID</2>
117
            </_alt>
118
        </collectionnumber>
119
        <taxondetermination>
120
            <role>identifier</role>
121
            <determinationdate><_date><date><_dateRangeStart><value><_alt><2>$dateIdentified</2></_alt></value></_dateRangeStart></date></_date></determinationdate>
122
            <iscurrent>true</iscurrent>
123
            <party_id>
124
                <party>
125
                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
126
                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
127
                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
128
                </party>
129
            </party_id>
130
            <isoriginal>true</isoriginal>
131
            <plantconcept_id>
132
                <plantconcept>
133
                    <plantname_id>
134
                        <_simplifyPath>
135
                            <next>parent_id/plantname</next>
136
                            <require>plantname</require>
137
                            <path>
138
                                <plantname>
139
                                    <rank>binomial</rank>
140
                                    <plantname>$scientificName</plantname>
141
                                    <parent_id>
142
                                        <plantname>
143
                                            <rank>authority</rank>
144
                                            <plantname>$scientificNameAuthorship</plantname>
145
                                            <parent_id>
146
                                                <plantname>
147
                                                    <rank>subspecies</rank>
148
                                                    <plantname>$infraspecificEpithet</plantname>
149
                                                    <parent_id>
150
                                                        <plantname>
151
                                                            <rank>species</rank>
152
                                                            <plantname>$specificEpithet</plantname>
153
                                                            <parent_id>
154
                                                                <plantname>
155
                                                                    <rank>genus</rank>
156
                                                                    <plantname>$genus</plantname>
157
                                                                    <parent_id>
158
                                                                        <plantname>
159
                                                                            <rank>family</rank>
160
                                                                            <plantname>$family</plantname>
161
                                                                            <parent_id>
162
                                                                                <plantname>
163
                                                                                    <rank>order</rank>
164
                                                                                    <plantname>$order</plantname>
165
                                                                                    <parent_id>
166
                                                                                        <plantname>
167
                                                                                            <rank>class</rank>
168
                                                                                            <plantname>$class</plantname>
169
                                                                                            <parent_id>
170
                                                                                                <plantname>
171
                                                                                                    <rank>subkingdom</rank>
172
                                                                                                    <plantname>$phylum</plantname>
173
                                                                                                    <parent_id>
174
                                                                                                        <plantname>
175
                                                                                                            <rank>kingdom</rank>
176
                                                                                                            <plantname>$kingdom</plantname>
177
                                                                                                        </plantname>
178
                                                                                                    </parent_id>
179
                                                                                                </plantname>
180
                                                                                            </parent_id>
181
                                                                                        </plantname>
182
                                                                                    </parent_id>
183
                                                                                </plantname>
184
                                                                            </parent_id>
185
                                                                        </plantname>
186
                                                                    </parent_id>
187
                                                                </plantname>
188
                                                            </parent_id>
189
                                                        </plantname>
190
                                                    </parent_id>
191
                                                </plantname>
192
                                            </parent_id>
193
                                        </plantname>
194
                                    </parent_id>
195
                                </plantname>
196
                            </path>
197
                        </_simplifyPath>
198
                    </plantname_id>
199
                </plantconcept>
200
            </plantconcept_id>
201
        </taxondetermination>
202
        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
203
        <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
204
        <collectioncode_dwc>$collectionCode</collectioncode_dwc>
205
        <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
206
        <sourceaccessioncode>$id</sourceaccessioncode>
207
    </specimenreplicate>
208
</VegBIEN>
209
Inserted 32 new rows into database
    (1-1/1)