1
|
<!--put template-->
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>FIA.new</shortname></source></source_id>
|
5
|
<path>
|
6
|
<_simplifyPath>
|
7
|
<next>parent_id</next>
|
8
|
<path>
|
9
|
<location>
|
10
|
<parent_id><location><authorlocationcode>$locationName</authorlocationcode></location></parent_id>
|
11
|
<authorlocationcode>$subplot</authorlocationcode>
|
12
|
<locationevent>
|
13
|
<parent_id>
|
14
|
<locationevent>
|
15
|
<location_id>
|
16
|
<location>
|
17
|
<authorlocationcode>
|
18
|
<_if name="if subplot">
|
19
|
<cond>$subplot</cond>
|
20
|
<then>$locationName</then>
|
21
|
</_if>
|
22
|
</authorlocationcode>
|
23
|
</location>
|
24
|
</location_id>
|
25
|
<authoreventcode>$authorEventCode</authoreventcode>
|
26
|
</locationevent>
|
27
|
</parent_id>
|
28
|
<taxonoccurrence>
|
29
|
<aggregateoccurrence>
|
30
|
<plantobservation>
|
31
|
<authorplantcode>$individualCode</authorplantcode>
|
32
|
<sourceaccessioncode>$individualObservationID</sourceaccessioncode>
|
33
|
<stemobservation>
|
34
|
<diameterbreastheight_m><_in_to_m><value>$diameterBreastHeight_in</value></_in_to_m></diameterbreastheight_m>
|
35
|
<height_m><_ft_to_m><value>$height_ft</value></_ft_to_m></height_m>
|
36
|
</stemobservation>
|
37
|
</plantobservation>
|
38
|
</aggregateoccurrence>
|
39
|
<authortaxoncode>$individualCode</authortaxoncode>
|
40
|
<sourceaccessioncode>$individualObservationID</sourceaccessioncode>
|
41
|
</taxonoccurrence>
|
42
|
</locationevent>
|
43
|
</location>
|
44
|
</path>
|
45
|
</_simplifyPath>
|
46
|
</path>
|
47
|
</_setDefault>
|
48
|
</VegBIEN>
|
49
|
Inserted 13 new rows into database
|