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
|
<sourceaccessioncode>$id</sourceaccessioncode>
|
57
|
<taxondetermination>
|
58
|
<taxonpath_id>
|
59
|
<taxonpath>
|
60
|
<family>$family</family>
|
61
|
<genus>$genus</genus>
|
62
|
</taxonpath>
|
63
|
</taxonpath_id>
|
64
|
</taxondetermination>
|
65
|
</taxonoccurrence>
|
66
|
</locationevent>
|
67
|
<locationnarrative>$locality</locationnarrative>
|
68
|
<locationplace><placepath_id><placepath><continent>$continent</continent></placepath></placepath_id></locationplace>
|
69
|
</location>
|
70
|
</path>
|
71
|
</_simplifyPath>
|
72
|
</VegBIEN>
|
73
|
Inserted 20 new rows into database
|