Project

General

Profile

« Previous | Next » 

Revision 11749

inputs/CVS/: switched to new-style import, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource

View differences:

test.xml.ref
8 8
                <path>
9 9
                    <location>
10 10
                        <locationevent>
11
                            <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
11
                            <sourceaccessioncode>$eventID</sourceaccessioncode>
12 12
                            <locationevent fkey="parent_id">
13
                                <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
13
                                <sourceaccessioncode>$eventID</sourceaccessioncode>
14 14
                                <taxonoccurrence>
15 15
                                    <aggregateoccurrence>
16
                                        <collectiondate>$collectionDate</collectiondate>
17
                                        <notes>$notes</notes>
16
                                        <collectiondate>$dateCollected</collectiondate>
17
                                        <notes>$occurrenceRemarks</notes>
18 18
                                        <plantobservation>
19
                                            <authorplantcode>$collectionNumber</authorplantcode>
19
                                            <authorplantcode>$collectorNumber</authorplantcode>
20 20
                                            <specimenreplicate>
21
                                                <catalognumber_dwc>$museumAccessionNumber</catalognumber_dwc>
22
                                                <collectionnumber>$collectionNumber</collectionnumber>
21
                                                <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
22
                                                <collectionnumber>$collectorNumber</collectionnumber>
23 23
                                            </specimenreplicate>
24
                                            <stemobservation><sourceaccessioncode>$stemLocation_ID</sourceaccessioncode></stemobservation>
24
                                            <stemobservation><sourceaccessioncode>$stemID</sourceaccessioncode></stemobservation>
25 25
                                        </plantobservation>
26 26
                                    </aggregateoccurrence>
27
                                    <authortaxoncode>$collectionNumber</authortaxoncode>
28
                                    <sourceaccessioncode>$TAXONOBSERVATION_ID</sourceaccessioncode>
27
                                    <authortaxoncode>$collectorNumber</authortaxoncode>
28
                                    <sourceaccessioncode>$taxonOccurrenceID</sourceaccessioncode>
29 29
                                    <taxondetermination>
30 30
                                        <taxonverbatim_id>
31 31
                                            <taxonverbatim>
......
33 33
                                                    <taxonlabel>
34 34
                                                        <parent_id>
35 35
                                                            <taxonlabel>
36
                                                                <rank>$taxonLevel</rank>
36
                                                                <rank>$taxonRank</rank>
37 37
                                                                <parent_id>
38 38
                                                                    <taxonlabel>
39 39
                                                                        <rank>cultivar</rank>
......
49 49
                                                                                                <parent_id>
50 50
                                                                                                    <taxonlabel>
51 51
                                                                                                        <rank>species</rank>
52
                                                                                                        <taxonepithet>$denorm_species</taxonepithet>
52
                                                                                                        <taxonepithet>$specificEpithet</taxonepithet>
53 53
                                                                                                        <parent_id>
54 54
                                                                                                            <taxonlabel>
55 55
                                                                                                                <rank>genus</rank>
......
57 57
                                                                                                                <parent_id>
58 58
                                                                                                                    <taxonlabel>
59 59
                                                                                                                        <rank>family</rank>
60
                                                                                                                        <taxonepithet>$denorm_family</taxonepithet>
60
                                                                                                                        <taxonepithet>$family</taxonepithet>
61 61
                                                                                                                        <parent_id>
62 62
                                                                                                                            <taxonlabel>
63 63
                                                                                                                                <rank>order</rank>
64
                                                                                                                                <taxonepithet>$Order</taxonepithet>
64
                                                                                                                                <taxonepithet>$order</taxonepithet>
65 65
                                                                                                                                <parent_id>
66 66
                                                                                                                                    <taxonlabel>
67 67
                                                                                                                                        <rank>class</rank>
68
                                                                                                                                        <taxonepithet>$Class</taxonepithet>
68
                                                                                                                                        <taxonepithet>$class</taxonepithet>
69 69
                                                                                                                                        <parent_id>
70 70
                                                                                                                                            <taxonlabel>
71 71
                                                                                                                                                <rank>phylum</rank>
72 72
                                                                                                                                                <parent_id>
73 73
                                                                                                                                                    <taxonlabel>
74 74
                                                                                                                                                        <rank>kingdom</rank>
75
                                                                                                                                                        <taxonepithet>$denorm_kingdom</taxonepithet>
75
                                                                                                                                                        <taxonepithet>$kingdom</taxonepithet>
