Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>$accession</authorlocationcode>
8
                <locationevent>
9
                    <taxonoccurrence>
10
                        <aggregateoccurrence>
11
                            <collectiondate>
12
                                <_date>
13
                                    <day>
14
                                        <_nullIf>
15
                                            <null>0</null>
16
                                            <type>float</type>
17
                                            <value>$collday</value>
18
                                        </_nullIf>
19
                                    </day>
20
                                    <month>
21
                                        <_nullIf>
22
                                            <null>0</null>
23
                                            <type>float</type>
24
                                            <value>$collmonth</value>
25
                                        </_nullIf>
26
                                    </month>
27
                                    <year>
28
                                        <_nullIf>
29
                                            <null>0</null>
30
                                            <type>float</type>
31
                                            <value>$collyear</value>
32
                                        </_nullIf>
33
                                    </year>
34
                                </_date>
35
                            </collectiondate>
36
                            <notes>
37
                                <_join>
38
                                    <1>$comment1</1>
39
                                    <2>$comment2</2>
40
                                    <3>$comment3</3>
41
                                    <4>$comment4</4>
42
                                    <5>
43
                                        <_label>
44
                                            <label>campus</label>
45
                                            <value>$campus</value>
46
                                        </_label>
47
                                    </5>
48
                                    <6>
49
                                        <_label>
50
                                            <label>loaned to</label>
51
                                            <value>$loanto</value>
52
                                        </_label>
53
                                    </6>
54
                                    <7>
55
                                        <_label>
56
                                            <label>in or out</label>
57
                                            <value>$inorout</value>
58
                                        </_label>
59
                                    </7>
60
                                </_join>
61
                            </notes>
62
                            <plantobservation>
63
                                <collectionnumber>$collectno</collectionnumber>
64
                                <specimenreplicate>
65
                                    <institution_id><party><organizationname>$herbarium</organizationname></party></institution_id>
66
                                    <sourceaccessioncode>$accession</sourceaccessioncode>
67
                                </specimenreplicate>
68
                            </plantobservation>
69
                        </aggregateoccurrence>
70
                        <authortaxoncode>$collectno</authortaxoncode>
71
                        <iscultivated>$cultivated</iscultivated>
72
                        <sourceaccessioncode>$accession</sourceaccessioncode>
73
                        <taxondetermination>
74
                            <taxonpath_id>
75
                                <taxonpath>
76
                                    <author>$authors</author>
77
                                    <family>$family</family>
78
                                    <genus>$genus</genus>
79
                                    <identifyingtaxonomicname>
80
                                        <_join_words>
81
                                            <1>
82
                                                <_alt>
83
                                                    <1>$SciName</1>
84
                                                    <2>
85
                                                        <_join_words>
86
                                                            <1>$family</1>
87
                                                            <2>$genus</2>
88
                                                            <3>$species</3>
89
                                                            <5>
90
                                                                <_join_words>
91
                                                                    <1>
92
                                                                        <_if name="if has infraspecificEpithet">
93
                                                                            <cond>$infraname</cond>
94
                                                                            <then>
95
                                                                                <_alt>
96
                                                                                    <1>$usdaRank</1>
97
                                                                                    <2>$infrarank</2>
98
                                                                                </_alt>
99
                                                                            </then>
100
                                                                        </_if>
101
                                                                    </1>
102
                                                                    <2>$infraname</2>
103
                                                                </_join_words>
104
                                                            </5>
105
                                                        </_join_words>
106
                                                    </2>
107
                                                </_alt>
108
                                            </1>
109
                                            <2>$authors</2>
110
                                        </_join_words>
111
                                    </identifyingtaxonomicname>
112
                                    <species>$species</species>
113
                                    <subspecies>
114
                                        <_join_words>
115
                                            <1>
116
                                                <_if name="if has infraspecificEpithet">
117
                                                    <cond>$infraname</cond>
118
                                                    <then>
119
                                                        <_alt>
120
                                                            <1>$usdaRank</1>
121
                                                            <2>$infrarank</2>
122
                                                        </_alt>
123
                                                    </then>
124
                                                </_if>
125
                                            </1>
126
                                            <2>$infraname</2>
127
                                        </_join_words>
128
                                    </subspecies>
129
                                    <taxonomicname>$SciName</taxonomicname>
130
                                </taxonpath>
131
                            </taxonpath_id>
132
                        </taxondetermination>
133
                        <verbatimcollectorname>
134
                            <_join>
135
                                <1>$collector</1>
136
                                <2>$collector1</2>
137
                                <3>$collector2</3>
138
                                <4>$collector3</4>
139
                            </_join>
140
                        </verbatimcollectorname>
141
                    </taxonoccurrence>
142
                </locationevent>
143
                <locationnarrative>
144
                    <_merge>
145
                        <1>$locality</1>
146
                        <3>
147
                            <_label>
148
                                <label>habitat</label>
149
                                <value>$habitat</value>
150
                            </_label>
151
                        </3>
152
                    </_merge>
153
                </locationnarrative>
154
                <locationplace>
155
                    <placepath_id>
156
                        <placepath>
157
                            <country>$country</country>
158
                            <county>$county</county>
159
                            <stateprovince>$state</stateprovince>
160
                        </placepath>
161
                    </placepath_id>
162
                </locationplace>
163
            </location>
164
        </path>
165
    </_simplifyPath>
166
</VegBIEN>
167
Inserted 20 new rows into database
(5-5/6)