1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>NCBI.new</shortname></source></source_id>
|
5
|
<path>
|
6
|
<_simplifyPath>
|
7
|
<next>parent_id</next>
|
8
|
<path>
|
9
|
<location>
|
10
|
<locationevent>
|
11
|
<locationevent fkey="parent_id">
|
12
|
<taxonoccurrence>
|
13
|
<taxondetermination>
|
14
|
<taxonverbatim_id>
|
15
|
<taxonverbatim>
|
16
|
<taxonlabel_id>
|
17
|
<taxonlabel>
|
18
|
<_taxonlabel_set_parent_id><parent_id><taxonlabel><sourceaccessioncode>$parentTaxonID</sourceaccessioncode></taxonlabel></parent_id></_taxonlabel_set_parent_id>
|
19
|
<rank>$taxonRank</rank>
|
20
|
<sourceaccessioncode>$taxonID</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>$taxonRank</rank></_taxonomic_name_is_epithet></1>
|
27
|
</_alt>
|
28
|
</cond>
|
29
|
<then>$taxonNameOrEpithet</then>
|
30
|
</_if>
|
31
|
</taxonepithet>
|
32
|
<taxonomicname>$taxonNameOrEpithet</taxonomicname>
|
33
|
</taxonlabel>
|
34
|
</taxonlabel_id>
|
35
|
<verbatimrank>$taxonRank</verbatimrank>
|
36
|
</taxonverbatim>
|
37
|
</taxonverbatim_id>
|
38
|
</taxondetermination>
|
39
|
</taxonoccurrence>
|
40
|
</locationevent>
|
41
|
</locationevent>
|
42
|
</location>
|
43
|
</path>
|
44
|
</_simplifyPath>
|
45
|
</path>
|
46
|
</_setDefault>
|
47
|
</VegBIEN>
|
48
|
Inserted 6 new rows into database
|