Project

General

Profile

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