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_deg>
|
15
|
<_nullIf>
|
16
|
<null>0</null>
|
17
|
<type>float</type>
|
18
|
<value>$lat_deg</value>
|
19
|
</_nullIf>
|
20
|
</latitude_deg>
|
21
|
<longitude_deg>
|
22
|
<_nullIf>
|
23
|
<null>0</null>
|
24
|
<type>float</type>
|
25
|
<value>$long_deg</value>
|
26
|
</_nullIf>
|
27
|
</longitude_deg>
|
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
|
<sourceaccessioncode>$accession_number</sourceaccessioncode>
|
65
|
<taxondetermination>
|
66
|
<taxonpath_id>
|
67
|
<taxonpath>
|
68
|
<family>$family</family>
|
69
|
<genus>$genus</genus>
|
70
|
<species>$specificEpithet</species>
|
71
|
</taxonpath>
|
72
|
</taxonpath_id>
|
73
|
</taxondetermination>
|
74
|
<verbatimcollectorname>$collector</verbatimcollectorname>
|
75
|
</taxonoccurrence>
|
76
|
</locationevent>
|
77
|
<locationnarrative>
|
78
|
<_merge>
|
79
|
<1>$locality</1>
|
80
|
<3>
|
81
|
<_label>
|
82
|
<label>habitat</label>
|
83
|
<value>$habitat</value>
|
84
|
</_label>
|
85
|
</3>
|
86
|
</_merge>
|
87
|
</locationnarrative>
|
88
|
<locationplace>
|
89
|
<placepath_id>
|
90
|
<placepath>
|
91
|
<country>$country</country>
|
92
|
<county>$county</county>
|
93
|
<stateprovince>$state</stateprovince>
|
94
|
</placepath>
|
95
|
</placepath_id>
|
96
|
</locationplace>
|
97
|
</location>
|
98
|
</path>
|
99
|
</_simplifyPath>
|
100
|
</VegBIEN>
|
101
|
Inserted 22 new rows into database
|