Project

General

Profile

1 6742 aaronmk
Put template:
2
<VegBIEN>
3
    <_setDefault id="-1">
4 10866 aaronmk
        <source_id><source><shortname>CVS.new</shortname></source></source_id>
5 6742 aaronmk
        <path>
6
            <_simplifyPath>
7
                <next>parent_id</next>
8
                <path>
9
                    <location>
10
                        <locationevent>
11 11107 aaronmk
                            <locationevent fkey="parent_id">
12
                                <taxonoccurrence>
13
                                    <aggregateoccurrence>
14
                                        <count>$stemCount</count>
15
                                        <plantobservation>
16 6742 aaronmk
                                            <sourceaccessioncode>$STEMLOCATION_ID</sourceaccessioncode>
17 11107 aaronmk
                                            <stemobservation>
18
                                                <authorstemcode>$stemCode</authorstemcode>
19
                                                <diameterbreastheight_m><_cm_to_m><value>$stemDiameter</value></_cm_to_m></diameterbreastheight_m>
20
                                                <height_m>$stemHeight</height_m>
21
                                                <sourceaccessioncode>$STEMLOCATION_ID</sourceaccessioncode>
22
                                                <xposition_m>$stemXPosition</xposition_m>
23
                                                <yposition_m>$stemYPosition</yposition_m>
24
                                            </stemobservation>
25
                                        </plantobservation>
26
                                        <sourceaccessioncode>$STEMCOUNT_ID</sourceaccessioncode>
27
                                    </aggregateoccurrence>
28
                                </taxonoccurrence>
29
                            </locationevent>
30 6742 aaronmk
                        </locationevent>
31
                    </location>
32
                </path>
33
            </_simplifyPath>
34
        </path>
35
    </_setDefault>
36
</VegBIEN>
37 10591 aaronmk
Inserted 7 new rows into database