1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<authorlocationcode>
|
8
|
<_join>
|
9
|
<1>$InstitutionCode</1>
|
10
|
<2>$CollectionCode</2>
|
11
|
<3>$CatalogNumber</3>
|
12
|
</_join>
|
13
|
</authorlocationcode>
|
14
|
<elevation_m>
|
15
|
<_avg>
|
16
|
<max>$MaximumElevation</max>
|
17
|
<min>$MinimumElevation</min>
|
18
|
</_avg>
|
19
|
</elevation_m>
|
20
|
<locationcoords>
|
21
|
<latitude_deg>
|
22
|
<_nullIf>
|
23
|
<null>0</null>
|
24
|
<type>float</type>
|
25
|
<value>$latitude</value>
|
26
|
</_nullIf>
|
27
|
</latitude_deg>
|
28
|
<longitude_deg>
|
29
|
<_nullIf>
|
30
|
<null>0</null>
|
31
|
<type>float</type>
|
32
|
<value>$longitude</value>
|
33
|
</_nullIf>
|
34
|
</longitude_deg>
|
35
|
</locationcoords>
|
36
|
<locationevent>
|
37
|
<taxonoccurrence>
|
38
|
<aggregateoccurrence>
|
39
|
<collectiondate>
|
40
|
<_date>
|
41
|
<day>
|
42
|
<_nullIf>
|
43
|
<null>0</null>
|
44
|
<type>float</type>
|
45
|
<value>$DayCollected</value>
|
46
|
</_nullIf>
|
47
|
</day>
|
48
|
<month>
|
49
|
<_nullIf>
|
50
|
<null>0</null>
|
51
|
<type>float</type>
|
52
|
<value>$MonthCollected</value>
|
53
|
</_nullIf>
|
54
|
</month>
|
55
|
<year>
|
56
|
<_nullIf>
|
57
|
<null>0</null>
|
58
|
<type>float</type>
|
59
|
<value>$YearCollected</value>
|
60
|
</_nullIf>
|
61
|
</year>
|
62
|
</_date>
|
63
|
</collectiondate>
|
64
|
<count>$IndividualCount</count>
|
65
|
<notes>
|
66
|
<_alt>
|
67
|
<0>$convertednotes</0>
|
68
|
<1>$notes</1>
|
69
|
</_alt>
|
70
|
</notes>
|
71
|
<plantobservation>
|
72
|
<collectionnumber>$CollectorNumber</collectionnumber>
|
73
|
<specimenreplicate>
|
74
|
<catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
|
75
|
<collectioncode_dwc>$CollectionCode</collectioncode_dwc>
|
76
|
<institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
|
77
|
</specimenreplicate>
|
78
|
</plantobservation>
|
79
|
</aggregateoccurrence>
|
80
|
<taxondetermination>
|
81
|
<party_id>
|
82
|
<party>
|
83
|
<givenname><_namePart><first>$IdentifiedBy</first></_namePart></givenname>
|
84
|
<middlename><_namePart><middle>$IdentifiedBy</middle></_namePart></middlename>
|
85
|
<surname><_namePart><last>$IdentifiedBy</last></_namePart></surname>
|
86
|
</party>
|
87
|
</party_id>
|
88
|
<taxonpath_id>
|
89
|
<taxonpath>
|
90
|
<canon_taxonpath_id>
|
91
|
<taxonpath>
|
92
|
<datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
|
93
|
<identifyingtaxonomicname>
|
94
|
<_join_words>
|
95
|
<1>
|
96
|
<_alt>
|
97
|
<1>$ScientificName</1>
|
98
|
<2>
|
99
|
<_join_words>
|
100
|
<1>$family</1>
|
101
|
<2>$genus</2>
|
102
|
<3>$species</3>
|
103
|
<4>$Subspecies</4>
|
104
|
</_join_words>
|
105
|
</2>
|
106
|
</_alt>
|
107
|
</1>
|
108
|
<2>$ScientificNameAuthor</2>
|
109
|
</_join_words>
|
110
|
</identifyingtaxonomicname>
|
111
|
</taxonpath>
|
112
|
</canon_taxonpath_id>
|
113
|
<author>$ScientificNameAuthor</author>
|
114
|
<family>$family</family>
|
115
|
<genus>$genus</genus>
|
116
|
<kingdom>$Kingdom</kingdom>
|
117
|
<species>$species</species>
|
118
|
<subspecies>$Subspecies</subspecies>
|
119
|
<taxonomicname>$ScientificName</taxonomicname>
|
120
|
</taxonpath>
|
121
|
</taxonpath_id>
|
122
|
</taxondetermination>
|
123
|
<verbatimcollectorname>$Collector</verbatimcollectorname>
|
124
|
</taxonoccurrence>
|
125
|
</locationevent>
|
126
|
<locationnarrative>$Locality</locationnarrative>
|
127
|
<locationplace>
|
128
|
<placepath_id>
|
129
|
<placepath>
|
130
|
<continent>$ContinentOcean</continent>
|
131
|
<country>$Country</country>
|
132
|
<county>$County</county>
|
133
|
<stateprovince>$StateProvince</stateprovince>
|
134
|
</placepath>
|
135
|
</placepath_id>
|
136
|
</locationplace>
|
137
|
</location>
|
138
|
</path>
|
139
|
</_simplifyPath>
|
140
|
</VegBIEN>
|
141
|
Inserted 26 new rows into database
|