Project

General

Profile

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