1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<location id="-1">
|
4
|
<authorlocationcode>
|
5
|
<_merge>
|
6
|
<2>$SeriesName</2>
|
7
|
<3><_if name="if indirect voucher"><else>$Barcode</else></_if></3>
|
8
|
</_merge>
|
9
|
</authorlocationcode>
|
10
|
<elevation>
|
11
|
<_replace>
|
12
|
<\bca\.?></\bca\.?>
|
13
|
<value>$Elevation</value>
|
14
|
</_replace>
|
15
|
</elevation>
|
16
|
<locationdetermination>
|
17
|
<coordsaccuracy><_noCV><value>$Accuracy</value></_noCV></coordsaccuracy>
|
18
|
<latitude>
|
19
|
<_nullIf>
|
20
|
<null>0</null>
|
21
|
<type>float</type>
|
22
|
<value>
|
23
|
<_replace>
|
24
|
<\?$></\?$>
|
25
|
<value>$Lat (-=S)</value>
|
26
|
</_replace>
|
27
|
</value>
|
28
|
</_nullIf>
|
29
|
</latitude>
|
30
|
<longitude>
|
31
|
<_nullIf>
|
32
|
<null>0</null>
|
33
|
<type>float</type>
|
34
|
<value>
|
35
|
<_replace>
|
36
|
<\?$></\?$>
|
37
|
<value>$Long (-=W)</value>
|
38
|
</_replace>
|
39
|
</value>
|
40
|
</_nullIf>
|
41
|
</longitude>
|
42
|
<namedplace_id>
|
43
|
<_simplifyPath>
|
44
|
<next>parent_id/namedplace</next>
|
45
|
<require>placename</require>
|
46
|
<path>
|
47
|
<namedplace>
|
48
|
<rank>county</rank>
|
49
|
<placename>$County</placename>
|
50
|
<parent_id>
|
51
|
<namedplace>
|
52
|
<rank>stateProvince</rank>
|
53
|
<placename>$State</placename>
|
54
|
<parent_id>
|
55
|
<namedplace>
|
56
|
<rank>country</rank>
|
57
|
<placename>$Country</placename>
|
58
|
</namedplace>
|
59
|
</parent_id>
|
60
|
</namedplace>
|
61
|
</parent_id>
|
62
|
</namedplace>
|
63
|
</path>
|
64
|
</_simplifyPath>
|
65
|
</namedplace_id>
|
66
|
</locationdetermination>
|
67
|
<locationevent>
|
68
|
<obsenddate><_date><date><_dateRangeEnd><value>$Collect Date</value></_dateRangeEnd></date></_date></obsenddate>
|
69
|
<obsstartdate><_date><date><_dateRangeStart><value>$Collect Date</value></_dateRangeStart></date></_date></obsstartdate>
|
70
|
<taxonoccurrence>
|
71
|
<aggregateoccurrence>
|
72
|
<collectiondate><_date><date>$Collect Date</date></_date></collectiondate>
|
73
|
<plantobservation>
|
74
|
<sourceaccessioncode>$Accession Number</sourceaccessioncode>
|
75
|
<specimenreplicate>
|
76
|
<catalognumber_dwc><_if name="if indirect voucher"><else>$Barcode</else></_if></catalognumber_dwc>
|
77
|
<collectioncode_dwc>$SeriesName</collectioncode_dwc>
|
78
|
<sourceaccessioncode>$Accession Number</sourceaccessioncode>
|
79
|
</specimenreplicate>
|
80
|
</plantobservation>
|
81
|
</aggregateoccurrence>
|
82
|
<iscultivated>
|
83
|
<_map>
|
84
|
<cultivated>t</cultivated>
|
85
|
<wild>f</wild>
|
86
|
<*></*>
|
87
|
<value>
|
88
|
<_map>
|
89
|
<Yes>cultivated</Yes>
|
90
|
<No>wild</No>
|
91
|
<value>$Cultivated?</value>
|
92
|
</_map>
|
93
|
</value>
|
94
|
</_map>
|
95
|
</iscultivated>
|
96
|
<isnative>
|
97
|
<_map>
|
98
|
<native>t</native>
|
99
|
<exotic>f</exotic>
|
100
|
<*></*>
|
101
|
<value>
|
102
|
<_map>
|
103
|
<Yes>cultivated</Yes>
|
104
|
<No>wild</No>
|
105
|
<value>$Cultivated?</value>
|
106
|
</_map>
|
107
|
</value>
|
108
|
</_map>
|
109
|
</isnative>
|
110
|
<sourceaccessioncode>
|
111
|
<_alt>
|
112
|
<1>$Accession Number</1>
|
113
|
<2><_if name="if indirect voucher"><else>$Barcode</else></_if></2>
|
114
|
</_alt>
|
115
|
</sourceaccessioncode>
|
116
|
<taxondetermination>
|
117
|
<isoriginal>true</isoriginal>
|
118
|
<role>identifier</role>
|
119
|
<plantconcept_id>
|
120
|
<plantconcept>
|
121
|
<plantname_id>
|
122
|
<_simplifyPath>
|
123
|
<next>parent_id/plantname</next>
|
124
|
<require>plantname</require>
|
125
|
<path>
|
126
|
<plantname>
|
127
|
<rank>binomial</rank>
|
128
|
<plantname>$Full Taxon Name</plantname>
|
129
|
</plantname>
|
130
|
</path>
|
131
|
</_simplifyPath>
|
132
|
</plantname_id>
|
133
|
</plantconcept>
|
134
|
</plantconcept_id>
|
135
|
</taxondetermination>
|
136
|
</taxonoccurrence>
|
137
|
</locationevent>
|
138
|
<sourceaccessioncode>$Accession Number</sourceaccessioncode>
|
139
|
</location>
|
140
|
</VegBIEN>
|
141
|
Inserted 26 new rows into database
|