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
                        <authortaxoncode>$recordNumber</authortaxoncode>
68
                        <sourceaccessioncode>$id</sourceaccessioncode>
69
                        <taxondetermination>
70
                            <party_id>
71
                                <party>
72
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
73
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
74
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
75
                                </party>
76
                            </party_id>
77
                            <taxonpath_id>
78
                                <taxonpath>
79
                                    <canon_taxonpath_id>
80
                                        <taxonpath>
81
                                            <datasource_id><party><organizationname>TNRS</organizationname></party></datasource_id>
82
                                            <identifyingtaxonomicname>
83
                                                <_alt>
84
                                                    <1>$scientificName</1>
85
                                                    <2>
86
                                                        <_join_words>
87
                                                            <1>
88
                                                                <_join_words>
89
                                                                    <1>$family</1>
90
                                                                    <2>$genus</2>
91
                                                                    <3>$specificEpithet</3>
92
                                                                    <5>
93
                                                                        <_join_words>
94
                                                                            <1>
95
                                                                                <_if name="if has infraspecificEpithet">
96
                                                                                    <cond>$infraspecificEpithet</cond>
97
                                                                                    <then>$taxonRank</then>
98
                                                                                </_if>
99
                                                                            </1>
100
                                                                            <2>$infraspecificEpithet</2>
101
                                                                        </_join_words>
102
                                                                    </5>
103
                                                                </_join_words>
104
                                                            </1>
105
                                                            <2>$scientificNameAuthorship</2>
106
                                                        </_join_words>
107
                                                    </2>
108
                                                </_alt>
109
                                            </identifyingtaxonomicname>
110
                                        </taxonpath>
111
                                    </canon_taxonpath_id>
112
                                    <author>$scientificNameAuthorship</author>
113
                                    <class>$class</class>
114
                                    <family>$family</family>
115
                                    <genus>$genus</genus>
116
                                    <kingdom>$kingdom</kingdom>
117
                                    <order>$order</order>
118
                                    <phylum>$phylum</phylum>
119
                                    <species>$specificEpithet</species>
120
                                    <subspecies>
121
                                        <_join_words>
122
                                            <1>
123
                                                <_if name="if has infraspecificEpithet">
124
                                                    <cond>$infraspecificEpithet</cond>
125
                                                    <then>$taxonRank</then>
126
                                                </_if>
127
                                            </1>
128
                                            <2>$infraspecificEpithet</2>
129
                                        </_join_words>
130
                                    </subspecies>
131
                                    <taxonomicnamewithauthor>$scientificName</taxonomicnamewithauthor>
132
                                </taxonpath>
133
                            </taxonpath_id>
134
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
135
                        </taxondetermination>
136
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
137
                    </taxonoccurrence>
138
                </locationevent>
139
                <locationnarrative>
140
                    <_merge>
141
                        <1>$locality</1>
142
                        <3>
143
                            <_label>
144
                                <label>habitat</label>
145
                                <value>$habitat</value>
146
                            </_label>
147
                        </3>
148
                    </_merge>
149
                </locationnarrative>
150
                <locationplace>
151
                    <placepath_id>
152
                        <placepath>
153
                            <continent>$continent</continent>
154
                            <country>$country</country>
155
                            <county>$county</county>
156
                            <stateprovince>$stateProvince</stateprovince>
157
                        </placepath>
158
                    </placepath_id>
159
                </locationplace>
160
                <verbatimelevation>$verbatimElevation</verbatimelevation>
161
            </location>
162
        </path>
163
    </_simplifyPath>
164
</VegBIEN>
165
Inserted 27 new rows into database
(4-4/5)