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
|
<plantobservation>
|
37
|
<specimenreplicate>
|
38
|
<collectioncode_dwc>
|
39
|
<_alt>
|
40
|
<1>$collectionCode</1>
|
41
|
<2>$collectionID</2>
|
42
|
</_alt>
|
43
|
</collectioncode_dwc>
|
44
|
<institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
|
45
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
46
|
</specimenreplicate>
|
47
|
</plantobservation>
|
48
|
</aggregateoccurrence>
|
49
|
<iscultivated>
|
50
|
<_map>
|
51
|
<cultivated>t</cultivated>
|
52
|
<wild>f</wild>
|
53
|
<*></*>
|
54
|
<value>$establishmentMeans</value>
|
55
|
</_map>
|
56
|
</iscultivated>
|
57
|
<isnative>
|
58
|
<_map>
|
59
|
<native>t</native>
|
60
|
<exotic>f</exotic>
|
61
|
<*></*>
|
62
|
<value>$establishmentMeans</value>
|
63
|
</_map>
|
64
|
</isnative>
|
65
|
<taxondetermination>
|
66
|
<isoriginal>true</isoriginal>
|
67
|
<iscurrent>true</iscurrent>
|
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
|