Project

General

Profile

« Previous | Next » 

Revision 10604

inputs/UNCC/Specimen/: translated single-column filters to postprocessing derived columns, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource#Translating-filters-to-postprocessing-derived-columns

View differences:

test.xml.ref
75 75
                                        <authorplantcode>$collectno</authorplantcode>
76 76
                                        <reproductivecondition>
77 77
                                            <_join>
78
                                                <1>
79
                                                    <_map>
80
                                                        <A>absent</A>
81
                                                        <I>immature</I>
82
                                                        <M>mature</M>
83
                                                        <value>$flower</value>
84
                                                    </_map>
85
                                                </1>
86
                                                <2>
87
                                                    <_map>
88
                                                        <A>absent</A>
89
                                                        <I>immature</I>
90
                                                        <M>mature</M>
91
                                                        <value>$fruit</value>
92
                                                    </_map>
93
                                                </2>
78
                                                <1>$flower</1>
79
                                                <2>$fruit</2>
94 80
                                            </_join>
95 81
                                        </reproductivecondition>
96 82
                                        <specimenreplicate>
......
126 112
                                </collector_id>
127 113
                                <iscultivated>
128 114
                                    <_alt>
129
                                        <1>
130
                                            <_map>
131
                                                <*>true</*>
132
                                                <value>$cultivated</value>
133
                                            </_map>
134
                                        </1>
135
                                        <2>
136
                                            <_map>
137
                                                <*>true</*>
138
                                                <value>$campus</value>
139
                                            </_map>
140
                                        </2>
115
                                        <1>$cultivated__main</1>
116
                                        <2>$cultivated__campus</2>
141 117
                                    </_alt>
142 118
                                </iscultivated>
143 119
                                <taxondetermination>

Also available in: Unified diff