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