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