Project

General

Profile

« Previous | Next » 

Revision 10625

inputs/TEX/: 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
11 11
                            <_units>
12 12
                                <to>m</to>
13 13
                                <to></to>
14
                                <value>$ELEVATION</value>
14
                                <value>$verbatimElevation</value>
15 15
                            </_units>
16 16
                        </elevation_m>
17 17
                        <iscultivated>
18 18
                            <_locationnarrative_is_cultivated>
19 19
                                <locationnarrative>
20 20
                                    <_join>
21
                                        <1>$LOCALITY</1>
22
                                        <3>$VEGETATION</3>
21
                                        <1>$locality</1>
22
                                        <3>$habitat</3>
23 23
                                    </_join>
24 24
                                </locationnarrative>
25 25
                            </_locationnarrative_is_cultivated>
......
28 28
                            <taxonoccurrence>
29 29
                                <aggregateoccurrence>
30 30
                                    <collectiondate>$dateCollected</collectiondate>
31
                                    <notes>$PLANT DATA</notes>
31
                                    <notes>$occurrenceRemarks</notes>
32 32
                                    <plantobservation>
33
                                        <authorplantcode>$COLLECTOR NUMBER</authorplantcode>
34
                                        <reproductivecondition>$PHENOLOGY</reproductivecondition>
33
                                        <authorplantcode>$collectorNumber</authorplantcode>
34
                                        <reproductivecondition>$reproductiveCondition</reproductivecondition>
35 35
                                        <specimenreplicate>
36
                                            <collectioncode_dwc>$HERBARIUM</collectioncode_dwc>
37
                                            <collectionnumber>$COLLECTOR NUMBER</collectionnumber>
36
                                            <collectioncode_dwc>$collection</collectioncode_dwc>
37
                                            <collectionnumber>$collectorNumber</collectionnumber>
38 38
                                        </specimenreplicate>
39 39
                                    </plantobservation>
40 40
                                </aggregateoccurrence>
......
44 44
                                        <cultivated>t</cultivated>
45 45
                                        <wild>f</wild>
