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
|
<locationevent fkey="parent_id">
|
29
|
<taxonoccurrence>
|
30
|
<aggregateoccurrence>
|
31
|
<plantobservation>
|
32
|
<authorplantcode>$individualCode</authorplantcode>
|
33
|
<sourceaccessioncode>$individualObservationID</sourceaccessioncode>
|
34
|
<stemobservation>
|
35
|
<diameterbreastheight_m><_in_to_m><value>$diameterBreastHeight_in</value></_in_to_m></diameterbreastheight_m>
|
36
|
<height_m><_ft_to_m><value>$height_ft</value></_ft_to_m></height_m>
|
37
|
</stemobservation>
|
38
|
</plantobservation>
|
39
|
</aggregateoccurrence>
|
40
|
<authortaxoncode>$individualCode</authortaxoncode>
|
41
|
<sourceaccessioncode>$individualObservationID</sourceaccessioncode>
|
42
|
</taxonoccurrence>
|
43
|
</locationevent>
|
44
|
</locationevent>
|
45
|
</location>
|
46
|
</path>
|
47
|
</_simplifyPath>
|
48
|
</path>
|
49
|
</_setDefault>
|
50
|
</VegBIEN>
|
51
|
Inserted 13 new rows into database
|