Project

General

Profile

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