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>
25
                    <_replace>
26
                        <\bca\.?></\bca\.?>
27
                        <value>$verbatimElevation</value>
28
                    </_replace>
29
                </elevation>
30
                <locationdetermination>
31
                    <latitude>
32
                        <_nullIf>
33
                            <null>0</null>
34
                            <type>float</type>
35
                            <value>$decimalLatitude</value>
36
                        </_nullIf>
37
                    </latitude>
38
                    <longitude>
39
                        <_nullIf>
40
                            <null>0</null>
41
                            <type>float</type>
42
                            <value>$decimalLongitude</value>
43
                        </_nullIf>
44
                    </longitude>
45
                    <namedplace_id>
46
                        <namedplace>
47
                            <rank>county</rank>
48
                            <placename>$county</placename>
49
                            <parent_id>
50
                                <namedplace>
51
                                    <rank>stateProvince</rank>
52
                                    <placename>$stateProvince</placename>
53
                                    <parent_id>
54
                                        <namedplace>
55
                                            <rank>country</rank>
56
                                            <placename>$country</placename>
57
                                            <parent_id>
58
                                                <namedplace>
59
                                                    <rank>continent</rank>
60
                                                    <placename>$continent</placename>
61
                                                </namedplace>
62
                                            </parent_id>
63
                                        </namedplace>
64
                                    </parent_id>
65
                                </namedplace>
66
                            </parent_id>
67
                        </namedplace>
68
                    </namedplace_id>
69
                </locationdetermination>
70
                <locationevent>
71
                    <obsenddate><_date><date><_dateRangeEnd><value>$eventDate</value></_dateRangeEnd></date></_date></obsenddate>
72
                    <obsstartdate><_date><date><_dateRangeStart><value>$eventDate</value></_dateRangeStart></date></_date></obsstartdate>
73
                    <taxonoccurrence>
74
                        <aggregateoccurrence>
75
                            <plantobservation>
76
                                <collectionnumber>$recordNumber</collectionnumber>
77
                                <specimenreplicate>
78
                                    <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
79
                                    <collectioncode_dwc>
80
                                        <_join>
81
                                            <1>$collectionCode</1>
82
                                            <2>$collectionID</2>
83
                                        </_join>
84
                                    </collectioncode_dwc>
85
                                    <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
86
                                    <sourceaccessioncode>$id</sourceaccessioncode>
87
                                </specimenreplicate>
88
                            </plantobservation>
89
                        </aggregateoccurrence>
90
                        <authortaxoncode>
91
                            <_alt>
92
                                <1>$recordNumber</1>
93
                                <2>$scientificName</2>
94
                            </_alt>
95
                        </authortaxoncode>
96
                        <taxondetermination>
97
                            <party_id>
98
                                <party>
99
                                    <givenname><_namePart><first>$identifiedBy</first></_namePart></givenname>
100
                                    <middlename><_namePart><middle>$identifiedBy</middle></_namePart></middlename>
101
                                    <surname><_namePart><last>$identifiedBy</last></_namePart></surname>
102
                                </party>
103
                            </party_id>
104
                            <plantconcept_id>
105
                                <plantconcept>
106
                                    <plantname_id>
107
                                        <plantname>
108
                                            <rank>binomial</rank>
109
                                            <plantname>$scientificName</plantname>
110
                                            <parent_id>
111
                                                <plantname>
112
                                                    <rank>authority</rank>
113
                                                    <plantname>$scientificNameAuthorship</plantname>
114
                                                    <parent_id>
115
                                                        <plantname>
116
                                                            <rank>subspecies</rank>
117
                                                            <plantname>
118
                                                                <_name>
119
                                                                    <first>$taxonRank</first>
120
                                                                    <last>$infraspecificEpithet</last>
121
                                                                </_name>
122
                                                            </plantname>
123
                                                            <parent_id>
124
                                                                <plantname>
125
                                                                    <rank>species</rank>
126
                                                                    <plantname>$specificEpithet</plantname>
127
                                                                    <parent_id>
128
                                                                        <plantname>
129
                                                                            <rank>genus</rank>
130
                                                                            <plantname>$genus</plantname>
131
                                                                            <parent_id>
132
                                                                                <plantname>
133
                                                                                    <rank>family</rank>
134
                                                                                    <plantname>$family</plantname>
135
                                                                                    <parent_id>
136
                                                                                        <plantname>
137
                                                                                            <rank>order</rank>
138
                                                                                            <plantname>$order</plantname>
139
                                                                                            <parent_id>
140
                                                                                                <plantname>
141
                                                                                                    <rank>class</rank>
142
                                                                                                    <plantname>$class</plantname>
143
                                                                                                    <parent_id>
144
                                                                                                        <plantname>
145
                                                                                                            <rank>subkingdom</rank>
146
                                                                                                            <plantname>$phylum</plantname>
147
                                                                                                            <parent_id>
148
                                                                                                                <plantname>
149
                                                                                                                    <rank>kingdom</rank>
150
                                                                                                                    <plantname>$kingdom</plantname>
151
                                                                                                                </plantname>
152
                                                                                                            </parent_id>
153
                                                                                                        </plantname>
154
                                                                                                    </parent_id>
155
                                                                                                </plantname>
156
                                                                                            </parent_id>
157
                                                                                        </plantname>
158
                                                                                    </parent_id>
159
                                                                                </plantname>
160
                                                                            </parent_id>
161
                                                                        </plantname>
162
                                                                    </parent_id>
163
                                                                </plantname>
164
                                                            </parent_id>
165
                                                        </plantname>
166
                                                    </parent_id>
167
                                                </plantname>
168
                                            </parent_id>
169
                                        </plantname>
170
                                    </plantname_id>
171
                                </plantconcept>
172
                            </plantconcept_id>
173
                            <determinationdate><_date><date><_dateRangeStart><value>$dateIdentified</value></_dateRangeStart></date></_date></determinationdate>
174
                        </taxondetermination>
175
                        <verbatimcollectorname>$recordedBy</verbatimcollectorname>
176
                    </taxonoccurrence>
177
                </locationevent>
178
                <locationnarrative>
179
                    <_merge>
180
                        <1>$locality</1>
181
                        <3>
182
                            <_label>
183
                                <label>habitat</label>
184
                                <value>$habitat</value>
185
                            </_label>
186
                        </3>
187
                    </_merge>
188
                </locationnarrative>
189
            </location>
190
        </path>
191
    </_simplifyPath>
192
</VegBIEN>
193
Inserted 39 new rows into database
(4-4/4)