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>VegBank</shortname></source></value> |
|
5 | 6 |
<path> |
6 |
<location> |
|
7 |
<authorlocationcode>$museumaccessionnumber</authorlocationcode> |
|
8 |
<locationevent> |
|
9 |
<sourceaccessioncode>$observation_id</sourceaccessioncode> |
|
10 |
<taxonoccurrence> |
|
11 |
<aggregateoccurrence> |
|
12 |
<collectiondate>$collectiondate</collectiondate> |
|
13 |
<notes>$notes</notes> |
|
14 |
<plantobservation><specimenreplicate><catalognumber_dwc>$museumaccessionnumber</catalognumber_dwc></specimenreplicate></plantobservation> |
|
15 |
</aggregateoccurrence> |
|
16 |
<authortaxoncode>$authorplantname</authortaxoncode> |
|
17 |
<collector_id> |
|
18 |
<party> |
|
19 |
<fullname> |
|
20 |
<_join_words> |
|
21 |
<1>$givenname</1> |
|
22 |
<2>$surname</2> |
|
23 |
</_join_words> |
|
24 |
</fullname> |
|
25 |
</party> |
|
26 |
</collector_id> |
|
27 |
<sourceaccessioncode>$taxonobservation_id</sourceaccessioncode> |
|
28 |
<taxondetermination> |
|
29 |
<taxonverbatim_id> |
|
30 |
<taxonverbatim> |
|
31 |
<taxonlabel_id> |
|
32 |
<taxonlabel> |
|
33 |
<matched_label_id> |
|
7 |
<_simplifyPath> |
|
8 |
<next>parent_id</next> |
|
9 |
<path> |
|
10 |
<location> |
|
11 |
<authorlocationcode>$museumaccessionnumber</authorlocationcode> |
|
12 |
<locationevent> |
|
13 |
<sourceaccessioncode>$observation_id</sourceaccessioncode> |
|
14 |
<taxonoccurrence> |
|
15 |
<aggregateoccurrence> |
|
16 |
<collectiondate>$collectiondate</collectiondate> |
|
17 |
<notes>$notes</notes> |
|
18 |
<plantobservation><specimenreplicate><catalognumber_dwc>$museumaccessionnumber</catalognumber_dwc></specimenreplicate></plantobservation> |
|
19 |
</aggregateoccurrence> |
|
20 |
<authortaxoncode>$authorplantname</authortaxoncode> |
|
21 |
<collector_id> |
|
22 |
<party> |
|
23 |
<fullname> |
|
24 |
<_join_words> |
|
25 |
<1>$givenname</1> |
|
26 |
<2>$surname</2> |
|
27 |
</_join_words> |
|
28 |
</fullname> |
|
29 |
</party> |
|
30 |
</collector_id> |
|
31 |
<sourceaccessioncode>$taxonobservation_id</sourceaccessioncode> |
|
32 |
<taxondetermination> |
|
33 |
<taxonverbatim_id> |
|
34 |
<taxonverbatim> |
|
35 |
<taxonlabel_id> |
|
34 | 36 |
<taxonlabel> |
35 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
36 |
<taxonomicname> |
|
37 |
<_join_words> |
|
38 |
<1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1> |
|
39 |
<2> |
|
37 |
<matched_label_id> |
|
38 |
<taxonlabel> |
|
39 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
40 |
<taxonomicname> |
|
40 | 41 |
<_join_words> |
41 |
<2>$Genus</2> |
|
42 |
<3>$Species</3> |
|
43 |
<4>$Subspecies</4> |
|
44 |
<7> |
|
42 |
<1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1> |
|
43 |
<2> |
|
45 | 44 |
<_join_words> |
46 |
<1>var. </1> |
|
47 |
<2>$Variety</2> |
|
45 |
<2>$Genus</2> |
|
46 |
<3>$Species</3> |
|
47 |
<4>$Subspecies</4> |
|
48 |
<7> |
|
49 |
<_join_words> |
|
50 |
<1>var. </1> |
|
51 |
<2>$Variety</2> |
|
52 |
</_join_words> |
|
53 |
</7> |
|
54 |
<8> |
|
55 |
<_join_words> |
|
56 |
<1>fm. </1> |
|
57 |
<2>$Forma</2> |
|
58 |
</_join_words> |
|
59 |
</8> |
|
48 | 60 |
</_join_words> |
49 |
</7> |
|
50 |
<8> |
|
51 |
<_join_words> |
|
52 |
<1>fm. </1> |
|
53 |
<2>$Forma</2> |
|
54 |
</_join_words> |
|
55 |
</8> |
|
61 |
</2> |
|
56 | 62 |
</_join_words> |
57 |
</2> |
|
58 |
</_join_words> |
|
59 |
</taxonomicname> |
|
60 |
</taxonlabel> |
|
61 |
</matched_label_id> |
|
62 |
<creationdate><_dateRangeStart><value>$interpretationdate</value></_dateRangeStart></creationdate> |
|
63 |
<parent_id> |
|
64 |
<taxonlabel> |
|
63 |
</taxonomicname> |
|
64 |
</taxonlabel> |
|
65 |
</matched_label_id> |
|
66 |
<creationdate><_dateRangeStart><value>$interpretationdate</value></_dateRangeStart></creationdate> |
|
65 | 67 |
<parent_id> |
66 | 68 |
<taxonlabel> |
67 |
<rank>cultivar</rank> |
|
68 | 69 |
<parent_id> |
69 | 70 |
<taxonlabel> |
70 |
<rank>forma</rank> |
|
71 |
<taxonepithet>$Forma</taxonepithet> |
|
71 |
<rank>cultivar</rank> |
|
72 | 72 |
<parent_id> |
73 | 73 |
<taxonlabel> |
74 |
<rank>variety</rank>
|
|
75 |
<taxonepithet>$Variety</taxonepithet>
|
|
74 |
<rank>forma</rank>
|
|
75 |
<taxonepithet>$Forma</taxonepithet>
|
|
76 | 76 |
<parent_id> |
77 | 77 |
<taxonlabel> |
78 |
<rank>subspecies</rank>
|
|
79 |
<taxonepithet>$Subspecies</taxonepithet>
|
|
78 |
<rank>variety</rank>
|
|
79 |
<taxonepithet>$Variety</taxonepithet>
|
|
80 | 80 |
<parent_id> |
81 | 81 |
<taxonlabel> |
82 |
<rank>species</rank> |
|
83 |
<taxonepithet>$Species</taxonepithet> |
|
82 |
<rank>subspecies</rank>
|
|
83 |
<taxonepithet>$Subspecies</taxonepithet>
|
|
84 | 84 |
<parent_id> |
85 | 85 |
<taxonlabel> |
86 |
<rank>genus</rank>
|
|
87 |
<taxonepithet>$Genus</taxonepithet>
|
|
86 |
<rank>species</rank>
|
|
87 |
<taxonepithet>$Species</taxonepithet>
|
|
88 | 88 |
<parent_id> |
89 | 89 |
<taxonlabel> |
90 |
<rank>family</rank>
|
|
91 |
<taxonepithet>$Family</taxonepithet>
|
|
90 |
<rank>genus</rank>
|
|
91 |
<taxonepithet>$Genus</taxonepithet>
|
|
92 | 92 |
<parent_id> |
93 | 93 |
<taxonlabel> |
94 |
<rank>order</rank>
|
|
95 |
<taxonepithet>$Order</taxonepithet>
|
|
94 |
<rank>family</rank>
|
|
95 |
<taxonepithet>$Family</taxonepithet>
|
|
96 | 96 |
<parent_id> |
97 | 97 |
<taxonlabel> |
98 |
<rank>class</rank>
|
|
99 |
<taxonepithet>$Class</taxonepithet>
|
|
98 |
<rank>order</rank>
|
|
99 |
<taxonepithet>$Order</taxonepithet>
|
|
100 | 100 |
<parent_id> |
101 | 101 |
<taxonlabel> |
102 |
<rank>phylum</rank> |
|
102 |
<rank>class</rank> |
|
103 |
<taxonepithet>$Class</taxonepithet> |
|
103 | 104 |
<parent_id> |
104 | 105 |
<taxonlabel> |
105 |
<rank>kingdom</rank> |
|
106 |
<taxonepithet>$Kingdom</taxonepithet> |
|
106 |
<rank>phylum</rank> |
|
107 |
<parent_id> |
|
108 |
<taxonlabel> |
|
109 |
<rank>kingdom</rank> |
|
110 |
<taxonepithet>$Kingdom</taxonepithet> |
|
111 |
</taxonlabel> |
|
112 |
</parent_id> |
|
107 | 113 |
</taxonlabel> |
108 | 114 |
</parent_id> |
109 | 115 |
</taxonlabel> |
... | ... | |
126 | 132 |
</parent_id> |
127 | 133 |
</taxonlabel> |
128 | 134 |
</parent_id> |
129 |
</taxonlabel> |
|
130 |
</parent_id> |
|
131 |
<taxonomicname> |
|
132 |
<_join_words> |
|
133 |
<1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1> |
|
134 |
<2> |
|
135 |
<taxonomicname> |
|
135 | 136 |
<_join_words> |
136 |
<2>$Genus</2> |
|
137 |
<3>$Species</3> |
|
138 |
<4>$Subspecies</4> |
|
139 |
<6> |
|
137 |
<1><_taxon_family_require_std><family>$Family</family></_taxon_family_require_std></1> |
|
138 |
<2> |
|
140 | 139 |
<_join_words> |
141 |
<1>var. </1> |
|
142 |
<2>$Variety</2> |
|
140 |
<2>$Genus</2> |
|
141 |
<3>$Species</3> |
|
142 |
<4>$Subspecies</4> |
|
143 |
<6> |
|
144 |
<_join_words> |
|
145 |
<1>var. </1> |
|
146 |
<2>$Variety</2> |
|
147 |
</_join_words> |
|
148 |
</6> |
|
149 |
<7> |
|
150 |
<_join_words> |
|
151 |
<1>fm. </1> |
|
152 |
<2>$Forma</2> |
|
153 |
</_join_words> |
|
154 |
</7> |
|
143 | 155 |
</_join_words> |
144 |
</6> |
|
145 |
<7> |
|
146 |
<_join_words> |
|
147 |
<1>fm. </1> |
|
148 |
<2>$Forma</2> |
|
149 |
</_join_words> |
|
150 |
</7> |
|
156 |
</2> |
|
151 | 157 |
</_join_words> |
152 |
</2> |
|
153 |
</_join_words> |
|
154 |
</taxonomicname> |
|
155 |
</taxonlabel> |
|
156 |
</taxonlabel_id> |
|
157 |
<family>$Family</family> |
|
158 |
<genus>$Genus</genus> |
|
159 |
<specific_epithet>$Species</specific_epithet> |
|
160 |
</taxonverbatim> |
|
161 |
</taxonverbatim_id> |
|
162 |
<determinationdate><_dateRangeStart><value>$interpretationdate</value></_dateRangeStart></determinationdate> |
|
163 |
<taxonfit>$taxonfit</taxonfit> |
|
164 |
</taxondetermination> |
|
165 |
<taxondetermination> |
|
166 |
<isoriginal>true</isoriginal> |
|
167 |
<taxonverbatim_id> |
|
168 |
<taxonverbatim> |
|
169 |
<taxonlabel_id> |
|
170 |
<taxonlabel> |
|
171 |
<matched_label_id> |
|
158 |
</taxonomicname> |
|
159 |
</taxonlabel> |
|
160 |
</taxonlabel_id> |
|
161 |
<family>$Family</family> |
|
162 |
<genus>$Genus</genus> |
|
163 |
<specific_epithet>$Species</specific_epithet> |
|
164 |
</taxonverbatim> |
|
165 |
</taxonverbatim_id> |
|
166 |
<determinationdate><_dateRangeStart><value>$interpretationdate</value></_dateRangeStart></determinationdate> |
|
167 |
<taxonfit>$taxonfit</taxonfit> |
|
168 |
</taxondetermination> |
|
169 |
<taxondetermination> |
|
170 |
<isoriginal>true</isoriginal> |
|
171 |
<taxonverbatim_id> |
|
172 |
<taxonverbatim> |
|
173 |
<taxonlabel_id> |
|
172 | 174 |
<taxonlabel> |
173 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
175 |
<matched_label_id> |
|
176 |
<taxonlabel> |
|
177 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
178 |
<taxonomicname>$authorplantname</taxonomicname> |
|
179 |
</taxonlabel> |
|
180 |
</matched_label_id> |
|
174 | 181 |
<taxonomicname>$authorplantname</taxonomicname> |
175 | 182 |
</taxonlabel> |
176 |
</matched_label_id> |
|
177 |
<taxonomicname>$authorplantname</taxonomicname> |
|
178 |
</taxonlabel> |
|
179 |
</taxonlabel_id> |
|
180 |
<taxonname>$authorplantname</taxonname> |
|
181 |
</taxonverbatim> |
|
182 |
</taxonverbatim_id> |
|
183 |
</taxondetermination> |
|
184 |
</taxonoccurrence> |
|
185 |
</locationevent> |
|
186 |
</location> |
|
183 |
</taxonlabel_id> |
|
184 |
<taxonname>$authorplantname</taxonname> |
|
185 |
</taxonverbatim> |
|
186 |
</taxonverbatim_id> |
|
187 |
</taxondetermination> |
|
188 |
</taxonoccurrence> |
|
189 |
</locationevent> |
|
190 |
</location> |
|
191 |
</path> |
|
192 |
</_simplifyPath> |
|
187 | 193 |
</path> |
188 |
</_simplifyPath>
|
|
194 |
</_setDefault>
|
|
189 | 195 |
</VegBIEN> |
190 | 196 |
Inserted 24 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()