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