Revision 4324
Added by Aaron Marcuse-Kubitza almost 12 years ago
test.xml.ref | ||
---|---|---|
1 | 1 |
Put template: |
2 | 2 |
<VegBIEN> |
3 | 3 |
<location id="-1"> |
4 |
<parent_id><location><sourceaccessioncode>$PlotID</sourceaccessioncode></location></parent_id> |
|
4 | 5 |
<authorlocationcode>$QuadratName</authorlocationcode> |
5 |
<parent_id><location><sourceaccessioncode>$PlotID</sourceaccessioncode></location></parent_id> |
|
6 | 6 |
<sourceaccessioncode>$QuadratID</sourceaccessioncode> |
7 | 7 |
<sublocationxposition>$StartX</sublocationxposition> |
8 | 8 |
<sublocationyposition>$StartY</sublocationyposition> |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: Moved "if subplot" _if statement around /location/parent_id and /location/sourceaccessioncode themselves, so that only one _if cond mapping for subplot is needed. Note that this is only possible because this _if statement uses _exists, allowing it to be fully evaluated by the XML template simplifying mechanism, which supports subtrees as arguments to _if.