Project

General

Profile

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