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 taxonomic name is epithet">
|
30
|
<cond>
|
31
|
<_alt>
|
32
|
<2>true</2>
|
33
|
<1><_taxonomic_name_is_epithet><rank>$rank</rank></_taxonomic_name_is_epithet></1>
|
34
|
</_alt>
|
35
|
</cond>
|
36
|
<then>$name_txt</then>
|
37
|
</_if>
|
38
|
</taxonepithet>
|
39
|
<taxonomicname>
|
40
|
<_if name="if has taxonomic name">
|
41
|
<cond><_has_taxonomic_name><rank>$rank</rank></_has_taxonomic_name></cond>
|
42
|
<then>$name_txt</then>
|
43
|
</_if>
|
44
|
</taxonomicname>
|
45
|
</taxonlabel>
|
46
|
</taxonlabel_id>
|
47
|
<verbatimrank>$rank</verbatimrank>
|
48
|
</taxonverbatim>
|
49
|
</taxonverbatim_id>
|
50
|
</taxondetermination>
|
51
|
</taxonoccurrence>
|
52
|
</locationevent>
|
53
|
</location>
|
54
|
</path>
|
55
|
</_simplifyPath>
|
56
|
</VegBIEN>
|
57
|
Inserted 8 new rows into database
|