Revision 6403
Added by Aaron Marcuse-Kubitza over 11 years ago
test.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 |
<_simplifyPath id="-1"> |
|
4 |
<next>parent_id</next> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<col>source_id</col> |
|
5 |
<value><source><shortname>Madidi</shortname></source></value> |
|
5 | 6 |
<path> |
6 |
<location> |
|
7 |
<parent_id> |
|
7 |
<_simplifyPath> |
|
8 |
<next>parent_id</next> |
|
9 |
<path> |
|
8 | 10 |
<location> |
9 |
<authorlocationcode>$Inventory name</authorlocationcode>
|
|
10 |
<sourceaccessioncode>$Inventory code</sourceaccessioncode>
|
|
11 |
</location>
|
|
12 |
</parent_id>
|
|
13 |
<authorlocationcode>$Number of subplot</authorlocationcode>
|
|
14 |
<locationevent>
|
|
15 |
<project_id><project><projectname>$Expedition</projectname></project></project_id>
|
|
16 |
<taxonoccurrence>
|
|
17 |
<aggregateoccurrence>
|
|
18 |
<notes>$Observations</notes>
|
|
19 |
<plantobservation>
|
|
20 |
<collectionnumber>$Tree number</collectionnumber>
|
|
21 |
<specimenreplicate><catalognumber_dwc>$Specimen</catalognumber_dwc></specimenreplicate>
|
|
22 |
<stemobservation>
|
|
23 |
<authorstemcode>$Trunk</authorstemcode>
|
|
24 |
<definedvalue fkey="tablerecord_id">
|
|
25 |
<userdefined_id>
|
|
26 |
<userdefined>
|
|
27 |
<tablename>stemobservation</tablename>
|
|
28 |
<userdefinedname>lianaInfestation</userdefinedname>
|
|
29 |
</userdefined>
|
|
30 |
</userdefined_id>
|
|
31 |
<definedvalue>$Liana presence</definedvalue>
|
|
32 |
</definedvalue>
|
|
33 |
<diameterbreastheight_m><_cm_to_m><value>$Diameter</value></_cm_to_m></diameterbreastheight_m>
|
|
34 |
<height_m>$Total height</height_m>
|
|
35 |
<tag>$Tag number</tag>
|
|
36 |
<xposition_m>$Subplot X</xposition_m>
|
|
37 |
<yposition_m>$Subplot Y</yposition_m>
|
|
38 |
</stemobservation>
|
|
39 |
</plantobservation>
|
|
40 |
</aggregateoccurrence>
|
|
41 |
<authortaxoncode>$Tree number</authortaxoncode>
|
|
42 |
<collector_id><party><fullname>$Index collector</fullname></party></collector_id>
|
|
43 |
<growthform>$Habit</growthform>
|
|
44 |
<taxondetermination>
|
|
45 |
<party_id><party><fullname>$Determined by</fullname></party></party_id>
|
|
46 |
<taxonverbatim_id>
|
|
47 |
<taxonverbatim>
|
|
48 |
<taxonlabel_id>
|
|
49 |
<taxonlabel>
|
|
50 |
<matched_label_id>
|
|
11 |
<parent_id>
|
|
12 |
<location>
|
|
13 |
<authorlocationcode>$Inventory name</authorlocationcode>
|
|
14 |
<sourceaccessioncode>$Inventory code</sourceaccessioncode>
|
|
15 |
</location>
|
|
16 |
</parent_id>
|
|
17 |
<authorlocationcode>$Number of subplot</authorlocationcode>
|
|
18 |
<locationevent>
|
|
19 |
<project_id><project><projectname>$Expedition</projectname></project></project_id>
|
|
20 |
<taxonoccurrence>
|
|
21 |
<aggregateoccurrence>
|
|
22 |
<notes>$Observations</notes>
|
|
23 |
<plantobservation>
|
|
24 |
<collectionnumber>$Tree number</collectionnumber>
|
|
25 |
<specimenreplicate><catalognumber_dwc>$Specimen</catalognumber_dwc></specimenreplicate>
|
|
26 |
<stemobservation>
|
|
27 |
<authorstemcode>$Trunk</authorstemcode>
|
|
28 |
<definedvalue fkey="tablerecord_id">
|
|
29 |
<userdefined_id>
|
|
30 |
<userdefined>
|
|
31 |
<tablename>stemobservation</tablename>
|
|
32 |
<userdefinedname>lianaInfestation</userdefinedname>
|
|
33 |
</userdefined>
|
|
34 |
</userdefined_id>
|
|
35 |
<definedvalue>$Liana presence</definedvalue>
|
|
36 |
</definedvalue>
|
|
37 |
<diameterbreastheight_m><_cm_to_m><value>$Diameter</value></_cm_to_m></diameterbreastheight_m>
|
|
38 |
<height_m>$Total height</height_m>
|
|
39 |
<tag>$Tag number</tag>
|
|
40 |
<xposition_m>$Subplot X</xposition_m>
|
|
41 |
<yposition_m>$Subplot Y</yposition_m>
|
|
42 |
</stemobservation>
|
|
43 |
</plantobservation>
|
|
44 |
</aggregateoccurrence>
|
|
45 |
<authortaxoncode>$Tree number</authortaxoncode>
|
|
46 |
<collector_id><party><fullname>$Index collector</fullname></party></collector_id>
|
|
47 |
<growthform>$Habit</growthform>
|
|
48 |
<taxondetermination>
|
|
49 |
<party_id><party><fullname>$Determined by</fullname></party></party_id>
|
|
50 |
<taxonverbatim_id>
|
|
51 |
<taxonverbatim>
|
|
52 |
<taxonlabel_id>
|
|
51 | 53 |
<taxonlabel> |
52 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
54 |
<matched_label_id> |
|
55 |
<taxonlabel> |
|
56 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
57 |
<taxonomicname> |
|
58 |
<_join_words> |
|
59 |
<1> |
|
60 |
<_taxon_family_require_std> |
|
61 |
<family> |
|
62 |
<_nullIf> |
|
63 |
<null>$Species and morphotypes</null> |
|
64 |
<value>$Family (revised)</value> |
|
65 |
</_nullIf> |
|
66 |
</family> |
|
67 |
</_taxon_family_require_std> |
|
68 |
</1> |
|
69 |
<2> |
|
70 |
<_alt> |
|
71 |
<1>$Specie+autor</1> |
|
72 |
<2> |
|
73 |
<_join_words> |
|
74 |
<1> |
|
75 |
<_alt> |
|
76 |
<1>$Species and morphotypes</1> |
|
77 |
<2> |
|
78 |
<_join_words> |
|
79 |
<2>$Genera</2> |
|
80 |
<3>$Specific epithet</3> |
|
81 |
</_join_words> |
|
82 |
</2> |
|
83 |
</_alt> |
|
84 |
</1> |
|
85 |
<2>$Autor (revised)</2> |
|
86 |
</_join_words> |
|
87 |
</2> |
|
88 |
</_alt> |
|
89 |
</2> |
|
90 |
</_join_words> |
|
91 |
</taxonomicname> |
|
92 |
</taxonlabel> |
|
93 |
</matched_label_id> |
|
94 |
<parent_id> |
|
95 |
<taxonlabel> |
|
96 |
<parent_id> |
|
97 |
<taxonlabel> |
|
98 |
<rank>cultivar</rank> |
|
99 |
<parent_id> |
|
100 |
<taxonlabel> |
|
101 |
<rank>forma</rank> |
|
102 |
<parent_id> |
|
103 |
<taxonlabel> |
|
104 |
<rank>variety</rank> |
|
105 |
<parent_id> |
|
106 |
<taxonlabel> |
|
107 |
<rank>subspecies</rank> |
|
108 |
<parent_id> |
|
109 |
<taxonlabel> |
|
110 |
<rank>species</rank> |
|
111 |
<taxonepithet>$Specific epithet</taxonepithet> |
|
112 |
<parent_id> |
|
113 |
<taxonlabel> |
|
114 |
<rank>genus</rank> |
|
115 |
<taxonepithet>$Genera</taxonepithet> |
|
116 |
<parent_id> |
|
117 |
<taxonlabel> |
|
118 |
<rank>family</rank> |
|
119 |
<taxonepithet>$Family (revised)</taxonepithet> |
|
120 |
</taxonlabel> |
|
121 |
</parent_id> |
|
122 |
</taxonlabel> |
|
123 |
</parent_id> |
|
124 |
</taxonlabel> |
|
125 |
</parent_id> |
|
126 |
</taxonlabel> |
|
127 |
</parent_id> |
|
128 |
</taxonlabel> |
|
129 |
</parent_id> |
|
130 |
</taxonlabel> |
|
131 |
</parent_id> |
|
132 |
</taxonlabel> |
|
133 |
</parent_id> |
|
134 |
</taxonlabel> |
|
135 |
</parent_id> |
|
53 | 136 |
<taxonomicname> |
54 | 137 |
<_join_words> |
55 | 138 |
<1> |
... | ... | |
86 | 169 |
</_join_words> |
87 | 170 |
</taxonomicname> |
88 | 171 |
</taxonlabel> |
89 |
</matched_label_id> |
|
90 |
<parent_id> |
|
172 |
</taxonlabel_id> |
|
173 |
<author>$Autor (revised)</author> |
|
174 |
<family>$Family (revised)</family> |
|
175 |
<genus>$Genera</genus> |
|
176 |
<specific_epithet>$Specific epithet</specific_epithet> |
|
177 |
<taxonname>$Species and morphotypes</taxonname> |
|
178 |
<taxonomicname>$Specie+autor</taxonomicname> |
|
179 |
</taxonverbatim> |
|
180 |
</taxonverbatim_id> |
|
181 |
<taxonfit>$Qualifier</taxonfit> |
|
182 |
</taxondetermination> |
|
183 |
<taxondetermination> |
|
184 |
<isoriginal>true</isoriginal> |
|
185 |
<taxonverbatim_id> |
|
186 |
<taxonverbatim> |
|
187 |
<taxonlabel_id> |
|
91 | 188 |
<taxonlabel> |
189 |
<matched_label_id> |
|
190 |
<taxonlabel> |
|
191 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
192 |
<taxonomicname> |
|
193 |
<_join_words> |
|
194 |
<1><_taxon_family_require_std><family>$Field family</family></_taxon_family_require_std></1> |
|
195 |
<2>$Field name</2> |
|
196 |
</_join_words> |
|
197 |
</taxonomicname> |
|
198 |
</taxonlabel> |
|
199 |
</matched_label_id> |
|
92 | 200 |
<parent_id> |
93 | 201 |
<taxonlabel> |
94 |
<rank>cultivar</rank> |
|
95 | 202 |
<parent_id> |
96 | 203 |
<taxonlabel> |
97 |
<rank>forma</rank>
|
|
204 |
<rank>cultivar</rank>
|
|
98 | 205 |
<parent_id> |
99 | 206 |
<taxonlabel> |
100 |
<rank>variety</rank>
|
|
207 |
<rank>forma</rank>
|
|
101 | 208 |
<parent_id> |
102 | 209 |
<taxonlabel> |
103 |
<rank>subspecies</rank>
|
|
210 |
<rank>variety</rank>
|
|
104 | 211 |
<parent_id> |
105 | 212 |
<taxonlabel> |
106 |
<rank>species</rank> |
|
107 |
<taxonepithet>$Specific epithet</taxonepithet> |
|
213 |
<rank>subspecies</rank> |
|
108 | 214 |
<parent_id> |
109 | 215 |
<taxonlabel> |
110 |
<rank>genus</rank> |
|
111 |
<taxonepithet>$Genera</taxonepithet> |
|
216 |
<rank>species</rank> |
|
112 | 217 |
<parent_id> |
113 | 218 |
<taxonlabel> |
114 |
<rank>family</rank> |
|
115 |
<taxonepithet>$Family (revised)</taxonepithet> |
|
219 |
<rank>genus</rank> |
|
220 |
<taxonepithet>$Field name</taxonepithet> |
|
221 |
<parent_id> |
|
222 |
<taxonlabel> |
|
223 |
<rank>family</rank> |
|
224 |
<taxonepithet>$Field family</taxonepithet> |
|
225 |
</taxonlabel> |
|
226 |
</parent_id> |
|
116 | 227 |
</taxonlabel> |
117 | 228 |
</parent_id> |
118 | 229 |
</taxonlabel> |
... | ... | |
127 | 238 |
</parent_id> |
128 | 239 |
</taxonlabel> |
129 | 240 |
</parent_id> |
130 |
</taxonlabel> |
|
131 |
</parent_id> |
|
132 |
<taxonomicname> |
|
133 |
<_join_words> |
|
134 |
<1> |
|
135 |
<_taxon_family_require_std> |
|
136 |
<family> |
|
137 |
<_nullIf> |
|
138 |
<null>$Species and morphotypes</null> |
|
139 |
<value>$Family (revised)</value> |
|
140 |
</_nullIf> |
|
141 |
</family> |
|
142 |
</_taxon_family_require_std> |
|
143 |
</1> |
|
144 |
<2> |
|
145 |
<_alt> |
|
146 |
<1>$Specie+autor</1> |
|
147 |
<2> |
|
148 |
<_join_words> |
|
149 |
<1> |
|
150 |
<_alt> |
|
151 |
<1>$Species and morphotypes</1> |
|
152 |
<2> |
|
153 |
<_join_words> |
|
154 |
<2>$Genera</2> |
|
155 |
<3>$Specific epithet</3> |
|
156 |
</_join_words> |
|
157 |
</2> |
|
158 |
</_alt> |
|
159 |
</1> |
|
160 |
<2>$Autor (revised)</2> |
|
161 |
</_join_words> |
|
162 |
</2> |
|
163 |
</_alt> |
|
164 |
</2> |
|
165 |
</_join_words> |
|
166 |
</taxonomicname> |
|
167 |
</taxonlabel> |
|
168 |
</taxonlabel_id> |
|
169 |
<author>$Autor (revised)</author> |
|
170 |
<family>$Family (revised)</family> |
|
171 |
<genus>$Genera</genus> |
|
172 |
<specific_epithet>$Specific epithet</specific_epithet> |
|
173 |
<taxonname>$Species and morphotypes</taxonname> |
|
174 |
<taxonomicname>$Specie+autor</taxonomicname> |
|
175 |
</taxonverbatim> |
|
176 |
</taxonverbatim_id> |
|
177 |
<taxonfit>$Qualifier</taxonfit> |
|
178 |
</taxondetermination> |
|
179 |
<taxondetermination> |
|
180 |
<isoriginal>true</isoriginal> |
|
181 |
<taxonverbatim_id> |
|
182 |
<taxonverbatim> |
|
183 |
<taxonlabel_id> |
|
184 |
<taxonlabel> |
|
185 |
<matched_label_id> |
|
186 |
<taxonlabel> |
|
187 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
188 | 241 |
<taxonomicname> |
189 | 242 |
<_join_words> |
190 | 243 |
<1><_taxon_family_require_std><family>$Field family</family></_taxon_family_require_std></1> |
... | ... | |
192 | 245 |
</_join_words> |
193 | 246 |
</taxonomicname> |
194 | 247 |
</taxonlabel> |
195 |
</matched_label_id> |
|
196 |
<parent_id> |
|
197 |
<taxonlabel> |
|
198 |
<parent_id> |
|
199 |
<taxonlabel> |
|
200 |
<rank>cultivar</rank> |
|
201 |
<parent_id> |
|
202 |
<taxonlabel> |
|
203 |
<rank>forma</rank> |
|
204 |
<parent_id> |
|
205 |
<taxonlabel> |
|
206 |
<rank>variety</rank> |
|
207 |
<parent_id> |
|
208 |
<taxonlabel> |
|
209 |
<rank>subspecies</rank> |
|
210 |
<parent_id> |
|
211 |
<taxonlabel> |
|
212 |
<rank>species</rank> |
|
213 |
<parent_id> |
|
214 |
<taxonlabel> |
|
215 |
<rank>genus</rank> |
|
216 |
<taxonepithet>$Field name</taxonepithet> |
|
217 |
<parent_id> |
|
218 |
<taxonlabel> |
|
219 |
<rank>family</rank> |
|
220 |
<taxonepithet>$Field family</taxonepithet> |
|
221 |
</taxonlabel> |
|
222 |
</parent_id> |
|
223 |
</taxonlabel> |
|
224 |
</parent_id> |
|
225 |
</taxonlabel> |
|
226 |
</parent_id> |
|
227 |
</taxonlabel> |
|
228 |
</parent_id> |
|
229 |
</taxonlabel> |
|
230 |
</parent_id> |
|
231 |
</taxonlabel> |
|
232 |
</parent_id> |
|
233 |
</taxonlabel> |
|
234 |
</parent_id> |
|
235 |
</taxonlabel> |
|
236 |
</parent_id> |
|
237 |
<taxonomicname> |
|
238 |
<_join_words> |
|
239 |
<1><_taxon_family_require_std><family>$Field family</family></_taxon_family_require_std></1> |
|
240 |
<2>$Field name</2> |
|
241 |
</_join_words> |
|
242 |
</taxonomicname> |
|
243 |
</taxonlabel> |
|
244 |
</taxonlabel_id> |
|
245 |
<family>$Field family</family> |
|
246 |
<genus>$Field name</genus> |
|
247 |
</taxonverbatim> |
|
248 |
</taxonverbatim_id> |
|
249 |
</taxondetermination> |
|
250 |
</taxonoccurrence> |
|
251 |
</locationevent> |
|
252 |
<sourceaccessioncode> |
|
253 |
<_join> |
|
254 |
<1>$Inventory code</1> |
|
255 |
<2>$Number of subplot</2> |
|
256 |
</_join> |
|
257 |
</sourceaccessioncode> |
|
258 |
</location> |
|
248 |
</taxonlabel_id> |
|
249 |
<family>$Field family</family> |
|
250 |
<genus>$Field name</genus> |
|
251 |
</taxonverbatim> |
|
252 |
</taxonverbatim_id> |
|
253 |
</taxondetermination> |
|
254 |
</taxonoccurrence> |
|
255 |
</locationevent> |
|
256 |
<sourceaccessioncode> |
|
257 |
<_join> |
|
258 |
<1>$Inventory code</1> |
|
259 |
<2>$Number of subplot</2> |
|
260 |
</_join> |
|
261 |
</sourceaccessioncode> |
|
262 |
</location> |
|
263 |
</path> |
|
264 |
</_simplifyPath> |
|
259 | 265 |
</path> |
260 |
</_simplifyPath>
|
|
266 |
</_setDefault>
|
|
261 | 267 |
</VegBIEN> |
262 | 268 |
Inserted 44 new rows into database |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: Set the source_id col_default to the datasource name using the new _setDefault() built-in function and _env()