46 46
                                        <*></*>
47
                                        <value>$ORIGIN</value>
47
                                        <value>$establishmentMeans</value>
48 48
                                    </_map>
49 49
                                </iscultivated>
50 50
                                <isnative>
......
52 52
                                        <native>t</native>
53 53
                                        <exotic>f</exotic>
54 54
                                        <*></*>
55
                                        <value>$ORIGIN</value>
55
                                        <value>$establishmentMeans</value>
56 56
                                    </_map>
57 57
                                </isnative>
58 58
                                <taxondetermination>
......
72 72
                                                                            <parent_id>
73 73
                                                                                <taxonlabel>
74 74
                                                                                    <rank>variety</rank>
75
                                                                                    <taxonepithet>$VARIETY</taxonepithet>
75
                                                                                    <taxonepithet>$variety</taxonepithet>
76 76
                                                                                    <parent_id>
77 77
                                                                                        <taxonlabel>
78 78
                                                                                            <rank>subspecies</rank>
79
                                                                                            <taxonepithet>$SUBSPECIES</taxonepithet>
79
                                                                                            <taxonepithet>$subspecies</taxonepithet>
80 80
                                                                                            <parent_id>
81 81
                                                                                                <taxonlabel>
82 82
                                                                                                    <rank>species</rank>
83
                                                                                                    <taxonepithet>$SPECIES</taxonepithet>
83
                                                                                                    <taxonepithet>$specificEpithet</taxonepithet>
84 84
                                                                                                    <parent_id>
85 85
                                                                                                        <taxonlabel>
86 86
                                                                                                            <rank>genus</rank>
87
                                                                                                            <taxonepithet>$GENUS</taxonepithet>
87
                                                                                                            <taxonepithet>$genus</taxonepithet>
88 88
                                                                                                            <parent_id>
89 89
                                                                                                                <taxonlabel>
90 90
                                                                                                                    <rank>family</rank>
91
                                                                                                                    <taxonepithet>$FAMILY</taxonepithet>
91
                                                                                                                    <taxonepithet>$family</taxonepithet>
92 92
                                                                                                                </taxonlabel>
93 93
                                                                                                            </parent_id>
94 94
                                                                                                        </taxonlabel>
......
107 107
                                                    </parent_id>
108 108
                                                    <taxonomicname>
109 109
                                                        <_merge_prefix>
110
                                                            <prefix><_taxon_family_require_std><family>$FAMILY</family></_taxon_family_require_std></prefix>
110
                                                            <prefix><_taxon_family_require_std><family>$family</family></_taxon_family_require_std></prefix>
111 111
                                                            <value>
112 112
                                                                <_join_words>
113 113
                                                                    <1>
114 114
                                                                        <_join_words>
115
                                                                            <2><_filter_genus><value>$GENUS</value></_filter_genus></2>
116
                                                                            <3>$SPECIES</3>
117
                                                                            <4>$SUBSPECIES</4>
115
                                                                            <2><_filter_genus><value>$genus</value></_filter_genus></2>
116
                                                                            <3>$specificEpithet</3>
117
                                                                            <4>$subspecies</4>
118 118
                                                                            <6>
119 119
                                                                                <_join_words>
120 120
                                                                                    <1>var. </1>
121
                                                                                    <2>$VARIETY</2>
121
                                                                                    <2>$variety</2>
122 122
                                                                                </_join_words>
123 123
                                                                            </6>
124 124
                                                                        </_join_words>
125 125
                                                                    </1>
126
                                                                    <2>$SPECIES AUTHORITY</2>
126
                                                                    <2>$scientificNameAuthorship</2>
127 127
                                                                </_join_words>
128 128
                                                            </value>
129 129
                                                        </_merge_prefix>
130 130
                                                    </taxonomicname>
131 131
                                                </taxonlabel>
132 132
                                            </taxonlabel_id>
133
                                            <author>$SPECIES AUTHORITY</author>
134
                                            <family>$FAMILY</family>
135
                                            <genus>$GENUS</genus>
136
                                            <specific_epithet>$SPECIES</specific_epithet>
133
                                            <author>$scientificNameAuthorship</author>
134
                                            <family>$family</family>
135
                                            <genus>$genus</genus>
136
                                            <specific_epithet>$specificEpithet</specific_epithet>
137 137
                                        </taxonverbatim>
138 138
                                    </taxonverbatim_id>
139
                                    <determinationdate><_dateRangeStart><value>$DET DATE</value></_dateRangeStart></determinationdate>
139
                                    <determinationdate><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></determinationdate>
140 140
                                </taxondetermination>
141 141
                            </taxonoccurrence>
142 142
                        </locationevent>
143 143
                        <locationnarrative>
144 144
                            <_merge>
145
                                <1>$LOCALITY</1>
145
                                <1>$locality</1>
146 146
                                <3>
147 147
                                    <_label>
148 148
                                        <label>habitat</label>
149
                                        <value>$VEGETATION</value>
149
                                        <value>$habitat</value>
150 150
                                    </_label>
151 151
                                </3>
152
                                <4>$MISC NOTES</4>
152
                                <4>$locationRemarks</4>
153 153
                            </_merge>
154 154
                        </locationnarrative>
155 155
                        <locationplace>
......
157 157
                                <place>
158 158
                                    <coordinates_id>
159 159
                                        <coordinates>
160
                                            <latitude_deg><_dms_to_dd><value>$LATITUDE</value></_dms_to_dd></latitude_deg>
161
                                            <longitude_deg><_dms_to_dd><value>$LONGITUDE</value></_dms_to_dd></longitude_deg>
162
                                            <verbatimlatitude>$LATITUDE</verbatimlatitude>
163
                                            <verbatimlongitude>$LONGITUDE</verbatimlongitude>
160
                                            <latitude_deg><_dms_to_dd><value>$latitude_DMS</value></_dms_to_dd></latitude_deg>
161
                                            <longitude_deg><_dms_to_dd><value>$longitude_DMS</value></_dms_to_dd></longitude_deg>
162
                                            <verbatimlatitude>$latitude_DMS</verbatimlatitude>
163
                                            <verbatimlongitude>$longitude_DMS</verbatimlongitude>
164 164
                                        </coordinates>
165 165
                                    </coordinates_id>
166
                                    <county>$COUNTY</county>
166
                                    <county>$county</county>
167 167
                                    <matched_place_id>
168 168
                                        <place>
169 169
                                            <source_id><source><shortname>geoscrub</shortname></source></source_id>
170 170
                                            <coordinates_id>
171 171
                                                <coordinates>
172 172
                                                    <source_id><source><shortname>geoscrub</shortname></source></source_id>
173
                                                    <latitude_deg><_dms_to_dd><value>$LATITUDE</value></_dms_to_dd></latitude_deg>
174
                                                    <longitude_deg><_dms_to_dd><value>$LONGITUDE</value></_dms_to_dd></longitude_deg>
173
                                                    <latitude_deg><_dms_to_dd><value>$latitude_DMS</value></_dms_to_dd></latitude_deg>
174
                                                    <longitude_deg><_dms_to_dd><value>$longitude_DMS</value></_dms_to_dd></longitude_deg>
175 175
                                                </coordinates>
176 176
                                            </coordinates_id>
177
                                            <county>$COUNTY</county>
178
                                            <stateprovince>$STATE</stateprovince>
177
                                            <county>$county</county>
178
                                            <stateprovince>$stateProvince</stateprovince>
179 179
                                        </place>
180 180
                                    </matched_place_id>
181
                                    <stateprovince>$STATE</stateprovince>
181
                                    <stateprovince>$stateProvince</stateprovince>
182 182
                                </place>
183 183
                            </place_id>
184 184
                        </locationplace>
185
                        <verbatimelevation>$ELEVATION</verbatimelevation>
185
                        <verbatimelevation>$verbatimElevation</verbatimelevation>
186 186
                    </location>
187 187
                </path>
188 188
            </_simplifyPath>

Also available in: Unified diff