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