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