Project

General

Profile

« Previous | Next » 

Revision 10569

inputs/NCU/: 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
9 9
                    <location>
10 10
                        <authorlocationcode>
11 11
                            <_alt>
12
                                <1>$SpecimenPK</1>
12
                                <1>$occurrenceID</1>
13 13
                                <2>
14 14
                                    <_join>
15
                                        <1>$CatalogSeriesPrefix</1>
16
                                        <2>$CollectionGUID</2>
17
                                        <3>$CatalogNumber</3>
15
                                        <1>$specimenHolderInstitutions</1>
16
                                        <2>$collectionURL</2>
17
                                        <3>$accessionNumber</3>
18 18
                                    </_join>
19 19
                                </2>
20 20
                            </_alt>
21 21
                        </authorlocationcode>
22
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$VerbatimLocality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
22
                        <iscultivated><_locationnarrative_is_cultivated><locationnarrative>$verbatimLocality</locationnarrative></_locationnarrative_is_cultivated></iscultivated>
23 23
                        <locationevent>
24 24
                            <taxonoccurrence>
25 25
                                <aggregateoccurrence>
26
                                    <collectiondate>$CollectionDate</collectiondate>
27
                                    <notes>$Description</notes>
26
                                    <collectiondate>$dateCollected</collectiondate>
27
                                    <notes>$occurrenceRemarks</notes>
28 28
                                    <plantobservation>
29
                                        <authorplantcode>$firstCollectorRemarks</authorplantcode>
29
                                        <authorplantcode>$collectorNumber</authorplantcode>
30 30
                                        <specimenreplicate>
31
                                            <catalognumber_dwc>$CatalogNumber</catalognumber_dwc>
32
                                            <collectioncode_dwc>$CollectionGUID</collectioncode_dwc>
33
                                            <collectionnumber>$firstCollectorRemarks</collectionnumber>
31
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
32
                                            <collectioncode_dwc>$collectionURL</collectioncode_dwc>
33
                                            <collectionnumber>$collectorNumber</collectionnumber>
34 34
                                            <institution_id>
35 35
                                                <sourcelist>
36
                                                    <name>$CatalogSeriesPrefix</name>
36
                                                    <name>$specimenHolderInstitutions</name>
37 37
                                                    <sourcename>
38 38
                                                        <name>
39 39
                                                            <_split>
40 40
                                                                <separator>[,;] *</separator>
41
                                                                <value>$CatalogSeriesPrefix</value>
41
                                                                <value>$specimenHolderInstitutions</value>
42 42
                                                            </_split>
43 43
                                                        </name>
44 44
                                                    </sourcename>
45 45
                                                </sourcelist>
46 46
                                            </institution_id>
47
                                            <sourceaccessioncode>$SpecimenPK</sourceaccessioncode>
47
                                            <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
48 48
                                        </specimenreplicate>
49 49
                                    </plantobservation>
50 50
                                </aggregateoccurrence>
51
                                <collector_id><party><fullname>$firstCollectorName</fullname></party></collector_id>
51
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
52 52
                                <iscultivated>$cultivated</iscultivated>
53
                                <sourceaccessioncode>$SpecimenPK</sourceaccessioncode>
53
                                <sourceaccessioncode>$occurrenceID</sourceaccessioncode>
54 54
                                <taxondetermination>
55 55
                                    <taxonverbatim_id>
56 56
                                        <taxonverbatim>
......
58 58
                                                <taxonlabel>
59 59
                                                    <taxonomicname>
60 60
                                                        <_alt>
61
                                                            <1>$CurrentScientificNameWithAuthor</1>
62
                                                            <2>$CurrentScientificName</2>
61
                                                            <1>$scientificName</1>
62
                                                            <2>$taxonName</2>
63 63
                                                        </_alt>
64 64
                                                    </taxonomicname>
65 65
                                                </taxonlabel>
66 66
                                            </taxonlabel_id>
67
                                            <taxonname>$CurrentScientificName</taxonname>
