Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <plantobservation id="-1">
4
        <aggregateoccurrence_id merge="1">
5
            <aggregateoccurrence merge="1">
6
                <taxonoccurrence_id merge="1">
7
                    <taxonoccurrence>
8
                        <locationevent_id>
9
                            <locationevent>
10
                                <location_id>
11
                                    <location>
12
                                        <area>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/area</area>
13
                                        <elevation>
14
                                            <_alt>
15
                                                <1>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/geospatial/verbatimElevation</1>
16
                                                <2>
17
                                                    <_avg>
18
                                                        <max>
19
                                                            <_units>
20
                                                                <default>m</default>
21
                                                                <to>m</to>
22
                                                                <to></to>
23
                                                                <value><_rangeEnd><value>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/geospatial/maximumElevationInMeters</value></_rangeEnd></value>
24
                                                            </_units>
25
                                                        </max>
26
                                                        <min>
27
                                                            <_units>
28
                                                                <default>m</default>
29
                                                                <to>m</to>
30
                                                                <to></to>
31
                                                                <value><_rangeStart><value>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/geospatial/minimumElevationInMeters</value></_rangeStart></value>
32
                                                            </_units>
33
                                                        </min>
34
                                                    </_avg>
35
                                                </2>
36
                                            </_alt>
37
                                        </elevation>
38
                                        <elevationrange>
39
                                            <_range>
40
                                                <from>
41
                                                    <_units>
42
                                                        <default>m</default>
43
                                                        <to>m</to>
44
                                                        <to></to>
45
                                                        <value><_rangeStart><value>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/geospatial/minimumElevationInMeters</value></_rangeStart></value>
46
                                                    </_units>
47
                                                </from>
48
                                                <to>
49
                                                    <_units>
50
                                                        <default>m</default>
51
                                                        <to>m</to>
52
                                                        <to></to>
53
                                                        <value><_rangeEnd><value>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/geospatial/maximumElevationInMeters</value></_rangeEnd></value>
54
                                                    </_units>
55
                                                </to>
56
                                            </_range>
57
                                        </elevationrange>
58
                                        <landform>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/landform</landform>
59
                                        <locationdetermination>
60
                                            <coordsaccuracy>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/geospatial/CoordinateUncertaintyInMeters</coordsaccuracy>
61
                                            <footprintgeometry_dwc>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/geospatial/FootprintWKT</footprintgeometry_dwc>
62
                                            <latitude>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/geospatial/DecimalLatitude</latitude>
63
                                            <longitude>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/geospatial/DecimalLongitude</longitude>
64
                                            <namedplace_id>
65
                                                <_simplifyPath>
66
                                                    <next>parent_id/namedplace</next>
67
                                                    <require>placename</require>
68
                                                    <path>
69
                                                        <namedplace>
70
                                                            <rank>county</rank>
71
                                                            <placename>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/location[placeType=county]/placeName</placename>
72
                                                            <parent_id>
73
                                                                <namedplace>
74
                                                                    <rank>stateProvince</rank>
75
                                                                    <placename>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/location[placeType=state]/placeName</placename>
76
                                                                    <parent_id>
77
                                                                        <namedplace>
78
                                                                            <rank>country</rank>
79
                                                                            <placename>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/location[placeType=country]/placeName</placename>
80
                                                                            <parent_id>
81
                                                                                <namedplace>
82
                                                                                    <rank>continent</rank>
83
                                                                                    <placename>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/location[placeType=continent]/placeName</placename>
84
                                                                                </namedplace>
85
                                                                            </parent_id>
86
                                                                        </namedplace>
87
                                                                    </parent_id>
88
                                                                </namedplace>
89
                                                            </parent_id>
90
                                                        </namedplace>
91
                                                    </path>
92
                                                </_simplifyPath>
93
                                            </namedplace_id>
94
                                        </locationdetermination>
95
                                        <locationnarrative>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/locationNarrative</locationnarrative>
96
                                        <notespublic>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/note</notespublic>
97
                                        <slopeaspect><_compass><value>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/slopeAspect</value></_compass></slopeaspect>
98
                                        <slopegradient>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/slopeGradient</slopegradient>
99
                                        <sourceaccessioncode>