76 76
                                                                                                                                                    </taxonlabel>
77 77
                                                                                                                                                </parent_id>
78 78
                                                                                                                                            </taxonlabel>
......
95 95
                                                                        </parent_id>
96 96
                                                                    </taxonlabel>
97 97
                                                                </parent_id>
98
                                                                <taxonepithet>$denorm_triName</taxonepithet>
98
                                                                <taxonepithet>$infraspecificEpithet</taxonepithet>
99 99
                                                            </taxonlabel>
100 100
                                                        </parent_id>
101
                                                        <rank>$taxonLevel</rank>
101
                                                        <rank>$taxonRank</rank>
102 102
                                                        <taxonomicname>
103 103
                                                            <_merge_prefix>
104
                                                                <prefix><_taxon_family_require_std><family>$denorm_family</family></_taxon_family_require_std></prefix>
104
                                                                <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
105 105
                                                                <value>
106 106
                                                                    <_alt>
107
                                                                        <1>$plantNameWithAuthority</1>
107
                                                                        <1>$scientificName</1>
108 108
                                                                        <2>
109 109
                                                                            <_alt>
110
                                                                                <1>$plantname</1>
110
                                                                                <1>$taxonName</1>
111 111
                                                                                <2>
112 112
                                                                                    <_join_words>
113 113
                                                                                        <2><_filter_genus><value>$genus</value></_filter_genus></2>
114
                                                                                        <3>$denorm_species</3>
114
                                                                                        <3>$specificEpithet</3>
115 115
                                                                                        <5>
116 116
                                                                                            <_join_words>
117 117
                                                                                                <1>
118 118
                                                                                                    <_if name="if has infraspecificEpithet">
119
                                                                                                        <cond>$denorm_triName</cond>
120
                                                                                                        <then>$taxonLevel</then>
119
                                                                                                        <cond>$infraspecificEpithet</cond>
120
                                                                                                        <then>$taxonRank</then>
121 121
                                                                                                    </_if>
122 122
                                                                                                </1>
123
                                                                                                <2>$denorm_triName</2>
123
                                                                                                <2>$infraspecificEpithet</2>
124 124
                                                                                            </_join_words>
125 125
                                                                                        </5>
126 126
                                                                                    </_join_words>
......
133 133
                                                        </taxonomicname>
134 134
                                                    </taxonlabel>
135 135
                                                </taxonlabel_id>
136
                                                <family>$denorm_family</family>
136
                                                <family>$family</family>
137 137
                                                <genus>$genus</genus>
138
                                                <specific_epithet>$denorm_species</specific_epithet>
139
                                                <taxonname>$plantname</taxonname>
140
                                                <taxonomicname>$plantNameWithAuthority</taxonomicname>
141
                                                <verbatimrank>$taxonLevel</verbatimrank>
138
                                                <specific_epithet>$specificEpithet</specific_epithet>
139
                                                <taxonname>$taxonName</taxonname>
140
                                                <taxonomicname>$scientificName</taxonomicname>
141
                                                <verbatimrank>$taxonRank</verbatimrank>
142 142
                                            </taxonverbatim>
143 143
                                        </taxonverbatim_id>
144
                                        <determinationdate><_dateRangeStart><value>$interpretationDate</value></_dateRangeStart></determinationdate>
145
                                        <determinationtype>$interpretationType</determinationtype>
146
                                        <iscurrent__verbatim>$currentInterpretation</iscurrent__verbatim>
147
                                        <isoriginal>$originalInterpretation</isoriginal>
148
                                        <taxonfit>$taxonFit</taxonfit>
144
                                        <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
145
                                        <determinationtype>$identificationType</determinationtype>
146
                                        <iscurrent__verbatim>$taxon_determination__is_current</iscurrent__verbatim>
147
                                        <isoriginal>$taxon_determination__is_original</isoriginal>
148
                                        <taxonfit>$identificationQualifier</taxonfit>
149 149
                                    </taxondetermination>
150 150
                                    <taxondetermination>
151 151
                                        <isoriginal>true</isoriginal>
152
                                        <taxonverbatim_id><taxonverbatim><taxonname>$authorPlantName</taxonname></taxonverbatim></taxonverbatim_id>
152
                                        <taxonverbatim_id><taxonverbatim><taxonname>$originalTaxonName</taxonname></taxonverbatim></taxonverbatim_id>
153 153
                                    </taxondetermination>
154 154
                                </taxonoccurrence>
155 155
                            </locationevent>

Also available in: Unified diff