1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<authorlocationcode>
|
8
|
<_alt>
|
9
|
<1>$accession_number</1>
|
10
|
<2>$acronym</2>
|
11
|
</_alt>
|
12
|
</authorlocationcode>
|
13
|
<locationcoords>
|
14
|
<latitude>
|
15
|
<_nullIf>
|
16
|
<null>0</null>
|
17
|
<type>float</type>
|
18
|
<value>$lat_deg</value>
|
19
|
</_nullIf>
|
20
|
</latitude>
|
21
|
<longitude>
|
22
|
<_nullIf>
|
23
|
<null>0</null>
|
24
|
<type>float</type>
|
25
|
<value>$long_deg</value>
|
26
|
</_nullIf>
|
27
|
</longitude>
|
28
|
</locationcoords>
|
29
|
<locationevent>
|
30
|
<taxonoccurrence>
|
31
|
<aggregateoccurrence>
|
32
|
<collectiondate>
|
33
|
<_date>
|
34
|
<day>
|
35
|
<_nullIf>
|
36
|
<null>0</null>
|
37
|
<type>float</type>
|
38
|
<value>$coll_day</value>
|
39
|
</_nullIf>
|
40
|
</day>
|
41
|
<month>
|
42
|
<_nullIf>
|
43
|
<null>0</null>
|
44
|
<type>float</type>
|
45
|
<value>$coll_month</value>
|
46
|
</_nullIf>
|
47
|
</month>
|
48
|
<year>
|
49
|
<_nullIf>
|
50
|
<null>0</null>
|
51
|
<type>float</type>
|
52
|
<value>$coll_year</value>
|
53
|
</_nullIf>
|
54
|
</year>
|
55
|
</_date>
|
56
|
</collectiondate>
|
57
|
<plantobservation>
|
58
|
<specimenreplicate>
|
59
|
<collectioncode_dwc>$acronym</collectioncode_dwc>
|
60
|
<sourceaccessioncode>$accession_number</sourceaccessioncode>
|
61
|
</specimenreplicate>
|
62
|
</plantobservation>
|
63
|
</aggregateoccurrence>
|
64
|
<taxondetermination>
|
65
|
<taxonpath_id>
|
66
|
<taxonpath>
|
67
|
<family>$family</family>
|
68
|
<genus>$genus</genus>
|
69
|
<species>$specificEpithet</species>
|
70
|
</taxonpath>
|
71
|
</taxonpath_id>
|
72
|
</taxondetermination>
|
73
|
<verbatimcollectorname>$collector</verbatimcollectorname>
|
74
|
</taxonoccurrence>
|
75
|
</locationevent>
|
76
|
<locationnarrative>
|
77
|
<_merge>
|
78
|
<1>$locality</1>
|
79
|
<3>
|
80
|
<_label>
|
81
|
<label>habitat</label>
|
82
|
<value>$habitat</value>
|
83
|
</_label>
|
84
|
</3>
|
85
|
</_merge>
|
86
|
</locationnarrative>
|
87
|
<locationplace>
|
88
|
<placepath_id>
|
89
|
<placepath>
|
90
|
<country>$country</country>
|
91
|
<county>$county</county>
|
92
|
<stateprovince>$state</stateprovince>
|
93
|
</placepath>
|
94
|
</placepath_id>
|
95
|
</locationplace>
|
96
|
</location>
|
97
|
</path>
|
98
|
</_simplifyPath>
|
99
|
</VegBIEN>
|
100
|
Inserted 22 new rows into database
|