100
                                            <_merge>
101
                                                <1>
102
                                                    <_alt>
103
                                                        <1>$/*ID-&gt;/*s/plotObservation/simpleUserdefined[name=parent]/value-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/plotUniqueIdentifier</1>
104
                                                        <2>$/*ID-&gt;/*s/plotObservation/simpleUserdefined[name=parent]/value-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/plotName</2>
105
                                                    </_alt>
106
                                                </1>
107
                                                <2>
108
                                                    <_alt>
109
                                                        <1>$/*ID-&gt;/*s/plotObservation/plotUniqueIdentifierID-&gt;/*s/plot[plotUniqueIdentifier]/plotUniqueIdentifier</1>
110
                                                        <2>$/*ID-&gt;/*s/plotObservation/plotUniqueIdentifierID-&gt;/*s/plot[plotUniqueIdentifier]/plotName</2>
111
                                                    </_alt>
112
                                                </2>
113
                                            </_merge>
114
                                        </sourceaccessioncode>
115
                                    </location>
116
                                </location_id>
117
                                <method_id><method><name>$/*ID-&gt;/*s/plotObservation/simpleUserdefined[name=method]/*ID/method/name</name></method></method_id>
118
                                <project_id>
119
                                    <project>
120
                                        <projectname>$/*ID-&gt;/*s/plotObservation/*ID-&gt;/*s/project/title[@id=name]</projectname>
121
                                        <sourceaccessioncode>$/*ID-&gt;/*s/plotObservation/*ID-&gt;/*s/project/title[@id=sourceAccessionCode]</sourceaccessioncode>
122
                                    </project>
123
                                </project_id>
124
                                <authorlocationcode>$/*ID-&gt;/*s/plotObservation/plotUniqueIdentifierID-&gt;/*s/plot[plotUniqueIdentifier]/plotName</authorlocationcode>
125
                                <commclass>
126
                                    <commdetermination>
127
                                        <commconcept_id>
128
                                            <commconcept>
129
                                                <commname_id><commname><commname>$/*ID-&gt;/*s/plotObservation-&gt;/*s/communityDetermination[*ID]/*s/communityConcept/commonName</commname></commname></commname_id>
130
                                                <commdescription>$/*ID-&gt;/*s/plotObservation-&gt;/*s/communityDetermination[*ID]/*s/communityConcept/name</commdescription>
131
                                            </commconcept>
132
                                        </commconcept_id>
133
                                    </commdetermination>
134
                                </commclass>
135
                                <obsenddate>$/*ID-&gt;/*s/plotObservation/obsEndDate</obsenddate>
136
                                <obsstartdate>$/*ID-&gt;/*s/plotObservation/obsStartDate</obsstartdate>
137
                                <parent_id>
138
                                    <locationevent>
139
                                        <location_id>
140
                                            <location>
141
                                                <sourceaccessioncode>
142
                                                    <_alt>
143
                                                        <1>$/*ID-&gt;/*s/plotObservation/simpleUserdefined[name=parent]/value-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/plotUniqueIdentifier</1>
144
                                                        <2>$/*ID-&gt;/*s/plotObservation/simpleUserdefined[name=parent]/value-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/plotName</2>
145
                                                    </_alt>
146
                                                </sourceaccessioncode>
147
                                            </location>
148
                                        </location_id>
149
                                        <authorlocationcode>$/*ID-&gt;/*s/plotObservation/simpleUserdefined[name=parent]/value-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/plotName</authorlocationcode>
150
                                        <sourceaccessioncode>$/*ID-&gt;/*s/plotObservation/simpleUserdefined[name=parent]/value-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/plotUniqueIdentifier</sourceaccessioncode>
151
                                    </locationevent>
152
                                </parent_id>
153
                                <precipitation>$/*ID-&gt;/*s/plotObservation/simpleUserdefined[name=precipitation]/value</precipitation>
154
                                <soilobs>
155
                                    <acidity>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/simpleUserdefined[name=acidity]/value</acidity>
156
                                    <basesaturation>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/simpleUserdefined[name=base]/value</basesaturation>
157
                                    <calcium>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/simpleUserdefined[name=calcium]/value</calcium>
158
                                    <carbon>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/simpleUserdefined[name=carbon]/value</carbon>
159
                                    <cationexchangecapacity>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/simpleUserdefined[name=cationExchangeCapacity]/value</cationexchangecapacity>
160
                                    <clay>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/simpleUserdefined[name=clay]/value</clay>
161
                                    <conductivity>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/simpleUserdefined[name=conductivity]/value</conductivity>
162
                                    <magnesium>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/magnesium</magnesium>
163
                                    <nitrogen>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/nitrogen</nitrogen>
164
                                    <organic>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/simpleUserdefined[name=organic]/value</organic>
165
                                    <ph>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/ph</ph>
166
                                    <phosphorus>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/phosphorus</phosphorus>
167
                                    <potassium>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/potassium</potassium>
168
                                    <sand>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/simpleUserdefined[name=sand]/value</sand>
169
                                    <silt>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/simpleUserdefined[name=silt]/value</silt>
170
                                    <sodium>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/simpleUserdefined[name=sodium]/value</sodium>
171
                                    <texture>$/*ID-&gt;/*s/plotObservation-&gt;/*s/abioticObservation[*ID]/simpleUserdefined[name=texture]/value</texture>
172
                                </soilobs>
173
                                <sourceaccessioncode>$/*ID-&gt;/*s/plotObservation/plotUniqueIdentifierID-&gt;/*s/plot[plotUniqueIdentifier]/plotUniqueIdentifier</sourceaccessioncode>
174
                                <temperature>$/*ID-&gt;/*s/plotObservation/temperature</temperature>
175
                                <waterdepth>
176
                                    <_avg>
177
                                        <max>
178
                                            <_units>
179
                                                <default>m</default>
180
                                                <to>m</to>
181
                                                <to></to>
182
                                                <value>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/geospatial/maximumDepthInMeters</value>
183
                                            </_units>
184
                                        </max>
185
                                        <min>
186
                                            <_units>
187
                                                <default>m</default>
188
                                                <to>m</to>
189
                                                <to></to>
190
                                                <value>$/*ID-&gt;/*s/plotObservation/*UniqueIdentifierID-&gt;/*s/plot/geospatial/minimumDepthInMeters</value>
191
                                            </_units>
192
                                        </min>
193
                                    </_avg>
194
                                </waterdepth>
195
                            </locationevent>
196
                        </locationevent_id>
197
                        <growthform>$/simpleUserdefined[name=growthForm]/value</growthform>
198
                        <sourceaccessioncode>
199
                            <_alt>
200
                                <3>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=binom])/tcs:Name</3>
201
                                <1>$/@id</1>
202
                                <2>$/simpleUserdefined[name=authorPlantCode]/value</2>
203
                            </_alt>
204
                        </sourceaccessioncode>
205
                        <taxondetermination>
206
                            <role>computer</role>
207
                            <plantconcept_id>
208
                                <plantconcept>
209
                                    <plantname_id>
210
                                        <_simplifyPath>
211
                                            <next>parent_id/plantname</next>
212
                                            <require>plantname</require>
213
                                            <path>
214
                                                <plantname>
215
                                                    <rank>binomial</rank>
216
                                                    <parent_id>
217
                                                        <plantname>
218
                                                            <rank>authority</rank>
219
                                                            <parent_id>
220
                                                                <plantname>
221
                                                                    <rank>subspecies</rank>
222
                                                                    <plantname>
223
                                                                        <_name>
224
                                                                            <first>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=TaxonomicRankBelowSubspeciesEnum])/tcs:Rank</first>
225
                                                                            <last>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=TaxonomicRankBelowSubspeciesEnum])/tcs:Name</last>
226
                                                                        </_name>
227
                                                                    </plantname>
228
                                                                    <parent_id>
229
                                                                        <plantname>
230
                                                                            <rank>species</rank>
231
                                                                            <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=sp])/tcs:Name</plantname>
232
                                                                            <parent_id>
233
                                                                                <plantname>
234
                                                                                    <rank>genus</rank>
235
                                                                                    <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=gen])/tcs:Name</plantname>
236
                                                                                    <parent_id>
237
                                                                                        <plantname>
238
                                                                                            <rank>family</rank>
239
                                                                                            <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=fam])/tcs:Name</plantname>
240
                                                                                        </plantname>
241
                                                                                    </parent_id>
242
                                                                                </plantname>
243
                                                                            </parent_id>
244
                                                                        </plantname>
245
                                                                    </parent_id>
246
                                                                </plantname>
247
                                                            </parent_id>
248
                                                            <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,partyWithRole/role=computer]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=auth])/tcs:Name</plantname>
249
                                                        </plantname>
250
                                                    </parent_id>
251
                                                </plantname>
252
                                            </path>
253
                                        </_simplifyPath>
254
                                    </plantname_id>
255
                                </plantconcept>
256
                            </plantconcept_id>
257
                            <iscurrent>true</iscurrent>
258
                        </taxondetermination>
259
                        <taxondetermination>
260
                            <role>identifier</role>
261
                            <plantconcept_id>
262
                                <plantconcept>
263
                                    <plantname_id>
264
                                        <_simplifyPath>
265
                                            <next>parent_id/plantname</next>
266
                                            <require>plantname</require>
267
                                            <path>
268
                                                <plantname>
269
                                                    <rank>binomial</rank>
270
                                                    <plantname>
271
                                                        <_name>
272
                                                            <last>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=binom])/fit</last>
273
                                                            <first>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=binom])/tcs:Name</first>
274
                                                        </_name>
275
                                                    </plantname>
276
                                                    <parent_id>
277
                                                        <plantname>
278
                                                            <rank>authority</rank>
279
                                                            <parent_id>
280
                                                                <plantname>
281
                                                                    <rank>subspecies</rank>
282
                                                                    <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=ssp])/tcs:Name</plantname>
283
                                                                    <parent_id>
284
                                                                        <plantname>
285
                                                                            <rank>species</rank>
286
                                                                            <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank=Species])/tcs:Name</plantname>
287
                                                                            <parent_id>
288
                                                                                <plantname>
289
                                                                                    <rank>genus</rank>
290
                                                                                    <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank=Genus])/tcs:Name</plantname>
291
                                                                                    <parent_id>
292
                                                                                        <plantname>
293
                                                                                            <rank>family</rank>
294
                                                                                            <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank=Family])/tcs:Name</plantname>
295
                                                                                            <parent_id>
296
                                                                                                <plantname>
297
                                                                                                    <rank>order</rank>
298
                                                                                                    <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=ord])/tcs:Name</plantname>
299
                                                                                                    <parent_id>
300
                                                                                                        <plantname>
301
                                                                                                            <rank>class</rank>
302
                                                                                                            <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=cl])/tcs:Name</plantname>
303
                                                                                                            <parent_id>
304
                                                                                                                <plantname>
305
                                                                                                                    <rank>subkingdom</rank>
306
                                                                                                                    <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=phyl_div])/tcs:Name</plantname>
307
                                                                                                                    <parent_id>
308
                                                                                                                        <plantname>
309
                                                                                                                            <rank>kingdom</rank>
310
                                                                                                                            <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=reg])/tcs:Name</plantname>
311
                                                                                                                        </plantname>
312
                                                                                                                    </parent_id>
313
                                                                                                                </plantname>
314
                                                                                                            </parent_id>
315
                                                                                                        </plantname>
316
                                                                                                    </parent_id>
317
                                                                                                </plantname>
318
                                                                                            </parent_id>
319
                                                                                        </plantname>
320
                                                                                    </parent_id>
321
                                                                                </plantname>
322
                                                                            </parent_id>
323
                                                                        </plantname>
324
                                                                    </parent_id>
325
                                                                </plantname>
326
                                                            </parent_id>
327
                                                            <plantname>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=auth])/tcs:Name</plantname>
328
                                                        </plantname>
329
                                                    </parent_id>
330
                                                </plantname>
331
                                            </path>
332
                                        </_simplifyPath>
333
                                    </plantname_id>
334
                                </plantconcept>
335
                            </plantconcept_id>
336
                            <taxonfit>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,!partyWithRole]/*s/taxonRelationshipAssertion(/assertion/*ID-&gt;/*s/taxonConcept[tcs:Rank/@code=binom])/fit</taxonfit>
337
                            <isoriginal>true</isoriginal>
338
                            <iscurrent>true</iscurrent>
339
                        </taxondetermination>
340
                        <verbatimcollectorname>
341
                            <_name>
342
                                <first>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID-&gt;/parties/party/individualName/givenName</first>
343
                                <last>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,partyWithRole/role=collector]/partyWithRole/*ID-&gt;/parties/party/individualName/surName</last>
344
                            </_name>
345
                        </verbatimcollectorname>
346
                    </taxonoccurrence>
347
                </taxonoccurrence_id>
348
                <count>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/aggregateOrganismObservation[*ID]/*/aggregateValue/value</count>
