Project

General

Profile

« Previous | Next » 

Revision 5803

inputs/.TNRS/tnrs/map.csv: Added _nullIf filter to remove "Unknown" values for Accepted_name_family

View differences:

test.xml.ref
37 37
                                                                                                                <parent_id>
38 38
                                                                                                                    <taxonlabel>
39 39
                                                                                                                        <rank>family</rank>
40
                                                                                                                        <taxonepithet>$Accepted_name_family</taxonepithet>
40
                                                                                                                        <taxonepithet>
41
                                                                                                                            <_nullIf>
42
                                                                                                                                <null>Unknown</null>
43
                                                                                                                                <value>$Accepted_name_family</value>
44
                                                                                                                            </_nullIf>
45
                                                                                                                        </taxonepithet>
41 46
                                                                                                                    </taxonlabel>
42 47
                                                                                                                </parent_id>
43 48
                                                                                                            </taxonlabel>
......
59 64
                                                        <rank>$Accepted_name_rank</rank>
60 65
                                                        <taxonomicname>
61 66
                                                            <_join_words>
62
                                                                <1><_taxon_family_require_std><family>$Accepted_name_family</family></_taxon_family_require_std></1>
67
                                                                <1>
68
                                                                    <_taxon_family_require_std>
69
                                                                        <family>
70
                                                                            <_nullIf>
71
                                                                                <null>Unknown</null>
72
                                                                                <value>$Accepted_name_family</value>
73
                                                                            </_nullIf>
74
                                                                        </family>
75
                                                                    </_taxon_family_require_std>
76
                                                                </1>
63 77
                                                                <2>
64 78
                                                                    <_join_words>
65 79
                                                                        <1>$Accepted_name</1>
......
71 85
                                                        <taxonverbatim>
72 86
                                                            <author>$Accepted_name_author</author>
73 87
                                                            <binomial>$Accepted_name</binomial>
74
                                                            <family>$Accepted_name_family</family>
88
                                                            <family>
89
                                                                <_nullIf>
90
                                                                    <null>Unknown</null>
91
                                                                    <value>$Accepted_name_family</value>
92
                                                                </_nullIf>
93
                                                            </family>
75 94
                                                            <verbatimrank>$Accepted_name_rank</verbatimrank>
76 95
                                                        </taxonverbatim>
77 96
                                                    </taxonlabel>

Also available in: Unified diff