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><_date><date>$obsenddate</date></_date></obsenddate>
|
14
|
<obsstartdate><_date><date>$obsstartdate</date></_date></obsstartdate>
|
15
|
<soilobs>
|
16
|
<basesaturation_frac>$basesaturation</basesaturation_frac>
|
17
|
<cationexchangecapacity_cmol_kg>$exchangecapacity</cationexchangecapacity_cmol_kg>
|
18
|
<clay_frac>$soilclay</clay_frac>
|
19
|
<organic_frac>$soilorganic</organic_frac>
|
20
|
<ph>$soilph</ph>
|
21
|
<sand_frac>$soilsand</sand_frac>
|
22
|
<silt_frac>$soilsilt</silt_frac>
|
23
|
<texture>$soiltexture</texture>
|
24
|
</soilobs>
|
25
|
</locationevent>
|
26
|
</location>
|
27
|
</path>
|
28
|
</_simplifyPath>
|
29
|
</VegBIEN>
|
30
|
Inserted 9 new rows into database
|