Project

General

Profile

« Previous | Next » 

Revision 10558

inputs/UBC/: switched to new-style import, using the steps at 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>$id</1>
12
                                <1>$dataProviderRecordID</1>
13 13
                                <2>
14 14
                                    <_join>
15
                                        <1>$institutionCode</1>
15
                                        <1>$specimenHolderInstitutions</1>
16 16
                                        <2>
17 17
                                            <_join>
18
                                                <1>$collectionCode</1>
19
                                                <2>$collectionID</2>
18
                                                <1>$collection</1>
19
                                                <2>$collectionURL</2>
20 20
                                            </_join>
21 21
                                        </2>
22
                                        <3>$catalogNumber</3>
22
                                        <3>$accessionNumber</3>
23 23
                                    </_join>
24 24
                                </2>
25 25
                            </_alt>
......
45 45
                        <locationevent>
46 46
                            <taxonoccurrence>
47 47
                                <aggregateoccurrence>
48
                                    <collectiondate>$eventDate</collectiondate>
48
                                    <collectiondate>$dateCollected</collectiondate>
49 49
                                    <notes>$occurrenceRemarks</notes>
50 50
                                    <plantobservation>
51
                                        <authorplantcode>$recordNumber</authorplantcode>
51
                                        <authorplantcode>$collectorNumber</authorplantcode>
52 52
                                        <specimenreplicate>
53
                                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
53
                                            <catalognumber_dwc>$accessionNumber</catalognumber_dwc>
54 54
                                            <collectioncode_dwc>
55 55
                                                <_alt>
56
                                                    <1>$collectionCode</1>
57
                                                    <2>$collectionID</2>
56
                                                    <1>$collection</1>
57
                                                    <2>$collectionURL</2>
58 58
                                                </_alt>
59 59
                                            </collectioncode_dwc>
60
                                            <collectionnumber>$recordNumber</collectionnumber>
60
                                            <collectionnumber>$collectorNumber</collectionnumber>
61 61
                                            <institution_id>
62 62
                                                <sourcelist>
63
                                                    <name>$institutionCode</name>
63
                                                    <name>$specimenHolderInstitutions</name>
64 64
                                                    <sourcename>
65 65
                                                        <name>
66 66
                                                            <_split>
67 67
                                                                <separator>[,;] *</separator>
68
                                                                <value>$institutionCode</value>
68
                                                                <value>$specimenHolderInstitutions</value>
69 69
                                                            </_split>
70 70
                                                        </name>
71 71
                                                    </sourcename>
72 72
                                                </sourcelist>
73 73
                                            </institution_id>
74
                                            <sourceaccessioncode>$id</sourceaccessioncode>
74
                                            <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
75 75
                                        </specimenreplicate>
76 76
                                    </plantobservation>
77 77
                                </aggregateoccurrence>
78 78
                                <collector_id><party><fullname>$recordedBy</fullname></party></collector_id>
79
                                <sourceaccessioncode>$id</sourceaccessioncode>
79
                                <sourceaccessioncode>$dataProviderRecordID</sourceaccessioncode>
80 80
                                <taxondetermination>
81 81
                                    <party_id><party><fullname>$identifiedBy</fullname></party></party_id>
82 82
                                    <taxonverbatim_id>

Also available in: Unified diff