Project

General

Profile

1
Put template:
2
<VegBIEN>
3
    <_simplifyPath id="-1">
4
        <next>parent_id</next>
5
        <path>
6
            <location>
7
                <parent_id><location><authorlocationcode>$1haPlotCode</authorlocationcode></location></parent_id>
8
                <authorlocationcode>$Subplot</authorlocationcode>
9
                <locationdetermination>
10
                    <latitude>
11
                        <_nullIf>
12
                            <null>0</null>
13
                            <type>float</type>
14
                            <value>$Latitude</value>
15
                        </_nullIf>
16
                    </latitude>
17
                    <longitude>
18
                        <_nullIf>
19
                            <null>0</null>
20
                            <type>float</type>
21
                            <value>$Longitude</value>
22
                        </_nullIf>
23
                    </longitude>
24
                </locationdetermination>
25
                <locationevent>
26
                    <method_id><method><name>$Method</name></method></method_id>
27
                    <project_id><project><projectname>$SiteName</projectname></project></project_id>
28
                    <obsenddate><_date><date><_dateRangeEnd><value>$ObservationDate</value></_dateRangeEnd></date></_date></obsenddate>
29
                    <obsstartdate><_date><date><_dateRangeStart><value>$ObservationDate</value></_dateRangeStart></date></_date></obsstartdate>
30
                    <taxonoccurrence>
31
                        <aggregateoccurrence>
32
                            <plantobservation>
33
                                <specimenreplicate><sourceaccessioncode>$ID</sourceaccessioncode></specimenreplicate>
34
                                <stemobservation>
35
                                    <diameterbreastheight>$dbh</diameterbreastheight>
36
                                    <stemtag>
37
                                        <iscurrent>true</iscurrent>
38
                                        <tag>$TreeNumber</tag>
39
                                    </stemtag>
40
                                    <xposition>$X_1haPlot</xposition>
41
                                    <yposition>$Y_1haPlot</yposition>
42
                                </stemobservation>
43
                            </plantobservation>
44
                        </aggregateoccurrence>
45
                        <taxondetermination>
46
                            <plantconcept_id>
47
                                <plantconcept>
48
                                    <family>$Family</family>
49
                                    <genus>$Genus</genus>
50
                                    <species>$SpecificEpithet</species>
51
                                </plantconcept>
52
                            </plantconcept_id>
53
                        </taxondetermination>
54
                        <verbatimcollectorname>$Collectors</verbatimcollectorname>
55
                    </taxonoccurrence>
56
                </locationevent>
57
            </location>
58
        </path>
59
    </_simplifyPath>
60
</VegBIEN>
61
Inserted 18 new rows into database
(5-5/6)