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