Revision 3641
Added by Aaron Marcuse-Kubitza over 12 years ago
import.specimens.out.ref | ||
---|---|---|
1 |
Put template: |
|
2 |
<VegBIEN> |
|
3 |
<_ignore><inLabel>UNCC</inLabel></_ignore> |
|
4 |
<specimenreplicate id="-1"> |
|
5 |
<datasource_id><party><organizationname><_alt><2>UNCC</2></_alt></organizationname></party></datasource_id> |
|
6 |
<locationevent_id> |
|
7 |
<locationevent> |
|
8 |
<location_id> |
|
9 |
<location> |
|
10 |
<datasource_id><party><organizationname><_alt><2>UNCC</2></_alt></organizationname></party></datasource_id> |
|
11 |
<locationdetermination> |
|
12 |
<namedplace_id> |
|
13 |
<_simplifyPath> |
|
14 |
<next>parent_id/namedplace</next> |
|
15 |
<require>placename</require> |
|
16 |
<path> |
|
17 |
<namedplace> |
|
18 |
<rank>county</rank> |
|
19 |
<placename>$county</placename> |
|
20 |
<parent_id> |
|
21 |
<namedplace> |
|
22 |
<rank>stateProvince</rank> |
|
23 |
<placename>$state</placename> |
|
24 |
<parent_id> |
|
25 |
<namedplace> |
|
26 |
<rank>country</rank> |
|
27 |
<placename>$country</placename> |
|
28 |
</namedplace> |
|
29 |
</parent_id> |
|
30 |
</namedplace> |
|
31 |
</parent_id> |
|
32 |
</namedplace> |
|
33 |
</path> |
|
34 |
</_simplifyPath> |
|
35 |
</namedplace_id> |
|
36 |
</locationdetermination> |
|
37 |
<locationnarrative> |
|
38 |
<_merge> |
|
39 |
<1>$locality</1> |
|
40 |
<3> |
|
41 |
<_label> |
|
42 |
<label>habitat</label> |
|
43 |
<value>$habitat</value> |
|
44 |
</_label> |
|
45 |
</3> |
|
46 |
</_merge> |
|
47 |
</locationnarrative> |
|
48 |
<sourceaccessioncode> |
|
49 |
<_alt> |
|
50 |
<2><_merge><2>$herbarium</2></_merge></2> |
|
51 |
<1>$accession</1> |
|
52 |
</_alt> |
|
53 |
</sourceaccessioncode> |
|
54 |
</location> |
|
55 |
</location_id> |
|
56 |
<obsstartdate> |
|
57 |
<_date> |
|
58 |
<date> |
|
59 |
<_dateRangeStart> |
|
60 |
<value> |
|
61 |
<_alt> |
|
62 |
<1> |
|
63 |
<_date> |
|
64 |
<day> |
|
65 |
<_nullIf> |
|
66 |
<null>0</null> |
|
67 |
<type>float</type> |
|
68 |
<value>$collday</value> |
|
69 |
</_nullIf> |
|
70 |
</day> |
|
71 |
<month> |
|
72 |
<_nullIf> |
|
73 |
<null>0</null> |
|
74 |
<type>float</type> |
|
75 |
<value>$collmonth</value> |
|
76 |
</_nullIf> |
|
77 |
</month> |
|
78 |
<year> |
|
79 |
<_nullIf> |
|
80 |
<null>0</null> |
|
81 |
<type>float</type> |
|
82 |
<value>$collyear</value> |
|
83 |
</_nullIf> |
|
84 |
</year> |
|
85 |
</_date> |
|
86 |
</1> |
|
87 |
</_alt> |
|
88 |
</value> |
|
89 |
</_dateRangeStart> |
|
90 |
</date> |
|
91 |
</_date> |
|
92 |
</obsstartdate> |
|
93 |
<obsenddate> |
|
94 |
<_date> |
|
95 |
<date> |
|
96 |
<_dateRangeEnd> |
|
97 |
<value> |
|
98 |
<_alt> |
|
99 |
<1> |
|
100 |
<_date> |
|
101 |
<day> |
|
102 |
<_nullIf> |
|
103 |
<null>0</null> |
|
104 |
<type>float</type> |
|
105 |
<value>$collday</value> |
|
106 |
</_nullIf> |
|
107 |
</day> |
|
108 |
<month> |
|
109 |
<_nullIf> |
|
110 |
<null>0</null> |
|
111 |
<type>float</type> |
|
112 |
<value>$collmonth</value> |
|
113 |
</_nullIf> |
|
114 |
</month> |
|
115 |
<year> |
|
116 |
<_nullIf> |
|
117 |
<null>0</null> |
|
118 |
<type>float</type> |
|
119 |
<value>$collyear</value> |
|
120 |
</_nullIf> |
|
121 |
</year> |
|
122 |
</_date> |
|
123 |
</1> |
|
124 |
</_alt> |
|
125 |
</value> |
|
126 |
</_dateRangeEnd> |
|
127 |
</date> |
|
128 |
</_date> |
|
129 |
</obsenddate> |
|
130 |
</locationevent> |
|
131 |
</locationevent_id> |
|
132 |
<collectionnumber><_alt><1><_alt><1>$collectno</1></_alt></1></_alt></collectionnumber> |
|
133 |
<description> |
|
134 |
<_merge> |
|
135 |
<1> |
|
136 |
<_merge> |
|
137 |
<1>$comment1</1> |
|
138 |
<2>$comment2</2> |
|
139 |
<3>$comment3</3> |
|
140 |
<4>$comment4</4> |
|
141 |
<5> |
|
142 |
<_label> |
|
143 |
<label>campus</label> |
|
144 |
<value>$campus</value> |
|
145 |
</_label> |
|
146 |
</5> |
|
147 |
<6> |
|
148 |
<_label> |
|
149 |
<label>loaned to</label> |
|
150 |
<value>$loanto</value> |
|
151 |
</_label> |
|
152 |
</6> |
|
153 |
<7> |
|
154 |
<_label> |
|
155 |
<label>in or out</label> |
|
156 |
<value>$inorout</value> |
|
157 |
</_label> |
|
158 |
</7> |
|
159 |
</_merge> |
|
160 |
</1> |
|
161 |
</_merge> |
|
162 |
</description> |
|
163 |
<taxondetermination> |
|
164 |
<isoriginal>true</isoriginal> |
|
165 |
<iscurrent>true</iscurrent> |
|
166 |
<role>identifier</role> |
|
167 |
<plantconcept_id> |
|
168 |
<plantconcept> |
|
169 |
<plantname_id> |
|
170 |
<_simplifyPath> |
|
171 |
<next>parent_id/plantname</next> |
|
172 |
<require>plantname</require> |
|
173 |
<path> |
|
174 |
<plantname> |
|
175 |
<rank>binomial</rank> |
|
176 |
<plantname>$SciName</plantname> |
|
177 |
<parent_id> |
|
178 |
<plantname> |
|
179 |
<rank>authority</rank> |
|
180 |
<plantname>$authors</plantname> |
|
181 |
<parent_id> |
|
182 |
<plantname> |
|
183 |
<rank>subspecies</rank> |
|
184 |
<plantname>$infraname</plantname> |
|
185 |
<parent_id> |
|
186 |
<plantname> |
|
187 |
<rank>species</rank> |
|
188 |
<plantname>$species</plantname> |
|
189 |
<parent_id> |
|
190 |
<plantname> |
|
191 |
<rank>genus</rank> |
|
192 |
<plantname>$genus</plantname> |
|
193 |
<parent_id> |
|
194 |
<plantname> |
|
195 |
<rank>family</rank> |
|
196 |
<plantname>$family</plantname> |
|
197 |
</plantname> |
|
198 |
</parent_id> |
|
199 |
</plantname> |
|
200 |
</parent_id> |
|
201 |
</plantname> |
|
202 |
</parent_id> |
|
203 |
</plantname> |
|
204 |
</parent_id> |
|
205 |
</plantname> |
|
206 |
</parent_id> |
|
207 |
</plantname> |
|
208 |
</path> |
|
209 |
</_simplifyPath> |
|
210 |
</plantname_id> |
|
211 |
</plantconcept> |
|
212 |
</plantconcept_id> |
|
213 |
</taxondetermination> |
|
214 |
<verbatimcollectorname> |
|
215 |
<_merge> |
|
216 |
<1>$collector</1> |
|
217 |
<2>$collector1</2> |
|
218 |
<3>$collector2</3> |
|
219 |
<4>$collector3</4> |
|
220 |
</_merge> |
|
221 |
</verbatimcollectorname> |
|
222 |
<collectioncode_dwc>$herbarium</collectioncode_dwc> |
|
223 |
<growthform> |
|
224 |
<_map> |
|
225 |
<tree>*</tree> |
|
226 |
<shrub>*</shrub> |
|
227 |
<liana>*</liana> |
|
228 |
<vine>*</vine> |
|
229 |
<herb>*</herb> |
|
230 |
<hemiepiphyte>*</hemiepiphyte> |
|
231 |
<epiphyte>*</epiphyte> |
|
232 |
<grass>*</grass> |
|
233 |
<forb>*</forb> |
|
234 |
<moss>*</moss> |
|
235 |
<lichen>*</lichen> |
|
236 |
<fungus>*</fungus> |
|
237 |
<floating aquatic>*</floating aquatic> |
|
238 |
<submerged aquatic>*</submerged aquatic> |
|
239 |
<*></*> |
|
240 |
<value> |
|
241 |
<_map> |
|
242 |
<Y>cultivated</Y> |
|
243 |
<N>wild</N> |
|
244 |
<*></*> |
|
245 |
<value>$cultivated</value> |
|
246 |
</_map> |
|
247 |
</value> |
|
248 |
</_map> |
|
249 |
</growthform> |
|
250 |
<iscultivated> |
|
251 |
<_map> |
|
252 |
<cultivated>t</cultivated> |
|
253 |
<wild>f</wild> |
|
254 |
<*></*> |
|
255 |
<value> |
|
256 |
<_map> |
|
257 |
<Y>cultivated</Y> |
|
258 |
<N>wild</N> |
|
259 |
<*></*> |
|
260 |
<value>$cultivated</value> |
|
261 |
</_map> |
|
262 |
</value> |
|
263 |
</_map> |
|
264 |
</iscultivated> |
|
265 |
<isnative> |
|
266 |
<_map> |
|
267 |
<native>t</native> |
|
268 |
<exotic>f</exotic> |
|
269 |
<*></*> |
|
270 |
<value> |
|
271 |
<_map> |
|
272 |
<Y>cultivated</Y> |
|
273 |
<N>wild</N> |
|
274 |
<*></*> |
|
275 |
<value>$cultivated</value> |
|
276 |
</_map> |
|
277 |
</value> |
|
278 |
</_map> |
|
279 |
</isnative> |
|
280 |
<sourceaccessioncode>$accession</sourceaccessioncode> |
|
281 |
</specimenreplicate> |
|
282 |
</VegBIEN> |
|
1 | 283 |
Inserted 15 new rows into database |
Also available in: Unified diff
bin/map: out_is_db: Output the put template to stdout so it will be validated in the automated testing