Project

General

Profile

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