1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_setDefault id="-1">
|
4
|
<source_id><source><shortname>CTFS</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>
|
29
|
<sourceaccessioncode>
|
30
|
<_join>
|
31
|
<1>$locationID</1>
|
32
|
<2>$subplot</2>
|
33
|
</_join>
|
34
|
</sourceaccessioncode>
|
35
|
</location>
|
36
|
</path>
|
37
|
</_simplifyPath>
|
38
|
</path>
|
39
|
</_setDefault>
|
40
|
</VegBIEN>
|
41
|
Inserted 7 new rows into database
|