Project

General

Profile

« Previous | Next » 

Revision 11749

inputs/CVS/: switched to new-style import, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource

View differences:

test.xml.ref
7 7
                <next>parent_id</next>
8 8
                <path>
9 9
                    <location>
10
                        <sourceaccessioncode>$PLOT_ID</sourceaccessioncode>
10
                        <sourceaccessioncode>$locationID</sourceaccessioncode>
11 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
                            <locationevent fkey="parent_id"><sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode></locationevent>
17
                            <obsenddate>$obsEndDate</obsenddate>
18
                            <obsstartdate>$obsStartDate</obsstartdate>
12
                            <method_id><method><name>$samplingProtocol</name></method></method_id>
13
                            <project_id><project><sourceaccessioncode>$projectID</sourceaccessioncode></project></project_id>
14
                            <authoreventcode>$authorEventCode</authoreventcode>
15
                            <sourceaccessioncode>$eventID</sourceaccessioncode>
16
                            <locationevent fkey="parent_id"><sourceaccessioncode>$eventID</sourceaccessioncode></locationevent>
17
                            <obsenddate>$endDate</obsenddate>
18
                            <obsstartdate>$startDate</obsstartdate>
19 19
                            <soilsample>
20
                                <basesaturation_fraction><_percent_to_fraction><value>$baseSaturation</value></_percent_to_fraction></basesaturation_fraction>
21
                                <cationexchangecapacity_cmol_kg>$exchangeCapacity</cationexchangecapacity_cmol_kg>
22
                                <clay_fraction><_percent_to_fraction><value>$soilClay</value></_percent_to_fraction></clay_fraction>
23
                                <organic_fraction><_percent_to_fraction><value>$soilOrganic</value></_percent_to_fraction></organic_fraction>
24
                                <ph>$soilPH</ph>
25
                                <sand_fraction><_percent_to_fraction><value>$soilSand</value></_percent_to_fraction></sand_fraction>
26
                                <silt_fraction><_percent_to_fraction><value>$soilSilt</value></_percent_to_fraction></silt_fraction>
27
                                <texture>$soilTexture</texture>
20
                                <basesaturation_fraction><_percent_to_fraction><value>$baseSaturation_percent</value></_percent_to_fraction></basesaturation_fraction>
21
                                <cationexchangecapacity_cmol_kg>$cationExchangeCapacity_cmol_kg</cationexchangecapacity_cmol_kg>
22
                                <clay_fraction><_percent_to_fraction><value>$clay_percent</value></_percent_to_fraction></clay_fraction>
23
                                <organic_fraction><_percent_to_fraction><value>$organic_percent</value></_percent_to_fraction></organic_fraction>
24
                                <ph>$ph</ph>
25
                                <sand_fraction><_percent_to_fraction><value>$sand_percent</value></_percent_to_fraction></sand_fraction>
26
                                <silt_fraction><_percent_to_fraction><value>$silt_percent</value></_percent_to_fraction></silt_fraction>
27
                                <texture>$texture</texture>
28 28
                            </soilsample>
29 29
                        </locationevent>
30 30
                    </location>

Also available in: Unified diff