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