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>VASCAN</shortname></source></value> |
|
5 | 6 |
<path> |
6 |
<location> |
|
7 |
<locationevent> |
|
8 |
<taxonoccurrence> |
|
9 |
<taxondetermination> |
|
10 |
<taxonverbatim_id> |
|
11 |
<taxonverbatim> |
|
12 |
<taxonlabel_id> |
|
13 |
<taxonlabel> |
|
14 |
<matched_label_id> |
|
7 |
<_simplifyPath> |
|
8 |
<next>parent_id</next> |
|
9 |
<path> |
|
10 |
<location> |
|
11 |
<locationevent> |
|
12 |
<taxonoccurrence> |
|
13 |
<taxondetermination> |
|
14 |
<taxonverbatim_id> |
|
15 |
<taxonverbatim> |
|
16 |
<taxonlabel_id> |
|
15 | 17 |
<taxonlabel> |
16 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
17 |
<taxonomicname> |
|
18 |
<_join_words> |
|
19 |
<1> |
|
20 |
<_taxon_family_require_std> |
|
21 |
<family> |
|
22 |
<_nullIf> |
|
23 |
<null>$scientificName</null> |
|
24 |
<value>$family</value> |
|
25 |
</_nullIf> |
|
26 |
</family> |
|
27 |
</_taxon_family_require_std> |
|
28 |
</1> |
|
29 |
<2> |
|
30 |
<_alt> |
|
31 |
<1>$scientificName</1> |
|
18 |
<matched_label_id> |
|
19 |
<taxonlabel> |
|
20 |
<source_id><source><shortname>TNRS</shortname></source></source_id> |
|
21 |
<taxonomicname> |
|
22 |
<_join_words> |
|
23 |
<1> |
|
24 |
<_taxon_family_require_std> |
|
25 |
<family> |
|
26 |
<_nullIf> |
|
27 |
<null>$scientificName</null> |
|
28 |
<value>$family</value> |
|
29 |
</_nullIf> |
|
30 |
</family> |
|
31 |
</_taxon_family_require_std> |
|
32 |
</1> |
|
32 | 33 |
<2> |
33 |
<_join_words> |
|
34 |
<1> |
|
34 |
<_alt> |
|
35 |
<1>$scientificName</1> |
|
36 |
<2> |
|
35 | 37 |
<_join_words> |
36 |
<2>$genus</2> |
|
37 |
<3>$specificEpithet</3> |
|
38 |
<5> |
|
38 |
<1> |
|
39 | 39 |
<_join_words> |
40 |
<1> |
|
41 |
<_if name="if has infraspecificEpithet"> |
|
42 |
<cond>$infraspecificEpithet</cond> |
|
43 |
<then>$taxonRank</then> |
|
44 |
</_if> |
|
45 |
</1> |
|
46 |
<2>$infraspecificEpithet</2> |
|
40 |
<2>$genus</2> |
|
41 |
<3>$specificEpithet</3> |
|
42 |
<5> |
|
43 |
<_join_words> |
|
44 |
<1> |
|
45 |
<_if name="if has infraspecificEpithet"> |
|
46 |
<cond>$infraspecificEpithet</cond> |
|
47 |
<then>$taxonRank</then> |
|
48 |
</_if> |
|
49 |
</1> |
|
50 |
<2>$infraspecificEpithet</2> |
|
51 |
</_join_words> |
|
52 |
</5> |
|
47 | 53 |
</_join_words> |
48 |
</5> |
|
54 |
</1> |
|
55 |
<2>$scientificNameAuthorship</2> |
|
49 | 56 |
</_join_words> |
50 |
</1> |
|
51 |
<2>$scientificNameAuthorship</2> |
|
52 |
</_join_words> |
|
57 |
</2> |
|
58 |
</_alt> |
|
53 | 59 |
</2> |
54 |
</_alt> |
|
55 |
</2> |
|
56 |
</_join_words> |
|
57 |
</taxonomicname> |
|
58 |
</taxonlabel> |
|
59 |
</matched_label_id> |
|
60 |
<parent_id> |
|
61 |
<taxonlabel> |
|
62 |
<rank>$taxonRank</rank> |
|
63 |
<taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim> |
|
60 |
</_join_words> |
|
61 |
</taxonomicname> |
|
62 |
</taxonlabel> |
|
63 |
</matched_label_id> |
|
64 | 64 |
<parent_id> |
65 | 65 |
<taxonlabel> |
66 |
<rank>cultivar</rank> |
|
66 |
<rank>$taxonRank</rank> |
|
67 |
<taxonverbatim><verbatimrank>$taxonRank</verbatimrank></taxonverbatim> |
|
67 | 68 |
<parent_id> |
68 | 69 |
<taxonlabel> |
69 |
<rank>forma</rank>
|
|
70 |
<rank>cultivar</rank>
|
|
70 | 71 |
<parent_id> |
71 | 72 |
<taxonlabel> |
72 |
<rank>variety</rank>
|
|
73 |
<rank>forma</rank>
|
|
73 | 74 |
<parent_id> |
74 | 75 |
<taxonlabel> |
75 |
<rank>subspecies</rank>
|
|
76 |
<rank>variety</rank>
|
|
76 | 77 |
<parent_id> |
77 | 78 |
<taxonlabel> |
78 |
<rank>species</rank> |
|
79 |
<taxonepithet>$specificEpithet</taxonepithet> |
|
79 |
<rank>subspecies</rank> |
|
80 | 80 |
<parent_id> |
81 | 81 |
<taxonlabel> |
82 |
<rank>genus</rank>
|
|
83 |
<taxonepithet>$genus</taxonepithet>
|
|
82 |
<rank>species</rank>
|
|
83 |
<taxonepithet>$specificEpithet</taxonepithet>
|
|
84 | 84 |
<parent_id> |
85 | 85 |
<taxonlabel> |
86 |
<rank>family</rank>
|
|
87 |
<taxonepithet>$family</taxonepithet>
|
|
86 |
<rank>genus</rank>
|
|
87 |
<taxonepithet>$genus</taxonepithet>
|
|
88 | 88 |
<parent_id> |
89 | 89 |
<taxonlabel> |
90 |
<rank>order</rank>
|
|
91 |
<taxonepithet>$order</taxonepithet>
|
|
90 |
<rank>family</rank>
|
|
91 |
<taxonepithet>$family</taxonepithet>
|
|
92 | 92 |
<parent_id> |
93 | 93 |
<taxonlabel> |
94 |
<rank>class</rank>
|
|
95 |
<taxonepithet>$class</taxonepithet>
|
|
94 |
<rank>order</rank>
|
|
95 |
<taxonepithet>$order</taxonepithet>
|
|
96 | 96 |
<parent_id> |
97 | 97 |
<taxonlabel> |
98 |
<rank>phylum</rank> |
|
98 |
<rank>class</rank> |
|
99 |
<taxonepithet>$class</taxonepithet> |
|
99 | 100 |
<parent_id> |
100 | 101 |
<taxonlabel> |
101 |
<rank>kingdom</rank> |
|
102 |
<taxonepithet>$kingdom</taxonepithet> |
|
102 |
<rank>phylum</rank> |
|
103 |
<parent_id> |
|
104 |
<taxonlabel> |
|
105 |
<rank>kingdom</rank> |
|
106 |
<taxonepithet>$kingdom</taxonepithet> |
|
107 |
</taxonlabel> |
|
108 |
</parent_id> |
|
103 | 109 |
</taxonlabel> |
104 | 110 |
</parent_id> |
105 | 111 |
</taxonlabel> |
... | ... | |
120 | 126 |
</parent_id> |
121 | 127 |
</taxonlabel> |
122 | 128 |
</parent_id> |
129 |
<taxonepithet>$infraspecificEpithet</taxonepithet> |
|
123 | 130 |
</taxonlabel> |
124 | 131 |
</parent_id> |
125 |
<taxonepithet>$infraspecificEpithet</taxonepithet> |
|
126 |
</taxonlabel> |
|
127 |
</parent_id> |
|
128 |
<rank>$taxonRank</rank> |
|
129 |
<sourceaccessioncode>$id</sourceaccessioncode> |
|
130 |
<taxonomicname> |
|
131 |
<_join_words> |
|
132 |
<1> |
|
133 |
<_taxon_family_require_std> |
|
134 |
<family> |
|
135 |
<_nullIf> |
|
136 |
<null>$scientificName</null> |
|
137 |
<value>$family</value> |
|
138 |
</_nullIf> |
|
139 |
</family> |
|
140 |
</_taxon_family_require_std> |
|
141 |
</1> |
|
142 |
<2> |
|
143 |
<_alt> |
|
144 |
<1>$scientificName</1> |
|
132 |
<rank>$taxonRank</rank> |
|
133 |
<sourceaccessioncode>$id</sourceaccessioncode> |
|
134 |
<taxonomicname> |
|
135 |
<_join_words> |
|
136 |
<1> |
|
137 |
<_taxon_family_require_std> |
|
138 |
<family> |
|
139 |
<_nullIf> |
|
140 |
<null>$scientificName</null> |
|
141 |
<value>$family</value> |
|
142 |
</_nullIf> |
|
143 |
</family> |
|
144 |
</_taxon_family_require_std> |
|
145 |
</1> |
|
145 | 146 |
<2> |
146 |
<_join_words> |
|
147 |
<1> |
|
147 |
<_alt> |
|
148 |
<1>$scientificName</1> |
|
149 |
<2> |
|
148 | 150 |
<_join_words> |
149 |
<2>$genus</2> |
|
150 |
<3>$specificEpithet</3> |
|
151 |
<5> |
|
151 |
<1> |
|
152 | 152 |
<_join_words> |
153 |
<1> |
|
154 |
<_if name="if has infraspecificEpithet"> |
|
155 |
<cond>$infraspecificEpithet</cond> |
|
156 |
<then>$taxonRank</then> |
|
157 |
</_if> |
|
158 |
</1> |
|
159 |
<2>$infraspecificEpithet</2> |
|
153 |
<2>$genus</2> |
|
154 |
<3>$specificEpithet</3> |
|
155 |
<5> |
|
156 |
<_join_words> |
|
157 |
<1> |
|
158 |
<_if name="if has infraspecificEpithet"> |
|
159 |
<cond>$infraspecificEpithet</cond> |
|
160 |
<then>$taxonRank</then> |
|
161 |
</_if> |
|
162 |
</1> |
|
163 |
<2>$infraspecificEpithet</2> |
|
164 |
</_join_words> |
|
165 |
</5> |
|
160 | 166 |
</_join_words> |
161 |
</5> |
|
167 |
</1> |
|
168 |
<2>$scientificNameAuthorship</2> |
|
162 | 169 |
</_join_words> |
163 |
</1> |
|
164 |
<2>$scientificNameAuthorship</2> |
|
165 |
</_join_words> |
|
170 |
</2> |
|
171 |
</_alt> |
|
166 | 172 |
</2> |
167 |
</_alt>
|
|
168 |
</2>
|
|
169 |
</_join_words>
|
|
170 |
</taxonomicname>
|
|
171 |
<taxonstatus>$taxonomicStatus</taxonstatus>
|
|
172 |
</taxonlabel>
|
|
173 |
</taxonlabel_id>
|
|
174 |
<author>$scientificNameAuthorship</author>
|
|
175 |
<family>$family</family>
|
|
176 |
<genus>$genus</genus>
|
|
177 |
<specific_epithet>$specificEpithet</specific_epithet>
|
|
178 |
<taxonomicname>$scientificName</taxonomicname>
|
|
179 |
<verbatimrank>$taxonRank</verbatimrank>
|
|
180 |
</taxonverbatim>
|
|
181 |
</taxonverbatim_id>
|
|
182 |
</taxondetermination>
|
|
183 |
</taxonoccurrence>
|
|
184 |
</locationevent>
|
|
185 |
</location>
|
|
173 |
</_join_words>
|
|
174 |
</taxonomicname>
|
|
175 |
<taxonstatus>$taxonomicStatus</taxonstatus>
|
|
176 |
</taxonlabel>
|
|
177 |
</taxonlabel_id>
|
|
178 |
<author>$scientificNameAuthorship</author>
|
|
179 |
<family>$family</family>
|
|
180 |
<genus>$genus</genus>
|
|
181 |
<specific_epithet>$specificEpithet</specific_epithet>
|
|
182 |
<taxonomicname>$scientificName</taxonomicname>
|
|
183 |
<verbatimrank>$taxonRank</verbatimrank>
|
|
184 |
</taxonverbatim>
|
|
185 |
</taxonverbatim_id>
|
|
186 |
</taxondetermination>
|
|
187 |
</taxonoccurrence>
|
|
188 |
</locationevent>
|
|
189 |
</location>
|
|
190 |
</path>
|
|
191 |
</_simplifyPath>
|
|
186 | 192 |
</path> |
187 |
</_simplifyPath>
|
|
193 |
</_setDefault>
|
|
188 | 194 |
</VegBIEN> |
189 | 195 |
Inserted 13 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()