349
                <cover>$/volumeCanopy/*ID-&gt;/*s/attribute/ordinal/coverPercent</cover>
350
                <definedvalue fkey="tablerecord_id">
351
                    <userdefined_id>
352
                        <userdefined>
353
                            <tablename>aggregateoccurrence</tablename>
354
                            <userdefinedname>censusNo</userdefinedname>
355
                        </userdefined>
356
                    </userdefined_id>
357
                    <definedvalue>$/*ID-&gt;/*s/plotObservation/simpleUserdefined[name=CensusNumber]/value</definedvalue>
358
                </definedvalue>
359
                <linecover>$/volumeCanopy/value</linecover>
360
            </aggregateoccurrence>
361
        </aggregateoccurrence_id>
362
        <authorplantcode>$/simpleUserdefined[name=authorPlantCode]/value</authorplantcode>
363
        <overallheight>
364
            <_alt>
365
                <0>$/height</0>
366
                <1>$/simpleUserdefined[name=height]/value</1>
367
            </_alt>
368
        </overallheight>
369
        <sourceaccessioncode>$/@id</sourceaccessioncode>
370
        <stemobservation>
371
            <stemtag>
372
                <iscurrent>
373
                    <_alt>
374
                        <2>true</2>
375
                        <1>false</1>
376
                    </_alt>
377
                </iscurrent>
378
                <tag>$/*ID-&gt;/*s/individualOrganism/identificationLabel[@id=1]</tag>
379
            </stemtag>
380
            <stemtag>
381
                <iscurrent>true</iscurrent>
382
                <tag>$/*ID-&gt;/*s/individualOrganism/identificationLabel[@id=2]</tag>
383
            </stemtag>
384
            <xposition>$/relativePlotPosition/relativeX</xposition>
385
            <yposition>$/relativePlotPosition/relativeY</yposition>
386
        </stemobservation>
387
        <_if>
388
            <cond>
389
                <_eq>
390
                    <left><_ref><addr>../../../../_ignore/voucherType</addr></_ref></left>
391
                    <right>direct</right>
392
                </_eq>
393
            </cond>
394
            <else>
395
                <aggregateoccurrence_id merge="1">
396
                    <aggregateoccurrence merge="1">
397
                        <taxonoccurrence_id>
398
                            <taxonoccurrence>
399
                                <voucher>
400
                                    <specimenreplicate_id>
401
                                        <specimenreplicate>
402
                                            <catalognumber_dwc>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept/voucher</catalognumber_dwc>
403
                                            <collectiondate>$/simpleUserdefined[name=collectionDate]/value</collectiondate>
404
                                        </specimenreplicate>
405
                                    </specimenreplicate_id>
406
                                </voucher>
407
                            </taxonoccurrence>
408
                        </taxonoccurrence_id>
409
                    </aggregateoccurrence>
410
                </aggregateoccurrence_id>
411
            </else>
412
            <then>
413
                <specimenreplicate>
414
                    <catalognumber_dwc>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept/voucher</catalognumber_dwc>
415
                    <collectiondate>$/simpleUserdefined[name=collectionDate]/value</collectiondate>
416
                </specimenreplicate>
417
            </then>
418
        </_if>
419
        <_ignore><voucherType>$/*ID-&gt;/*s/individualOrganism/*ID-&gt;/*s/taxonNameUsageConcept-&gt;/*s/taxonDetermination[*ID,partyWithRole/role=collector]/groupType</voucherType></_ignore>
420
    </plantobservation>
421
</VegBIEN>
422
Inserted 34 new rows into database
(4-4/4)