Project

General

Profile

1 3641 aaronmk
Put template:
2
<VegBIEN>
3 4621 aaronmk
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <locationevent>
8
                    <taxonoccurrence>
9
                        <aggregateoccurrence>
10
                            <plantobservation>
11
                                <sourceaccessioncode>$PlotObsID</sourceaccessioncode>
12
                                <stemcount>$NoInd</stemcount>
13
                                <stemobservation>
14
                                    <basaldiameter>$basal_diam</basaldiameter>
15
                                    <definedvalue fkey="tablerecord_id">
16
                                        <userdefined_id>
17
                                            <userdefined>
18
                                                <tablename>stemobservation</tablename>
19
                                                <userdefinedname>canopyForm</userdefinedname>
20
                                            </userdefined>
21
                                        </userdefined_id>
22
                                        <definedvalue>$stem_canopy_form</definedvalue>
23
                                    </definedvalue>
24
                                    <definedvalue fkey="tablerecord_id">
25
                                        <userdefined_id>
26
                                            <userdefined>
27
                                                <tablename>stemobservation</tablename>
28
                                                <userdefinedname>canopyPosition</userdefinedname>
29
                                            </userdefined>
30
                                        </userdefined_id>
31
                                        <definedvalue>$stem_canopy_position</definedvalue>
32
                                    </definedvalue>
33
                                    <definedvalue fkey="tablerecord_id">
34
                                        <userdefined_id>
35
                                            <userdefined>
36
                                                <tablename>stemobservation</tablename>
37
                                                <userdefinedname>gentryDiameter</userdefinedname>
38
                                            </userdefined>
39
                                        </userdefined_id>
40
                                        <definedvalue>$gentry_dbh</definedvalue>
41
                                    </definedvalue>
42
                                    <definedvalue fkey="tablerecord_id">
43
                                        <userdefined_id>
44
                                            <userdefined>
45
                                                <tablename>stemobservation</tablename>
46
                                                <userdefinedname>lianaInfestation</userdefinedname>
47
                                            </userdefined>
48
                                        </userdefined_id>
49
                                        <definedvalue>$stem_liana_infestation</definedvalue>
50
                                    </definedvalue>
51
                                    <definedvalue fkey="tablerecord_id">
52
                                        <userdefined_id>
53
                                            <userdefined>
54
                                                <tablename>stemobservation</tablename>
55
                                                <userdefinedname>notes</userdefinedname>
56
                                            </userdefined>
57
                                        </userdefined_id>
58
                                        <definedvalue>$stem_notes</definedvalue>
59
                                    </definedvalue>
60
                                    <diameterbreastheight>$stem_dbh</diameterbreastheight>
61
                                    <height>$stem_height_m</height>
62
                                    <heightfirstbranch>$stem_height_first_branch_m</heightfirstbranch>
63
                                    <sourceaccessioncode>$stem_id</sourceaccessioncode>
64
                                    <stemtag>
65
                                        <iscurrent>
66
                                            <_alt>
67
                                                <2>true</2>
68
                                                <1>false</1>
69
                                            </_alt>
70
                                        </iscurrent>
71
                                        <tag>$stem_tag1</tag>
72
                                    </stemtag>
73
                                    <stemtag>
74
                                        <iscurrent>true</iscurrent>
75
                                        <tag>$stem_tag2</tag>
76
                                    </stemtag>
77
                                </stemobservation>
78
                            </plantobservation>
79
                        </aggregateoccurrence>
80 3795 aaronmk
                        <sourceaccessioncode>$PlotObsID</sourceaccessioncode>
81 4621 aaronmk
                    </taxonoccurrence>
82
                </locationevent>
83
            </location>
84
        </path>
85
    </_simplifyPath>
86 3641 aaronmk
</VegBIEN>
87 4074 aaronmk
Inserted 24 new rows into database