Project

General

Profile

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