1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<location id="-1">
|
4
|
<authorlocationcode>
|
5
|
<_alt>
|
6
|
<3>$id</3>
|
7
|
<4>
|
8
|
<_merge>
|
9
|
<1>$institutionCode</1>
|
10
|
<2>
|
11
|
<_merge>
|
12
|
<1>$collectionCode</1>
|
13
|
<2>$collectionID</2>
|
14
|
</_merge>
|
15
|
</2>
|
16
|
</_merge>
|
17
|
</4>
|
18
|
</_alt>
|
19
|
</authorlocationcode>
|
20
|
<locationdetermination>
|
21
|
<namedplace_id>
|
22
|
<_simplifyPath>
|
23
|
<next>parent_id/namedplace</next>
|
24
|
<require>placename</require>
|
25
|
<path>
|
26
|
<namedplace>
|
27
|
<rank>county</rank>
|
28
|
<parent_id>
|
29
|
<namedplace>
|
30
|
<rank>stateProvince</rank>
|
31
|
<parent_id>
|
32
|
<namedplace>
|
33
|
<rank>country</rank>
|
34
|
<parent_id>
|
35
|
<namedplace>
|
36
|
<rank>continent</rank>
|
37
|
<placename>$continent</placename>
|
38
|
</namedplace>
|
39
|
</parent_id>
|
40
|
</namedplace>
|
41
|
</parent_id>
|
42
|
</namedplace>
|
43
|
</parent_id>
|
44
|
</namedplace>
|
45
|
</path>
|
46
|
</_simplifyPath>
|
47
|
</namedplace_id>
|
48
|
</locationdetermination>
|
49
|
<locationevent>
|
50
|
<taxonoccurrence>
|
51
|
<aggregateoccurrence>
|
52
|
<count>$individualCount</count>
|
53
|
<plantobservation>
|
54
|
<specimenreplicate>
|
55
|
<collectioncode_dwc>
|
56
|
<_merge>
|
57
|
<1>$collectionCode</1>
|
58
|
<2>$collectionID</2>
|
59
|
</_merge>
|
60
|
</collectioncode_dwc>
|
61
|
<institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
|
62
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
63
|
</specimenreplicate>
|
64
|
</plantobservation>
|
65
|
</aggregateoccurrence>
|
66
|
<iscultivated>
|
67
|
<_map>
|
68
|
<cultivated>t</cultivated>
|
69
|
<wild>f</wild>
|
70
|
<*></*>
|
71
|
<value>$establishmentMeans</value>
|
72
|
</_map>
|
73
|
</iscultivated>
|
74
|
<isnative>
|
75
|
<_map>
|
76
|
<native>t</native>
|
77
|
<exotic>f</exotic>
|
78
|
<*></*>
|
79
|
<value>$establishmentMeans</value>
|
80
|
</_map>
|
81
|
</isnative>
|
82
|
<taxondetermination>
|
83
|
<role>identifier</role>
|
84
|
<plantconcept_id>
|
85
|
<plantconcept>
|
86
|
<plantname_id>
|
87
|
<_simplifyPath>
|
88
|
<next>parent_id/plantname</next>
|
89
|
<require>plantname</require>
|
90
|
<path>
|
91
|
<plantname>
|
92
|
<rank>binomial</rank>
|
93
|
<parent_id>
|
94
|
<plantname>
|
95
|
<rank>authority</rank>
|
96
|
<parent_id>
|
97
|
<plantname>
|
98
|
<rank>subspecies</rank>
|
99
|
<parent_id>
|
100
|
<plantname>
|
101
|
<rank>species</rank>
|
102
|
<parent_id>
|
103
|
<plantname>
|
104
|
<rank>genus</rank>
|
105
|
<plantname>$genus</plantname>
|
106
|
<parent_id>
|
107
|
<plantname>
|
108
|
<rank>family</rank>
|
109
|
<plantname>$family</plantname>
|
110
|
</plantname>
|
111
|
</parent_id>
|
112
|
</plantname>
|
113
|
</parent_id>
|
114
|
</plantname>
|
115
|
</parent_id>
|
116
|
</plantname>
|
117
|
</parent_id>
|
118
|
</plantname>
|
119
|
</parent_id>
|
120
|
</plantname>
|
121
|
</path>
|
122
|
</_simplifyPath>
|
123
|
</plantname_id>
|
124
|
</plantconcept>
|
125
|
</plantconcept_id>
|
126
|
</taxondetermination>
|
127
|
</taxonoccurrence>
|
128
|
</locationevent>
|
129
|
<locationnarrative>$locality</locationnarrative>
|
130
|
</location>
|
131
|
</VegBIEN>
|
132
|
Inserted 22 new rows into database
|