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>
11
                            <_join>
12
                                <1>$institutionCode</1>
13
                                <2>
14
                                    <_join>
15
                                        <1>$collectionCode</1>
16
                                        <2>$collectionID</2>
17
                                    </_join>
18
                                </2>
19
                                <3>$catalogNumber</3>
20
                            </_join>
21
                        </2>
22
                    </_alt>
23
                </authorlocationcode>
24
                <elevation_m>
25
                    <_units>
26
                        <to>m</to>
27
                        <to></to>
28
                        <value>$verbatimElevation</value>
29
                    </_units>
30
                </elevation_m>
31
                <locationcoords>
32
                    <latitude_deg>
33
                        <_nullIf>
34
                            <null>0</null>
35
                            <type>float</type>
36
                            <value>$decimalLatitude</value>
37
                        </_nullIf>
38
                    </latitude_deg>
39
                    <longitude_deg>
40
                        <_nullIf>
41
                            <null>0</null>
42
                            <type>float</type>
43
                            <value>$decimalLongitude</value>
44
                        </_nullIf>
45
                    </longitude_deg>
46
                </locationcoords>
47
                <locationevent>
48
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
49
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
50
                    <taxonoccurrence>
51
                        <aggregateoccurrence>
52
                            <plantobservation>
53
                                <collectionnumber>$recordNumber</collectionnumber>
54
                                <specimenreplicate>
55
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
56
                                    <collectioncode_dwc>
57
                                        <_join>
58
                                            <1>$collectionCode</1>
59
                                            <2>$collectionID</2>
60
                                        </_join>
61
                                    </collectioncode_dwc>
62
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
63
                                    <sourceaccessioncode>$id</sourceaccessioncode>
64
                                </specimenreplicate>
65
                            </plantobservation>
66
                        </aggregateoccurrence>
67
                        <sourceaccessioncode>$id</sourceaccessioncode>
68
                        <taxondetermination>
69
                            <party_id>
70
                                <party>
71
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
72
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
73
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
74
                                </party>
75
                            </party_id>
76
                            <taxonconcept_id>
77
                                <taxonconcept>
78
                                    <canon_taxonconcept_id>
79
                                        <taxonconcept>
80
                                            <datasource_id>
81
                                                <party>
82
                                                    <datasource_id>0</datasource_id>
83
                                                    <organizationname>TNRS</organizationname>
84
                                                </party>
85
                                            </datasource_id>
86
                                            <identifyingtaxonomicname>
87
                                                <_alt>
88
                                                    <1>$scientificName</1>
89
                                                    <2>
90
                                                        <_join_words>
91
                                                            <1>
92
                                                                <_join_words>
93
                                                                    <1>$family</1>
94
                                                                    <2>$genus</2>
95
                                                                    <3>$specificEpithet</3>
96
                                                                    <5>
97
                                                                        <_join_words>
98
                                                                            <1>
99
                                                                                <_if name="if has infraspecificEpithet">
100
                                                                                    <cond>$infraspecificEpithet</cond>
101
                                                                                    <then>$taxonRank</then>
102
                                                                                </_if>
103
                                                                            </1>
104
                                                                            <2>$infraspecificEpithet</2>
105
                                                                        </_join_words>
106
                                                                    </5>
107
                                                                </_join_words>
108
                                                            </1>
109
                                                            <2>$scientificNameAuthorship</2>
110
                                                        </_join_words>
111
                                                    </2>
112
                                                </_alt>
113
                                            </identifyingtaxonomicname>
114
                                        </taxonconcept>
115
                                    </canon_taxonconcept_id>
116
                                    <author>$scientificNameAuthorship</author>
117
                                    <class>$class</class>
118
                                    <creator_id>
119
                                        <_simplifyPath>
120
                                            <next>datasource_id</next>
121
                                            <path>
122
                                                <party>
123
                                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
124
                                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
125
                                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
126
                                                </party>
127
                                            </path>
128
                                        </_simplifyPath>
129
                                    </creator_id>
130
                                    <family>$family</family>
131
                                    <genus>$genus</genus>
132
                                    <kingdom>$kingdom</kingdom>
133
                                    <order>$order</order>
134
                                    <phylum>$phylum</phylum>
135
                                    <species>$specificEpithet</species>
136
                                    <subspecies>
137
                                        <_join_words>
138
                                            <1>
139
                                                <_if name="if has infraspecificEpithet">
140
                                                    <cond>$infraspecificEpithet</cond>
141
                                                    <then>$taxonRank</then>
142
                                                </_if>
143
                                            </1>
144
                                            <2>$infraspecificEpithet</2>
145
                                        </_join_words>
146
                                    </subspecies>
147
                                    <taxonomicnamewithauthor>$scientificName</taxonomicnamewithauthor>
148
                                </taxonconcept>
149
                            </taxonconcept_id>
150
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
151
                        </taxondetermination>
152
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
153
                    </taxonoccurrence>
154
                </locationevent>
155
                <locationnarrative>
156
                    <_merge>
157
                        <1>$locality</1>
158
                        <3>
159
                            <_label>
160
                                <label>habitat</label>
161
                                <value>$habitat</value>
162
                            </_label>
163
                        </3>
164
                    </_merge>
165
                </locationnarrative>
166
                <locationplace>
167
                    <placepath_id>
168
                        <placepath>
169
                            <continent>$continent</continent>
170
                            <country>$country</country>
171
                            <county>$county</county>
172
                            <stateprovince>$stateProvince</stateprovince>
173
                        </placepath>
174
                    </placepath_id>
175
                </locationplace>
176
                <verbatimelevation>$verbatimElevation</verbatimelevation>
177
            </location>
178
        </path>
179
    </_simplifyPath>
180
</VegBIEN>
181
Inserted 27 new rows into database
(4-4/5)