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
                        <sourceaccessioncode>$ID</sourceaccessioncode>
68
                        <taxondetermination>
69
                            <party_id>
70
                                <party>
71
                                    <givenname><_namePart><first>$Detby</first></_namePart></givenname>
72
                                    <middlename><_namePart><middle>$Detby</middle></_namePart></middlename>
73
                                    <surname><_namePart><last>$Detby</last></_namePart></surname>
74
                                </party>
75
                            </party_id>
76
                            <taxonpath_id>
77
                                <taxonpath>
78
                                    <family>$Family</family>
79
                                    <genus>$Genus</genus>
80
                                </taxonpath>
81
                            </taxonpath_id>
82
                            <determinationdate>
83
                                <_date>
84
                                    <year>
85
                                        <_nullIf>
86
                                            <null>0</null>
87
                                            <type>float</type>
88
                                            <value>$Detyy</value>
89
                                        </_nullIf>
90
                                    </year>
91
                                </_date>
92
                            </determinationdate>
93
                            <taxonfit>$cf</taxonfit>
94
                        </taxondetermination>
95
                        <verbatimcollectorname>
96
                            <_join>
97
                                <1>$Collector</1>
98
                                <2>$Addcoll</2>
99
                            </_join>
100
                        </verbatimcollectorname>
101
                    </taxonoccurrence>
102
                </locationevent>
103
                <locationnarrative>
104
                    <_merge>
105
                        <2>
106
                            <_join>
107
                                <1>
108
                                    <_label>
109
                                        <label>gazetteer</label>
110
                                        <value>
111
                                            <_join>
112
                                                <1>$Gazetteer</1>
113
                                                <2>$Newgazett</2>
114
                                            </_join>
115
                                        </value>
116
                                    </_label>
117
                                </1>
118
                                <2>$Locnotes</2>
119
                            </_join>
120
                        </2>
121
                        <3>
122
                            <_label>
123
                                <label>habitat</label>
124
                                <value>$Ecology</value>
125
                            </_label>
126
                        </3>
127
                    </_merge>
128
                </locationnarrative>
129
                <locationplace><placepath_id><placepath><country>$Country</country></placepath></placepath_id></locationplace>
130
            </location>
131
        </path>
132
    </_simplifyPath>
133
</VegBIEN>
134
Inserted 23 new rows into database
(5-5/6)