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