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