Project

General

Profile

« Previous | Next » 

Revision 10622

inputs/TEX/Specimen2/: translated multi-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
27 27
                        <locationevent>
28 28
                            <taxonoccurrence>
29 29
                                <aggregateoccurrence>
30
                                    <collectiondate>
31
                                        <_alt>
32
                                            <1>$EXACT DATE</1>
33
                                            <2>$GENERAL DATE</2>
34
                                        </_alt>
35
                                    </collectiondate>
30
                                    <collectiondate>$dateCollected</collectiondate>
36 31
                                    <notes>$PLANT DATA</notes>
37 32
                                    <plantobservation>
38 33
                                        <authorplantcode>$COLLECTOR NUMBER</authorplantcode>
......
43 38
                                        </specimenreplicate>
44 39
                                    </plantobservation>
45 40
                                </aggregateoccurrence>
46
                                <collector_id>
47
                                    <party>
48
                                        <fullname>
49
                                            <_join>
50
                                                <1>
51
                                                    <_join_words>
52
                                                        <1>$COLLECTOR 1 FIRST NAME</1>
53
                                                        <2>$COLLECTOR 1 LAST NAME</2>
54
                                                    </_join_words>
55
                                                </1>
56
                                                <2>
57
                                                    <_join_words>
58
                                                        <1>$COLLECTOR 2 FIRST NAME</1>
59
                                                        <2>$COLLECTOR 2 LAST NAME</2>
60
                                                    </_join_words>
61
                                                </2>
62
                                                <3>
63
                                                    <_join_words>
64
                                                        <1>$COLLECTOR 3 FIRST NAME</1>
65
                                                        <2>$COLLECTOR 3 LAST NAME</2>
66
                                                    </_join_words>
67
                                                </3>
68
                                                <4>
69
                                                    <_join_words>
70
                                                        <1>$COLLECTOR 4 FIRST NAME</1>
71
                                                        <2>$COLLECTOR 4 LAST NAME</2>
72
                                                    </_join_words>
73
                                                </4>
74
                                                <5>
75
                                                    <_join_words>
76
                                                        <1>$COLLECTOR 5 FIRST NAME</1>
77
                                                        <2>$COLLECTOR 5 LAST NAME</2>
78
                                                    </_join_words>
79
                                                </5>
80
                                            </_join>
81
                                        </fullname>
82
                                    </party>
83
                                </collector_id>
41
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
84 42
                                <iscultivated>
85 43
                                    <_map>
86 44
                                        <cultivated>t</cultivated>

Also available in: Unified diff