1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>CTFS.new</shortname></source></source_id>
|
5
|
<path>
|
6
|
<_simplifyPath>
|
7
|
<next>parent_id</next>
|
8
|
<path>
|
9
|
<location>
|
10
|
<parent_id><location><sourceaccessioncode>$locationID</sourceaccessioncode></location></parent_id>
|
11
|
<authorlocationcode>$subplot</authorlocationcode>
|
12
|
<locationevent>
|
13
|
<parent_id>
|
14
|
<locationevent>
|
15
|
<location_id>
|
16
|
<location>
|
17
|
<sourceaccessioncode>
|
18
|
<_if name="if subplot">
|
19
|
<cond>$subplot</cond>
|
20
|
<then>$locationID</then>
|
21
|
</_if>
|
22
|
</sourceaccessioncode>
|
23
|
</location>
|
24
|
</location_id>
|
25
|
<sourceaccessioncode>$eventID</sourceaccessioncode>
|
26
|
</locationevent>
|
27
|
</parent_id>
|
28
|
<taxonoccurrence>
|
29
|
<aggregateoccurrence>
|
30
|
<plantobservation>
|
31
|
<sourceaccessioncode>$individualID</sourceaccessioncode>
|
32
|
<stemobservation>
|
33
|
<authorstemcode>$authorStemCode</authorstemcode>
|
34
|
<diameterbreastheight_m><_cm_to_m><value>$diameterBreastHeight_cm</value></_cm_to_m></diameterbreastheight_m>
|
35
|
<tag>$tag</tag>
|
36
|
<xposition_m>$organismX_m</xposition_m>
|
37
|
<yposition_m>$organismY_m</yposition_m>
|
38
|
</stemobservation>
|
39
|
</plantobservation>
|
40
|
</aggregateoccurrence>
|
41
|
<authortaxoncode>$tag</authortaxoncode>
|
42
|
<sourceaccessioncode>$individualID</sourceaccessioncode>
|
43
|
<taxondetermination>
|
44
|
<taxonverbatim_id>
|
45
|
<taxonverbatim>
|
46
|
<taxonlabel_id>
|
47
|
<taxonlabel>
|
48
|
<parent_id>
|
49
|
<taxonlabel>
|
50
|
<parent_id>
|
51
|
<taxonlabel>
|
52
|
<rank>cultivar</rank>
|
53
|
<parent_id>
|
54
|
<taxonlabel>
|
55
|
<rank>forma</rank>
|
56
|
<parent_id>
|
57
|
<taxonlabel>
|
58
|
<rank>variety</rank>
|
59
|
<parent_id>
|
60
|
<taxonlabel>
|
61
|
<rank>subspecies</rank>
|
62
|
<taxonepithet>$subspecies</taxonepithet>
|
63
|
<parent_id>
|
64
|
<taxonlabel>
|
65
|
<rank>species</rank>
|
66
|
<taxonepithet>$specificEpithet</taxonepithet>
|
67
|
<parent_id>
|
68
|
<taxonlabel>
|
69
|
<rank>genus</rank>
|
70
|
<taxonepithet>$genus</taxonepithet>
|
71
|
<parent_id>
|
72
|
<taxonlabel>
|
73
|
<rank>family</rank>
|
74
|
<taxonepithet>$family</taxonepithet>
|
75
|
</taxonlabel>
|
76
|
</parent_id>
|
77
|
</taxonlabel>
|
78
|
</parent_id>
|
79
|
</taxonlabel>
|
80
|
</parent_id>
|
81
|
</taxonlabel>
|
82
|
</parent_id>
|
83
|
</taxonlabel>
|
84
|
</parent_id>
|
85
|
</taxonlabel>
|
86
|
</parent_id>
|
87
|
</taxonlabel>
|
88
|
</parent_id>
|
89
|
</taxonlabel>
|
90
|
</parent_id>
|
91
|
<taxonomicname>
|
92
|
<_merge_prefix>
|
93
|
<prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
|
94
|
<value>
|
95
|
<_join_words>
|
96
|
<1>
|
97
|
<_join_words>
|
98
|
<2><_filter_genus><value>$genus</value></_filter_genus></2>
|
99
|
<3>$specificEpithet</3>
|
100
|
<4>$subspecies</4>
|
101
|
</_join_words>
|
102
|
</1>
|
103
|
<2>$scientificNameAuthorship</2>
|
104
|
</_join_words>
|
105
|
</value>
|
106
|
</_merge_prefix>
|
107
|
</taxonomicname>
|
108
|
</taxonlabel>
|
109
|
</taxonlabel_id>
|
110
|
<author>$scientificNameAuthorship</author>
|
111
|
<family>$family</family>
|
112
|
<genus>$genus</genus>
|
113
|
<specific_epithet>$specificEpithet</specific_epithet>
|
114
|
</taxonverbatim>
|
115
|
</taxonverbatim_id>
|
116
|
</taxondetermination>
|
117
|
</taxonoccurrence>
|
118
|
</locationevent>
|
119
|
<sourceaccessioncode>
|
120
|
<_join>
|
121
|
<1>$locationID</1>
|
122
|
<2>$subplot</2>
|
123
|
</_join>
|
124
|
</sourceaccessioncode>
|
125
|
</location>
|
126
|
</path>
|
127
|
</_simplifyPath>
|
128
|
</path>
|
129
|
</_setDefault>
|
130
|
</VegBIEN>
|
131
|
Inserted 18 new rows into database
|