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
                        <sourceaccessioncode>$ID</sourceaccessioncode>
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
                            <taxonconcept_id>
76
                                <taxonconcept>
77
                                    <canon_taxonconcept_id>
78
                                        <taxonconcept>
79
                                            <creator_id>
80
                                                <party>
81
                                                    <creator_id>0</creator_id>
82
                                                    <organizationname>TNRS</organizationname>
83
                                                </party>
84
                                            </creator_id>
85
                                            <identifyingtaxonomicname>
86
                                                <_join_words>
87
                                                    <1>$Family</1>
88
                                                    <2>$Genus</2>
89
                                                </_join_words>
90
                                            </identifyingtaxonomicname>
91
                                        </taxonconcept>
92
                                    </canon_taxonconcept_id>
93
                                    <creator_id>
94
                                        <_simplifyPath>
95
                                            <next>creator_id</next>
96
                                            <path>
97
                                                <party>
98
                                                    <givenname><_namePart><first>$Detby</first></_namePart></givenname>
99
                                                    <middlename><_namePart><middle>$Detby</middle></_namePart></middlename>
100
                                                    <surname><_namePart><last>$Detby</last></_namePart></surname>
101
                                                </party>
102
                                            </path>
103
                                        </_simplifyPath>
104
                                    </creator_id>
105
                                    <family>$Family</family>
106
                                    <genus>$Genus</genus>
107
                                </taxonconcept>
108
                            </taxonconcept_id>
109
                            <determinationdate>
110
                                <_date>
111
                                    <year>
112
                                        <_nullIf>
113
                                            <null>0</null>
114
                                            <type>float</type>
115
                                            <value>$Detyy</value>
116
                                        </_nullIf>
117
                                    </year>
118
                                </_date>
119
                            </determinationdate>
120
                            <taxonfit>$cf</taxonfit>
121
                        </taxondetermination>
122
                        <verbatimcollectorname>
123
                            <_join>
124
                                <1>$Collector</1>
125
                                <2>$Addcoll</2>
126
                            </_join>
127
                        </verbatimcollectorname>
128
                    </taxonoccurrence>
129
                </locationevent>
130
                <locationnarrative>
131
                    <_merge>
132
                        <2>
133
                            <_join>
134
                                <1>
135
                                    <_label>
136
                                        <label>gazetteer</label>
137
                                        <value>
138
                                            <_join>
139
                                                <1>$Gazetteer</1>
140
                                                <2>$Newgazett</2>
141
                                            </_join>
142
                                        </value>
143
                                    </_label>
144
                                </1>
145
                                <2>$Locnotes</2>
146
                            </_join>
147
                        </2>
148
                        <3>
149
                            <_label>
150
                                <label>habitat</label>
151
                                <value>$Ecology</value>
152
                            </_label>
153
                        </3>
154
                    </_merge>
155
                </locationnarrative>
156
                <locationplace><placepath_id><placepath><country>$Country</country></placepath></placepath_id></locationplace>
157
            </location>
158
        </path>
159
    </_simplifyPath>
160
</VegBIEN>
161
Inserted 26 new rows into database
(5-5/6)