Project

General

Profile

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
                            <locationevent fkey="parent_id">
29
                                <sourceaccessioncode>$eventID</sourceaccessioncode>
30
                                <taxonoccurrence>
31
                                    <aggregateoccurrence>
32
                                        <plantobservation>
33
                                            <sourceaccessioncode>$individualID</sourceaccessioncode>
34
                                            <stemobservation>
35
                                                <authorstemcode>$authorStemCode</authorstemcode>
36
                                                <diameterbreastheight_m><_cm_to_m><value>$diameterBreastHeight_cm</value></_cm_to_m></diameterbreastheight_m>
37
                                                <tag>$tag</tag>
38
                                                <xposition_m>$organismX_m</xposition_m>
39
                                                <yposition_m>$organismY_m</yposition_m>
40
                                            </stemobservation>
41
                                        </plantobservation>
42
                                    </aggregateoccurrence>
43
                                    <authortaxoncode>$tag</authortaxoncode>
44
                                    <sourceaccessioncode>$individualID</sourceaccessioncode>
45
                                    <taxondetermination>
46
                                        <taxonverbatim_id>
47
                                            <taxonverbatim>
48
                                                <taxonlabel_id>
49
                                                    <taxonlabel>
50
                                                        <parent_id>
51
                                                            <taxonlabel>
52
                                                                <parent_id>
53
                                                                    <taxonlabel>
54
                                                                        <rank>cultivar</rank>
55
                                                                        <parent_id>
56
                                                                            <taxonlabel>
57
                                                                                <rank>forma</rank>
58
                                                                                <parent_id>
59
                                                                                    <taxonlabel>
60
                                                                                        <rank>variety</rank>
61
                                                                                        <parent_id>
62
                                                                                            <taxonlabel>
63
                                                                                                <rank>subspecies</rank>
64
                                                                                                <taxonepithet>$subspecies</taxonepithet>
65
                                                                                                <parent_id>
66
                                                                                                    <taxonlabel>
67
                                                                                                        <rank>species</rank>
68
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
69
                                                                                                        <parent_id>
70
                                                                                                            <taxonlabel>
71
                                                                                                                <rank>genus</rank>
72
                                                                                                                <taxonepithet>$genus</taxonepithet>
73
                                                                                                                <parent_id>
74
                                                                                                                    <taxonlabel>
75
                                                                                                                        <rank>family</rank>
76
                                                                                                                        <taxonepithet>$family</taxonepithet>
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
                                                            </taxonlabel>
92
                                                        </parent_id>
93
                                                        <taxonomicname>
94
                                                            <_merge_prefix>
95
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
96
                                                                <value>
97
                                                                    <_join_words>
98
                                                                        <1>
99
                                                                            <_join_words>
100
                                                                                <2><_filter_genus><value>$genus</value></_filter_genus></2>
101
                                                                                <3>$specificEpithet</3>
102
                                                                                <4>$subspecies</4>
103
                                                                            </_join_words>
104
                                                                        </1>
105
                                                                        <2>$scientificNameAuthorship</2>
106
                                                                    </_join_words>
107
                                                                </value>
108
                                                            </_merge_prefix>
109
                                                        </taxonomicname>
110
                                                    </taxonlabel>
111
                                                </taxonlabel_id>
112
                                                <author>$scientificNameAuthorship</author>
113
                                                <family>$family</family>
114
                                                <genus>$genus</genus>
115
                                                <specific_epithet>$specificEpithet</specific_epithet>
116
                                            </taxonverbatim>
117
                                        </taxonverbatim_id>
118
                                    </taxondetermination>
119
                                </taxonoccurrence>
120
                            </locationevent>
121
                        </locationevent>
122
                        <sourceaccessioncode>
123
                            <_join>
124
                                <1>$locationID</1>
125
                                <2>$subplot</2>
126
                            </_join>
127
                        </sourceaccessioncode>
128
                    </location>
129
                </path>
130
            </_simplifyPath>
131
        </path>
132
    </_setDefault>
133
</VegBIEN>
134
Inserted 18 new rows into database
(10-10/11)