Project

General

Profile

« Previous | Next » 

Revision 10385

inputs/BRIT/specimen_flat/: translated multi-column filters with _join() 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
28 28
                            <_locationnarrative_is_cultivated>
29 29
                                <locationnarrative>
30 30
                                    <_join>
31
                                        <1>
32
                                            <_join>
33
                                                <1>$Locality_Summary</1>
34
                                                <2>$Locality_Description</2>
35
                                                <3>$Locality_Site_Specific</3>
36
                                            </_join>
37
                                        </1>
31
                                        <1>$locality</1>
38 32
                                        <3>$Habitat_Description</3>
39 33
                                    </_join>
40 34
                                </locationnarrative>
......
103 97
                                        </stemobservation>
104 98
                                    </plantobservation>
105 99
                                </aggregateoccurrence>
106
                                <collector_id>
107
                                    <party>
108
                                        <fullname>
109
                                            <_join>
110
                                                <1>$Collector_Abbrev_Name</1>
111
                                                <2>$Collection_Team</2>
112
                                            </_join>
113
                                        </fullname>
114
                                    </party>
115
                                </collector_id>
100
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
116 101
                                <sourceaccessioncode>$specimen_id</sourceaccessioncode>
117 102
                                <taxondetermination>
118 103
                                    <party_id><party><fullname>$Determined_By_Name</fullname></party></party_id>
......
253 238
                        </locationevent>
254 239
                        <locationnarrative>
255 240
                            <_merge>
256
                                <1>
257
                                    <_join>
258
                                        <1>$Locality_Summary</1>
259
                                        <2>$Locality_Description</2>
260
                                        <3>$Locality_Site_Specific</3>
261
                                    </_join>
262
                                </1>
241
                                <1>$locality</1>
263 242
                                <3>
264 243
                                    <_label>
265 244
                                        <label>habitat</label>

Also available in: Unified diff