1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<location id="-1">
|
4
|
<parent_id><location><authorlocationcode>$1haPlotCode</authorlocationcode></location></parent_id>
|
5
|
<authorlocationcode>$Subplot</authorlocationcode>
|
6
|
<locationdetermination>
|
7
|
<latitude>
|
8
|
<_nullIf>
|
9
|
<null>0</null>
|
10
|
<type>float</type>
|
11
|
<value>$Latitude</value>
|
12
|
</_nullIf>
|
13
|
</latitude>
|
14
|
<longitude>
|
15
|
<_nullIf>
|
16
|
<null>0</null>
|
17
|
<type>float</type>
|
18
|
<value>$Longitude</value>
|
19
|
</_nullIf>
|
20
|
</longitude>
|
21
|
</locationdetermination>
|
22
|
<locationevent>
|
23
|
<method_id><method><name>$Method</name></method></method_id>
|
24
|
<project_id><project><projectname>$SiteName</projectname></project></project_id>
|
25
|
<obsenddate><_date><date><_dateRangeEnd><value>$ObservationDate</value></_dateRangeEnd></date></_date></obsenddate>
|
26
|
<obsstartdate><_date><date><_dateRangeStart><value>$ObservationDate</value></_dateRangeStart></date></_date></obsstartdate>
|
27
|
<taxonoccurrence>
|
28
|
<aggregateoccurrence>
|
29
|
<plantobservation>
|
30
|
<specimenreplicate><sourceaccessioncode>$ID</sourceaccessioncode></specimenreplicate>
|
31
|
<stemobservation>
|
32
|
<diameterbreastheight>$dbh</diameterbreastheight>
|
33
|
<stemtag>
|
34
|
<iscurrent>true</iscurrent>
|
35
|
<tag>$TreeNumber</tag>
|
36
|
</stemtag>
|
37
|
<xposition>$X_1haPlot</xposition>
|
38
|
<yposition>$Y_1haPlot</yposition>
|
39
|
</stemobservation>
|
40
|
</plantobservation>
|
41
|
</aggregateoccurrence>
|
42
|
<taxondetermination>
|
43
|
<plantconcept_id>
|
44
|
<plantconcept>
|
45
|
<plantname_id>
|
46
|
<_simplifyPath>
|
47
|
<next>parent_id</next>
|
48
|
<path>
|
49
|
<plantname>
|
50
|
<rank>binomial</rank>
|
51
|
<parent_id>
|
52
|
<plantname>
|
53
|
<rank>authority</rank>
|
54
|
<parent_id>
|
55
|
<plantname>
|
56
|
<rank>subspecies</rank>
|
57
|
<parent_id>
|
58
|
<plantname>
|
59
|
<rank>species</rank>
|
60
|
<plantname>$SpecificEpithet</plantname>
|
61
|
<parent_id>
|
62
|
<plantname>
|
63
|
<rank>genus</rank>
|
64
|
<plantname>$Genus</plantname>
|
65
|
<parent_id>
|
66
|
<plantname>
|
67
|
<rank>family</rank>
|
68
|
<plantname>$Family</plantname>
|
69
|
</plantname>
|
70
|
</parent_id>
|
71
|
</plantname>
|
72
|
</parent_id>
|
73
|
</plantname>
|
74
|
</parent_id>
|
75
|
</plantname>
|
76
|
</parent_id>
|
77
|
</plantname>
|
78
|
</parent_id>
|
79
|
</plantname>
|
80
|
</path>
|
81
|
</_simplifyPath>
|
82
|
</plantname_id>
|
83
|
</plantconcept>
|
84
|
</plantconcept_id>
|
85
|
</taxondetermination>
|
86
|
<verbatimcollectorname>$Collectors</verbatimcollectorname>
|
87
|
</taxonoccurrence>
|
88
|
</locationevent>
|
89
|
</location>
|
90
|
</VegBIEN>
|
91
|
Inserted 23 new rows into database
|