1
|
Put template:
|
2
|
<VegBIEN>
|
3
|
<_simplifyPath id="-1">
|
4
|
<next>parent_id</next>
|
5
|
<path>
|
6
|
<location>
|
7
|
<sourceaccessioncode>$plot_id</sourceaccessioncode>
|
8
|
<locationevent>
|
9
|
<method_id><method><name>$methodnarrative</name></method></method_id>
|
10
|
<project_id><project><sourceaccessioncode>$project_id</sourceaccessioncode></project></project_id>
|
11
|
<authoreventcode>$authorobscode</authoreventcode>
|
12
|
<sourceaccessioncode>$observation_id</sourceaccessioncode>
|
13
|
<obsenddate>$obsenddate</obsenddate>
|
14
|
<obsstartdate>$obsstartdate</obsstartdate>
|
15
|
<soilobs>
|
16
|
<basesaturation_fraction><_percent_to_fraction><value>$basesaturation</value></_percent_to_fraction></basesaturation_fraction>
|
17
|
<cationexchangecapacity_cmol_kg>$exchangecapacity</cationexchangecapacity_cmol_kg>
|
18
|
<clay_fraction><_percent_to_fraction><value>$soilclay</value></_percent_to_fraction></clay_fraction>
|
19
|
<organic_fraction><_percent_to_fraction><value>$soilorganic</value></_percent_to_fraction></organic_fraction>
|
20
|
<ph>$soilph</ph>
|
21
|
<sand_fraction><_percent_to_fraction><value>$soilsand</value></_percent_to_fraction></sand_fraction>
|
22
|
<silt_fraction><_percent_to_fraction><value>$soilsilt</value></_percent_to_fraction></silt_fraction>
|
23
|
<texture>$soiltexture</texture>
|
24
|
</soilobs>
|
25
|
</locationevent>
|
26
|
</location>
|
27
|
</path>
|
28
|
</_simplifyPath>
|
29
|
</VegBIEN>
|
30
|
Inserted 10 new rows into database
|