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