Revision 5138
Added by Aaron Marcuse-Kubitza about 12 years ago
test.xml.ref | ||
---|---|---|
73 | 73 |
<taxondetermination> |
74 | 74 |
<taxonpath_id> |
75 | 75 |
<taxonpath> |
76 |
<canon_taxonpath_id> |
|
77 |
<taxonpath> |
|
78 |
<datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id> |
|
79 |
<identifyingtaxonomicname> |
|
80 |
<_join_words> |
|
81 |
<1> |
|
82 |
<_alt> |
|
83 |
<1>$SciName</1> |
|
84 |
<2> |
|
85 |
<_join_words> |
|
86 |
<1>$family</1> |
|
87 |
<2>$genus</2> |
|
88 |
<3>$species</3> |
|
89 |
<5> |
|
90 |
<_join_words> |
|
91 |
<1> |
|
92 |
<_if name="if has infraspecificEpithet"> |
|
93 |
<cond>$infraname</cond> |
|
94 |
<then> |
|
95 |
<_alt> |
|
96 |
<1>$usdaRank</1> |
|
97 |
<2>$infrarank</2> |
|
98 |
</_alt> |
|
99 |
</then> |
|
100 |
</_if> |
|
101 |
</1> |
|
102 |
<2>$infraname</2> |
|
103 |
</_join_words> |
|
104 |
</5> |
|
105 |
</_join_words> |
|
106 |
</2> |
|
107 |
</_alt> |
|
108 |
</1> |
|
109 |
<2>$authors</2> |
|
110 |
</_join_words> |
|
111 |
</identifyingtaxonomicname> |
|
112 |
</taxonpath> |
|
113 |
</canon_taxonpath_id> |
|
76 | 114 |
<author>$authors</author> |
77 | 115 |
<family>$family</family> |
78 | 116 |
<genus>$genus</genus> |
79 |
<identifyingtaxonomicname> |
|
80 |
<_join_words> |
|
81 |
<1> |
|
82 |
<_alt> |
|
83 |
<1>$SciName</1> |
|
84 |
<2> |
|
85 |
<_join_words> |
|
86 |
<1>$family</1> |
|
87 |
<2>$genus</2> |
|
88 |
<3>$species</3> |
|
89 |
<5> |
|
90 |
<_join_words> |
|
91 |
<1> |
|
92 |
<_if name="if has infraspecificEpithet"> |
|
93 |
<cond>$infraname</cond> |
|
94 |
<then> |
|
95 |
<_alt> |
|
96 |
<1>$usdaRank</1> |
|
97 |
<2>$infrarank</2> |
|
98 |
</_alt> |
|
99 |
</then> |
|
100 |
</_if> |
|
101 |
</1> |
|
102 |
<2>$infraname</2> |
|
103 |
</_join_words> |
|
104 |
</5> |
|
105 |
</_join_words> |
|
106 |
</2> |
|
107 |
</_alt> |
|
108 |
</1> |
|
109 |
<2>$authors</2> |
|
110 |
</_join_words> |
|
111 |
</identifyingtaxonomicname> |
|
112 | 117 |
<species>$species</species> |
113 | 118 |
<subspecies> |
114 | 119 |
<_join_words> |
... | ... | |
164 | 169 |
</path> |
165 | 170 |
</_simplifyPath> |
166 | 171 |
</VegBIEN> |
167 |
Inserted 20 new rows into database |
|
172 |
Inserted 22 new rows into database |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: non-TNRS taxonpaths: Store the concatenated identifyingtaxonomicname in a separate taxonpath owned by the TNRS datasource, so that it will match up with (and create a link to) the corresponding submitted TNRS name's taxonpath. This in turn is linked to the TNRS-determined accepted name, thus creating a three-level hierarchy of datasource name -> concatenated name -> accepted name.