1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<authorlocationcode>
|
8
|
<_alt>
|
9
|
<1>$id</1>
|
10
|
<2>
|
11
|
<_join>
|
12
|
<1>$institutionCode</1>
|
13
|
<2>
|
14
|
<_join>
|
15
|
<1>$collectionCode</1>
|
16
|
<2>$collectionID</2>
|
17
|
</_join>
|
18
|
</2>
|
19
|
</_join>
|
20
|
</2>
|
21
|
</_alt>
|
22
|
</authorlocationcode>
|
23
|
<locationevent>
|
24
|
<taxonoccurrence>
|
25
|
<aggregateoccurrence>
|
26
|
<count>$individualCount</count>
|
27
|
<plantobservation>
|
28
|
<specimenreplicate>
|
29
|
<collectioncode_dwc>
|
30
|
<_join>
|
31
|
<1>$collectionCode</1>
|
32
|
<2>$collectionID</2>
|
33
|
</_join>
|
34
|
</collectioncode_dwc>
|
35
|
<institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
|
36
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
37
|
</specimenreplicate>
|
38
|
</plantobservation>
|
39
|
</aggregateoccurrence>
|
40
|
<iscultivated>
|
41
|
<_map>
|
42
|
<cultivated>t</cultivated>
|
43
|
<wild>f</wild>
|
44
|
<*></*>
|
45
|
<value>$establishmentMeans</value>
|
46
|
</_map>
|
47
|
</iscultivated>
|
48
|
<isnative>
|
49
|
<_map>
|
50
|
<native>t</native>
|
51
|
<exotic>f</exotic>
|
52
|
<*></*>
|
53
|
<value>$establishmentMeans</value>
|
54
|
</_map>
|
55
|
</isnative>
|
56
|
<taxondetermination>
|
57
|
<taxonpath_id>
|
58
|
<taxonpath>
|
59
|
<family>$family</family>
|
60
|
<genus>$genus</genus>
|
61
|
</taxonpath>
|
62
|
</taxonpath_id>
|
63
|
</taxondetermination>
|
64
|
</taxonoccurrence>
|
65
|
</locationevent>
|
66
|
<locationnarrative>$locality</locationnarrative>
|
67
|
<locationplace><placepath_id><placepath><continent>$continent</continent></placepath></placepath_id></locationplace>
|
68
|
</location>
|
69
|
</path>
|
70
|
</_simplifyPath>
|
71
|
</VegBIEN>
|
72
|
Inserted 20 new rows into database
|