Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 3786 aaronmk
    <location id="-1">
4 4003 aaronmk
        <authorlocationcode><_merge><3>$Barcode</3></_merge></authorlocationcode>
5 3786 aaronmk
        <locationdetermination>
6
            <latitude>
7
                <_alt>
8
                    <1>
9
                        <_nullIf>
10
                            <null>0</null>
11
                            <type>float</type>
12
                            <value>$Lat</value>
13
                        </_nullIf>
14
                    </1>
15
                </_alt>
16
            </latitude>
17
            <longitude>
18
                <_alt>
19
                    <1>
20
                        <_nullIf>
21
                            <null>0</null>
22
                            <type>float</type>
23
                            <value>$Long</value>
24
                        </_nullIf>
25
                    </1>
26
                </_alt>
27
            </longitude>
28
            <namedplace_id>
29
                <_simplifyPath>
30
                    <next>parent_id/namedplace</next>
31
                    <require>placename</require>
32
                    <path>
33
                        <namedplace>
34
                            <rank>county</rank>
35
                            <parent_id>
36
                                <namedplace>
37
                                    <rank>stateProvince</rank>
38
                                    <parent_id>
39
                                        <namedplace>
40
                                            <rank>country</rank>
41
                                            <placename>$Country</placename>
42
                                        </namedplace>
43
                                    </parent_id>
44
                                </namedplace>
45
                            </parent_id>
46
                        </namedplace>
47
                    </path>
48
                </_simplifyPath>
49
            </namedplace_id>
50
        </locationdetermination>
51
        <locationevent>
52 3915 aaronmk
            <taxonoccurrence>
53
                <aggregateoccurrence>
54
                    <collectiondate>
55
                        <_date>
56
                            <date>
57 3919 aaronmk
                                <_dateRangeStart>
58
                                    <value>
59
                                        <_alt>
60
                                            <1>
61
                                                <_date>
62
                                                    <day>
63
                                                        <_nullIf>
64
                                                            <null>0</null>
65
                                                            <type>float</type>
66
                                                            <value>$Colldd</value>
67
                                                        </_nullIf>
68
                                                    </day>
69
                                                    <month>
70
                                                        <_nullIf>
71
                                                            <null>0</null>
72
                                                            <type>float</type>
73
                                                            <value>$Collmm</value>
74
                                                        </_nullIf>
75
                                                    </month>
76
                                                    <year>
77
                                                        <_nullIf>
78
                                                            <null>0</null>
79
                                                            <type>float</type>
80
                                                            <value>$Collyy</value>
81
                                                        </_nullIf>
82
                                                    </year>
83
                                                </_date>
84
                                            </1>
85
                                        </_alt>
86
                                    </value>
87
                                </_dateRangeStart>
88 3915 aaronmk
                            </date>
89
                        </_date>
90
                    </collectiondate>
91 3912 aaronmk
                    <notes>$Notes</notes>
92 3907 aaronmk
                    <plantobservation>
93 4007 aaronmk
                        <authorplantcode><_alt><2>$Number</2></_alt></authorplantcode>
94 4006 aaronmk
                        <sourceaccessioncode>$ID</sourceaccessioncode>
95 3907 aaronmk
                        <specimenreplicate>
96 3946 aaronmk
                            <_if name="if indirect voucher"><else><catalognumber_dwc>$Barcode</catalognumber_dwc></else></_if>
97 3973 aaronmk
                            <collectionnumber><_alt><2>$Number</2></_alt></collectionnumber>
98 3907 aaronmk
                            <sourceaccessioncode>$ID</sourceaccessioncode>
99
                        </specimenreplicate>
100
                    </plantobservation>
101
                </aggregateoccurrence>
102 4007 aaronmk
                <sourceaccessioncode>
103
                    <_alt>
104
                        <1>$ID</1>
105
                        <2><_alt><2>$Number</2></_alt></2>
106
                    </_alt>
107
                </sourceaccessioncode>
108 3786 aaronmk
                <taxondetermination>
109 3980 aaronmk
                    <isoriginal>true</isoriginal>
110 3786 aaronmk
                    <role>identifier</role>
111 3979 aaronmk
                    <party_id>
112
                        <party>
