1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<location id="-1">
|
4
|
<sourceaccessioncode>$plot_id</sourceaccessioncode>
|
5
|
<locationevent>
|
6
|
<method_id><method><name>$methodnarrative</name></method></method_id>
|
7
|
<project_id><project><sourceaccessioncode>$project_id</sourceaccessioncode></project></project_id>
|
8
|
<authoreventcode>$authorobscode</authoreventcode>
|
9
|
<sourceaccessioncode>$observation_id</sourceaccessioncode>
|
10
|
<obsenddate><_date><date><_dateRangeEnd><value>$obsenddate</value></_dateRangeEnd></date></_date></obsenddate>
|
11
|
<obsstartdate><_date><date><_dateRangeStart><value>$obsstartdate</value></_dateRangeStart></date></_date></obsstartdate>
|
12
|
<soilobs>
|
13
|
<basesaturation>$basesaturation</basesaturation>
|
14
|
<cationexchangecapacity>$exchangecapacity</cationexchangecapacity>
|
15
|
<clay>$soilclay</clay>
|
16
|
<organic>$soilorganic</organic>
|
17
|
<ph>$soilph</ph>
|
18
|
<sand>$soilsand</sand>
|
19
|
<silt>$soilsilt</silt>
|
20
|
<texture>$soiltexture</texture>
|
21
|
</soilobs>
|
22
|
</locationevent>
|
23
|
</location>
|
24
|
</VegBIEN>
|
25
|
Inserted 9 new rows into database
|