Project

General

Profile

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