1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<authorlocationcode>
|
8
|
<_join>
|
9
|
<1>$acronym</1>
|
10
|
<3>$accession_number</3>
|
11
|
</_join>
|
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
|
<catalognumber_dwc>$accession_number</catalognumber_dwc>
|
60
|
<institution_id><party><organizationname>$acronym</organizationname></party></institution_id>
|
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
|
<taxonomicnamewithauthor>
|
71
|
<_join_words>
|
72
|
<1>$family</1>
|
73
|
<2>$genus</2>
|
74
|
<3>$specificEpithet</3>
|
75
|
</_join_words>
|
76
|
</taxonomicnamewithauthor>
|
77
|
</taxonpath>
|
78
|
</taxonpath_id>
|
79
|
</taxondetermination>
|
80
|
<verbatimcollectorname>$collector</verbatimcollectorname>
|
81
|
</taxonoccurrence>
|
82
|
</locationevent>
|
83
|
<locationnarrative>
|
84
|
<_merge>
|
85
|
<1>$locality</1>
|
86
|
<3>
|
87
|
<_label>
|
88
|
<label>habitat</label>
|
89
|
<value>$habitat</value>
|
90
|
</_label>
|
91
|
</3>
|
92
|
</_merge>
|
93
|
</locationnarrative>
|
94
|
<locationplace>
|
95
|
<placepath_id>
|
96
|
<placepath>
|
97
|
<country>$country</country>
|
98
|
<county>$county</county>
|
99
|
<stateprovince>$state</stateprovince>
|
100
|
</placepath>
|
101
|
</placepath_id>
|
102
|
</locationplace>
|
103
|
</location>
|
104
|
</path>
|
105
|
</_simplifyPath>
|
106
|
</VegBIEN>
|
107
|
Inserted 23 new rows into database
|