Project

General

Profile

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