68
                                            <taxonomicname>$CurrentScientificNameWithAuthor</taxonomicname>
67
                                            <taxonname>$taxonName</taxonname>
68
                                            <taxonomicname>$scientificName</taxonomicname>
69 69
                                        </taxonverbatim>
70 70
                                    </taxonverbatim_id>
71 71
                                </taxondetermination>
72 72
                                <taxondetermination>
73 73
                                    <isoriginal>true</isoriginal>
74
                                    <taxonverbatim_id><taxonverbatim><taxonomicname>$OriginalTaxonLabel</taxonomicname></taxonverbatim></taxonverbatim_id>
74
                                    <taxonverbatim_id><taxonverbatim><taxonomicname>$originalScientificName</taxonomicname></taxonverbatim></taxonverbatim_id>
75 75
                                </taxondetermination>
76 76
                            </taxonoccurrence>
77 77
                        </locationevent>
78
                        <locationnarrative>$VerbatimLocality</locationnarrative>
78
                        <locationnarrative>$verbatimLocality</locationnarrative>
79 79
                        <locationplace>
80 80
                            <place_id>
81 81
                                <place>
......
85 85
                                                <_nullIf>
86 86
                                                    <null>0</null>
87 87
                                                    <type>float</type>
88
                                                    <value>$Latitude1</value>
88
                                                    <value>$decimalLatitude</value>
89 89
                                                </_nullIf>
90 90
                                            </latitude_deg>
91 91
                                            <longitude_deg>
92 92
                                                <_nullIf>
93 93
                                                    <null>0</null>
94 94
                                                    <type>float</type>
95
                                                    <value>$Longitude1</value>
95
                                                    <value>$decimalLongitude</value>
96 96
                                                </_nullIf>
97 97
                                            </longitude_deg>
98
                                            <verbatimlatitude>$Loc_AltN</verbatimlatitude>
99
                                            <verbatimlongitude>$Loc_AltE</verbatimlongitude>
98
                                            <verbatimlatitude>$verbatimLatitude</verbatimlatitude>
99
                                            <verbatimlongitude>$verbatimLongitude</verbatimlongitude>
100 100
                                        </coordinates>
101 101
                                    </coordinates_id>
102 102
                                    <placename_id>
103 103
                                        <placename>
104 104
                                            <rank>municipality</rank>
105
                                            <placename>$CityLocality</placename>
105
                                            <placename>$municipality</placename>
106 106
                                        </placename>
107 107
                                    </placename_id>
108
                                    <country>$Country</country>
108
                                    <country>$country</country>
109 109
                                    <county>$county</county>
110 110
                                    <matched_place_id>
111 111
                                        <place>
......
117 117
                                                        <_nullIf>
118 118
                                                            <null>0</null>
119 119
                                                            <type>float</type>
120
                                                            <value>$Latitude1</value>
120
                                                            <value>$decimalLatitude</value>
121 121
                                                        </_nullIf>
122 122
                                                    </latitude_deg>
123 123
                                                    <longitude_deg>
124 124
                                                        <_nullIf>
125 125
                                                            <null>0</null>
126 126
                                                            <type>float</type>
127
                                                            <value>$Longitude1</value>
127
                                                            <value>$decimalLongitude</value>
128 128
                                                        </_nullIf>
129 129
                                                    </longitude_deg>
130 130
                                                </coordinates>
131 131
                                            </coordinates_id>
132
                                            <country>$Country</country>
132
                                            <country>$country</country>
133 133
                                            <county>$county</county>
134
                                            <stateprovince>$State</stateprovince>
134
                                            <stateprovince>$stateProvince</stateprovince>
135 135
                                        </place>
136 136
                                    </matched_place_id>
137
                                    <stateprovince>$State</stateprovince>
137
                                    <stateprovince>$stateProvince</stateprovince>
138 138
                                </place>
139 139
                            </place_id>
140 140
                        </locationplace>

Also available in: Unified diff