1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<locationevent>
|
8
|
<taxonoccurrence>
|
9
|
<taxondetermination>
|
10
|
<taxonverbatim_id>
|
11
|
<taxonverbatim>
|
12
|
<taxonlabel_id>
|
13
|
<taxonlabel>
|
14
|
<matched_label_id>
|
15
|
<taxonlabel>
|
16
|
<creator_id>
|
17
|
<party>
|
18
|
<creator_id>0</creator_id>
|
19
|
<organizationname>TNRS</organizationname>
|
20
|
</party>
|
21
|
</creator_id>
|
22
|
<taxonomicname>$name_txt</taxonomicname>
|
23
|
</taxonlabel>
|
24
|
</matched_label_id>
|
25
|
<_taxonlabel_set_parent_id><parent_id><taxonlabel><sourceaccessioncode>$parent tax_id</sourceaccessioncode></taxonlabel></parent_id></_taxonlabel_set_parent_id>
|
26
|
<rank>$rank</rank>
|
27
|
<sourceaccessioncode>$tax_id</sourceaccessioncode>
|
28
|
<taxonepithet>
|
29
|
<_if name="if is higher taxon">
|
30
|
<cond>
|
31
|
<_alt>
|
32
|
<2>true</2>
|
33
|
<1><_is_higher_taxon><rank>$rank</rank></_is_higher_taxon></1>
|
34
|
</_alt>
|
35
|
</cond>
|
36
|
<then>$name_txt</then>
|
37
|
</_if>
|
38
|
</taxonepithet>
|
39
|
<taxonomicname>
|
40
|
<_if name="if is higher taxon">
|
41
|
<cond>
|
42
|
<_alt>
|
43
|
<2>true</2>
|
44
|
<1><_is_higher_taxon><rank>$rank</rank></_is_higher_taxon></1>
|
45
|
</_alt>
|
46
|
</cond>
|
47
|
<else>$name_txt</else>
|
48
|
</_if>
|
49
|
</taxonomicname>
|
50
|
</taxonlabel>
|
51
|
</taxonlabel_id>
|
52
|
<verbatimrank>$rank</verbatimrank>
|
53
|
</taxonverbatim>
|
54
|
</taxonverbatim_id>
|
55
|
</taxondetermination>
|
56
|
</taxonoccurrence>
|
57
|
</locationevent>
|
58
|
</location>
|
59
|
</path>
|
60
|
</_simplifyPath>
|
61
|
</VegBIEN>
|
62
|
Inserted 11 new rows into database
|