1
|
<!--put template-->
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>CTFS.new</shortname></source></source_id>
|
5
|
<path>
|
6
|
<_simplifyPath>
|
7
|
<next>parent_id</next>
|
8
|
<path>
|
9
|
<location>
|
10
|
<parent_id><location><sourceaccessioncode>$locationID</sourceaccessioncode></location></parent_id>
|
11
|
<authorlocationcode>$subplot</authorlocationcode>
|
12
|
<locationevent>
|
13
|
<parent_id>
|
14
|
<locationevent>
|
15
|
<location_id>
|
16
|
<location>
|
17
|
<sourceaccessioncode>
|
18
|
<_if name="if subplot">
|
19
|
<cond>$subplot</cond>
|
20
|
<then>$locationID</then>
|
21
|
</_if>
|
22
|
</sourceaccessioncode>
|
23
|
</location>
|
24
|
</location_id>
|
25
|
<sourceaccessioncode>$eventID</sourceaccessioncode>
|
26
|
</locationevent>
|
27
|
</parent_id>
|
28
|
<locationevent fkey="parent_id"><sourceaccessioncode>$eventID</sourceaccessioncode></locationevent>
|
29
|
</locationevent>
|
30
|
<sourceaccessioncode>
|
31
|
<_join>
|
32
|
<1>$locationID</1>
|
33
|
<2>$subplot</2>
|
34
|
</_join>
|
35
|
</sourceaccessioncode>
|
36
|
</location>
|
37
|
</path>
|
38
|
</_simplifyPath>
|
39
|
</path>
|
40
|
</_setDefault>
|
41
|
</VegBIEN>
|
42
|
Inserted 7 new rows into database
|