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
|
<taxonconcept_id>
|
44
|
<taxonconcept>
|
45
|
<canon_taxonconcept_id>
|
46
|
<taxonconcept>
|
47
|
<datasource_id>
|
48
|
<party>
|
49
|
<datasource_id>0</datasource_id>
|
50
|
<organizationname>TNRS</organizationname>
|
51
|
</party>
|
52
|
</datasource_id>
|
53
|
<identifyingtaxonomicname>
|
54
|
<_join_words>
|
55
|
<1>$family</1>
|
56
|
<2>$genus</2>
|
57
|
</_join_words>
|
58
|
</identifyingtaxonomicname>
|
59
|
</taxonconcept>
|
60
|
</canon_taxonconcept_id>
|
61
|
<family>$family</family>
|
62
|
<genus>$genus</genus>
|
63
|
</taxonconcept>
|
64
|
</taxonconcept_id>
|
65
|
</taxondetermination>
|
66
|
</taxonoccurrence>
|
67
|
</locationevent>
|
68
|
<locationnarrative>$locality</locationnarrative>
|
69
|
<locationplace><placepath_id><placepath><continent>$continent</continent></placepath></placepath_id></locationplace>
|
70
|
</location>
|
71
|
</path>
|
72
|
</_simplifyPath>
|
73
|
</VegBIEN>
|
74
|
Inserted 22 new rows into database
|