Project

General

Profile

« Previous | Next » 

Revision 6359

mappings/VegCore-VegBIEN.csv: Concatenated taxonlabel: Don't prepend family if the taxonName/scientificName itself is the family, so that the family is not duplicated in the concatenated taxonomic name

View differences:

test.xml.ref
20 20
                                                                <_taxon_family_require_std>
21 21
                                                                    <family>
22 22
                                                                        <_nullIf>
23
                                                                            <null>Unknown</null>
24
                                                                            <value>$Accepted_name_family</value>
23
                                                                            <null>$Accepted_name</null>
24
                                                                            <value>
25
                                                                                <_nullIf>
26
                                                                                    <null>Unknown</null>
27
                                                                                    <value>$Accepted_name_family</value>
28
                                                                                </_nullIf>
29
                                                                            </value>
25 30
                                                                        </_nullIf>
26 31
                                                                    </family>
27 32
                                                                </_taxon_family_require_std>
......
117 122
                                            </taxonlabel>
118 123
                                            <taxonomicname>
119 124
                                                <_join_words>
120
                                                    <1><_taxon_family_require_std><family>$Name_matched_accepted_family</family></_taxon_family_require_std></1>
125
                                                    <1>
126
                                                        <_taxon_family_require_std>
127
                                                            <family>
128
                                                                <_nullIf>
129
                                                                    <null>$Name_matched</null>
130
                                                                    <value>$Name_matched_accepted_family</value>
131
                                                                </_nullIf>
132
                                                            </family>
133
                                                        </_taxon_family_require_std>
134
                                                    </1>
121 135
                                                    <2>
122 136
                                                        <_join_words>
123 137
                                                            <1>

Also available in: Unified diff