Revision 6403
Added by Aaron Marcuse-Kubitza over 11 years ago
test.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 |
<_simplifyPath id="-1"> |
|
4 |
<next>parent_id</next> |
|
3 |
<_setDefault id="-1"> |
|
4 |
<col>source_id</col> |
|
5 |
<value><source><shortname>CTFS</shortname></source></value> |
|
5 | 6 |
<path> |
6 |
<location> |
|
7 |
<parent_id><location><sourceaccessioncode>$PlotID</sourceaccessioncode></location></parent_id> |
|
8 |
<authorlocationcode>$QuadratID</authorlocationcode> |
|
9 |
<sourceaccessioncode> |
|
10 |
<_join> |
|
11 |
<1>$PlotID</1> |
|
12 |
<2>$QuadratID</2> |
|
13 |
</_join> |
|
14 |
</sourceaccessioncode> |
|
15 |
<sublocationxposition_m>$StartX</sublocationxposition_m> |
|
16 |
<sublocationyposition_m>$StartY</sublocationyposition_m> |
|
17 |
</location> |
|
7 |
<_simplifyPath> |
|
8 |
<next>parent_id</next> |
|
9 |
<path> |
|
10 |
<location> |
|
11 |
<parent_id><location><sourceaccessioncode>$PlotID</sourceaccessioncode></location></parent_id> |
|
12 |
<authorlocationcode>$QuadratID</authorlocationcode> |
|
13 |
<sourceaccessioncode> |
|
14 |
<_join> |
|
15 |
<1>$PlotID</1> |
|
16 |
<2>$QuadratID</2> |
|
17 |
</_join> |
|
18 |
</sourceaccessioncode> |
|
19 |
<sublocationxposition_m>$StartX</sublocationxposition_m> |
|
20 |
<sublocationyposition_m>$StartY</sublocationyposition_m> |
|
21 |
</location> |
|
22 |
</path> |
|
23 |
</_simplifyPath> |
|
18 | 24 |
</path> |
19 |
</_simplifyPath>
|
|
25 |
</_setDefault>
|
|
20 | 26 |
</VegBIEN> |
21 | 27 |
Inserted 5 new rows into database |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: Set the source_id col_default to the datasource name using the new _setDefault() built-in function and _env()