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
                                    <plantname_id>
49
                                        <_simplifyPath>
50
                                            <next>parent_id</next>
51
                                            <path>
52
                                                <plantname>
53
                                                    <rank>binomial</rank>
54
                                                    <parent_id>
55
                                                        <plantname>
56
                                                            <rank>authority</rank>
57
                                                            <parent_id>
58
                                                                <plantname>
59
                                                                    <rank>subspecies</rank>
60
                                                                    <parent_id>
61
                                                                        <plantname>
62
                                                                            <rank>species</rank>
63
                                                                            <plantname>$SpecificEpithet</plantname>
64
                                                                            <parent_id>
65
                                                                                <plantname>
66
                                                                                    <rank>genus</rank>
67
                                                                                    <plantname>$Genus</plantname>
68
                                                                                    <parent_id>
69
                                                                                        <plantname>
70
                                                                                            <rank>family</rank>
71
                                                                                            <plantname>$Family</plantname>
72
                                                                                        </plantname>
73
                                                                                    </parent_id>
74
                                                                                </plantname>
75
                                                                            </parent_id>
76
                                                                        </plantname>
77
                                                                    </parent_id>
78
                                                                </plantname>
79
                                                            </parent_id>
80
                                                        </plantname>
81
                                                    </parent_id>
82
                                                </plantname>
83
                                            </path>
84
                                        </_simplifyPath>
85
                                    </plantname_id>
86
                                </plantconcept>
87
                            </plantconcept_id>
88
                        </taxondetermination>
89
                        <verbatimcollectorname>$Collectors</verbatimcollectorname>
90
                    </taxonoccurrence>
91
                </locationevent>
92
            </location>
93
        </path>
94
    </_simplifyPath>
95
</VegBIEN>
96
Inserted 23 new rows into database
(8-8/9)