1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<col>source_id</col>
|
5
|
<value><source><shortname>NCBI</shortname></source></value>
|
6
|
<path>
|
7
|
<_simplifyPath>
|
8
|
<next>parent_id</next>
|
9
|
<path>
|
10
|
<location>
|
11
|
<locationevent>
|
12
|
<taxonoccurrence>
|
13
|
<taxondetermination>
|
14
|
<taxonverbatim_id>
|
15
|
<taxonverbatim>
|
16
|
<taxonlabel_id>
|
17
|
<taxonlabel>
|
18
|
<_taxonlabel_set_parent_id><parent_id><taxonlabel><sourceaccessioncode>$parent tax_id</sourceaccessioncode></taxonlabel></parent_id></_taxonlabel_set_parent_id>
|
19
|
<rank>$rank</rank>
|
20
|
<sourceaccessioncode>$tax_id</sourceaccessioncode>
|
21
|
<taxonepithet>
|
22
|
<_if name="if taxonomic name is epithet">
|
23
|
<cond>
|
24
|
<_alt>
|
25
|
<2>true</2>
|
26
|
<1><_taxonomic_name_is_epithet><rank>$rank</rank></_taxonomic_name_is_epithet></1>
|
27
|
</_alt>
|
28
|
</cond>
|
29
|
<then>$name_txt</then>
|
30
|
</_if>
|
31
|
</taxonepithet>
|
32
|
<taxonomicname>$name_txt</taxonomicname>
|
33
|
</taxonlabel>
|
34
|
</taxonlabel_id>
|
35
|
<verbatimrank>$rank</verbatimrank>
|
36
|
</taxonverbatim>
|
37
|
</taxonverbatim_id>
|
38
|
</taxondetermination>
|
39
|
</taxonoccurrence>
|
40
|
</locationevent>
|
41
|
</location>
|
42
|
</path>
|
43
|
</_simplifyPath>
|
44
|
</path>
|
45
|
</_setDefault>
|
46
|
</VegBIEN>
|
47
|
Inserted 6 new rows into database
|