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