113
                            <givenname><_namePart><first>$Detby</first></_namePart></givenname>
114
                            <middlename><_namePart><middle>$Detby</middle></_namePart></middlename>
115
                            <surname><_namePart><last>$Detby</last></_namePart></surname>
116
                        </party>
117
                    </party_id>
118 3786 aaronmk
                    <plantconcept_id>
119
                        <plantconcept>
120
                            <plantname_id>
121
                                <_simplifyPath>
122
                                    <next>parent_id/plantname</next>
123
                                    <require>plantname</require>
124
                                    <path>
125 3641 aaronmk
                                        <plantname>
126 3786 aaronmk
                                            <rank>binomial</rank>
127 3641 aaronmk
                                            <parent_id>
128
                                                <plantname>
129 3786 aaronmk
                                                    <rank>authority</rank>
130 3641 aaronmk
                                                    <parent_id>
131
                                                        <plantname>
132 3786 aaronmk
                                                            <rank>subspecies</rank>
133 3641 aaronmk
                                                            <parent_id>
134
                                                                <plantname>
135 3786 aaronmk
                                                                    <rank>species</rank>
136 3641 aaronmk
                                                                    <parent_id>
137
                                                                        <plantname>
138 3786 aaronmk
                                                                            <rank>genus</rank>
139
                                                                            <plantname>$Genus</plantname>
140
                                                                            <parent_id>
141
                                                                                <plantname>
142
                                                                                    <rank>family</rank>
143
                                                                                    <plantname>$Family</plantname>
144
                                                                                </plantname>
145
                                                                            </parent_id>
146 3641 aaronmk
                                                                        </plantname>
147
                                                                    </parent_id>
148
                                                                </plantname>
149
                                                            </parent_id>
150
                                                        </plantname>
151
                                                    </parent_id>
152
                                                </plantname>
153
                                            </parent_id>
154
                                        </plantname>
155 3786 aaronmk
                                    </path>
156
                                </_simplifyPath>
157
                            </plantname_id>
158
                        </plantconcept>
159
                    </plantconcept_id>
160 3980 aaronmk
                    <determinationdate>
161
                        <_date>
162
                            <date>
163
                                <_dateRangeStart>
164
                                    <value>
165
                                        <_alt>
166
                                            <1>
167
                                                <_date>
168
                                                    <year>
169
                                                        <_nullIf>
170
                                                            <null>0</null>
171
                                                            <type>float</type>
172
                                                            <value>$Detyy</value>
173
                                                        </_nullIf>
174
                                                    </year>
175
                                                </_date>
176
                                            </1>
177
                                        </_alt>
178
                                    </value>
179
                                </_dateRangeStart>
180
                            </date>
181
                        </_date>
182
                    </determinationdate>
183
                    <taxonfit>$cf</taxonfit>
184 3786 aaronmk
                </taxondetermination>
185 3934 aaronmk
                <verbatimcollectorname>
186
                    <_merge>
187
                        <1>$Collector</1>
188
                        <2>$Addcoll</2>
189
                    </_merge>
190
                </verbatimcollectorname>
191 3907 aaronmk
            </taxonoccurrence>
192 3786 aaronmk
        </locationevent>
193
        <locationnarrative>
194 3641 aaronmk
            <_merge>
195 3786 aaronmk
                <2>
196
                    <_merge>
197
                        <1>
198
                            <_label>
199
                                <label>gazetteer</label>
200
                                <value>
201
                                    <_merge>
202
                                        <1>$Gazetteer</1>
203
                                        <2>$Newgazett</2>
204
                                    </_merge>
205
                                </value>
206
                            </_label>
207
                        </1>
208
                        <2>$Locnotes</2>
209
                    </_merge>
210
                </2>
211
                <3>
212
                    <_label>
213
                        <label>habitat</label>
214
                        <value>$Ecology</value>
215
                    </_label>
216
                </3>
217 3641 aaronmk
            </_merge>
218 3786 aaronmk
        </locationnarrative>
219 4005 aaronmk
        <sourceaccessioncode><_alt><1>$ID</1></_alt></sourceaccessioncode>
220 3786 aaronmk
    </location>
221 3641 aaronmk
</VegBIEN>
222 3907 aaronmk
Inserted 26 new rows into database