Project

General

Profile

« Previous | Next » 

Revision 10560

inputs/NY/Ecatalog_all/: translated multi-column filters to postprocessing derived columns, using the steps at wiki.vegpath.org/Adding_new-style_import_to_a_datasource#Translating-filters-to-postprocessing-derived-columns

View differences:

test.xml.ref
29 29
                            <_locationnarrative_is_cultivated>
30 30
                                <locationnarrative>
31 31
                                    <_join>
32
                                        <1>
33
                                            <_join>
34
                                                <1>$Locality</1>
35
                                                <2>
36
                                                    <_label>
37
                                                        <label>substrate</label>
38
                                                        <value>$Substrate</value>
39
                                                    </_label>
40
                                                </2>
41
                                                <3>
42
                                                    <_label>
43
                                                        <label>vegetation</label>
44
                                                        <value>$Vegetation</value>
45
                                                    </_label>
46
                                                </3>
47
                                            </_join>
48
                                        </1>
32
                                        <1>$locality</1>
49 33
                                        <3>$Habitat</3>
50 34
                                    </_join>
51 35
                                </locationnarrative>
......
80 64
                                        </_date>
81 65
                                    </collectiondate>
82 66
                                    <count>$IndividualCount</count>
83
                                    <notes>
84
                                        <_join>
85
                                            <1>$Notes</1>
86
                                            <2>$PlantFungDescription</2>
87
                                        </_join>
88
                                    </notes>
67
                                    <notes>$occurrenceRemarks</notes>
89 68
                                    <plantobservation>
90 69
                                        <authorplantcode>$FieldNumber</authorplantcode>
91 70
                                        <definedvalue fkey="tablerecord_id">
......
258 237
                        </locationevent>
259 238
                        <locationnarrative>
260 239
                            <_merge>
261
                                <1>
262
                                    <_join>
263
                                        <1>$Locality</1>
264
                                        <2>
265
                                            <_label>
266
                                                <label>substrate</label>
267
                                                <value>$Substrate</value>
268
                                            </_label>
269
                                        </2>
270
                                        <3>
271
                                            <_label>
272
                                                <label>vegetation</label>
273
                                                <value>$Vegetation</value>
274
                                            </_label>
275
                                        </3>
276
                                    </_join>
277
                                </1>
240
                                <1>$locality</1>
278 241
                                <3>
279 242
                                    <_label>
280 243
                                        <label>habitat</label>

Also available in: Unified diff