Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <authorlocationcode>
8
                    <_alt>
9
                        <1>$ID</1>
10
                        <2>$Barcode</2>
11
                    </_alt>
12
                </authorlocationcode>
13
                <locationcoords>
14
                    <latitude_deg>
15
                        <_nullIf>
16
                            <null>0</null>
17
                            <type>float</type>
18
                            <value>$Lat</value>
19
                        </_nullIf>
20
                    </latitude_deg>
21
                    <longitude_deg>
22
                        <_nullIf>
23
                            <null>0</null>
24
                            <type>float</type>
25
                            <value>$Long</value>
26
                        </_nullIf>
27
                    </longitude_deg>
28
                </locationcoords>
29
                <locationevent>
30
                    <taxonoccurrence>
31
                        <aggregateoccurrence>
32
                            <collectiondate>
33
                                <_date>
34
                                    <day>
35
                                        <_nullIf>
36
                                            <null>0</null>
37
                                            <type>float</type>
38
                                            <value>$Colldd</value>
39
                                        </_nullIf>
40
                                    </day>
41
                                    <month>
42
                                        <_nullIf>
43
                                            <null>0</null>
44
                                            <type>float</type>
45
                                            <value>$Collmm</value>
46
                                        </_nullIf>
47
                                    </month>
48
                                    <year>
49
                                        <_nullIf>
50
                                            <null>0</null>
51
                                            <type>float</type>
52
                                            <value>$Collyy</value>
53
                                        </_nullIf>
54
                                    </year>
55
                                </_date>
56
                            </collectiondate>
57
                            <notes>$Notes</notes>
58
                            <plantobservation>
59
                                <collectionnumber>$Number</collectionnumber>
60
                                <specimenreplicate>
61
                                    <catalognumber_dwc>$Barcode</catalognumber_dwc>
62
                                    <sourceaccessioncode>$ID</sourceaccessioncode>
63
                                </specimenreplicate>
64
                            </plantobservation>
65
                        </aggregateoccurrence>
66
                        <authortaxoncode>$Number</authortaxoncode>
67
                        <taxondetermination>
68
                            <party_id>
69
                                <party>
70
                                    <givenname><_namePart><first>$Detby</first></_namePart></givenname>
71
                                    <middlename><_namePart><middle>$Detby</middle></_namePart></middlename>
72
                                    <surname><_namePart><last>$Detby</last></_namePart></surname>
73
                                </party>
74
                            </party_id>
75
                            <taxonpath_id>
76
                                <taxonpath>
77
                                    <family>$Family</family>
78
                                    <genus>$Genus</genus>
79
                                </taxonpath>
80
                            </taxonpath_id>
81
                            <determinationdate>
82
                                <_date>
83
                                    <year>
84
                                        <_nullIf>
85
                                            <null>0</null>
86
                                            <type>float</type>
87
                                            <value>$Detyy</value>
88
                                        </_nullIf>
89
                                    </year>
90
                                </_date>
91
                            </determinationdate>
92
                            <taxonfit>$cf</taxonfit>
93
                        </taxondetermination>
94
                        <verbatimcollectorname>
95
                            <_join>
96
                                <1>$Collector</1>
97
                                <2>$Addcoll</2>
98
                            </_join>
99
                        </verbatimcollectorname>
100
                    </taxonoccurrence>
101
                </locationevent>
102
                <locationnarrative>
103
                    <_merge>
104
                        <2>
105
                            <_join>
106
                                <1>
107
                                    <_label>
108
                                        <label>gazetteer</label>
109
                                        <value>
110
                                            <_join>
111
                                                <1>$Gazetteer</1>
112
                                                <2>$Newgazett</2>
113
                                            </_join>
114
                                        </value>
115
                                    </_label>
116
                                </1>
117
                                <2>$Locnotes</2>
118
                            </_join>
119
                        </2>
120
                        <3>
121
                            <_label>
122
                                <label>habitat</label>
123
                                <value>$Ecology</value>
124
                            </_label>
125
                        </3>
126
                    </_merge>
127
                </locationnarrative>
128
                <locationplace><placepath_id><placepath><country>$Country</country></placepath></placepath_id></locationplace>
129
            </location>
130
        </path>
131
    </_simplifyPath>
132
</VegBIEN>
133
Inserted 24 new rows into database
(5-5/6)